Skip to content

Commit

Permalink
Fixing vaargs usahe
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Sep 3, 2024
1 parent 9cb52b3 commit 880e91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <fcntl.h>
#include <poll.h>

#define DEBUG_PRINT(...) Fw::Logger::log(##__VA_ARGS__)
#define DEBUG_PRINT(...) Fw::Logger::log(__VA_ARGS__)

Check notice

Code scanning / CodeQL

Undisciplined macro Note

The macro DEBUG_PRINT(__VA_ARGS__...) is variadic, and hence not allowed.

namespace Drv {

Expand Down

0 comments on commit 880e91b

Please sign in to comment.