stop a warning when compiling util/stripbs.c
This commit is contained in:
@@ -12,7 +12,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
#if defined(__GNUC__)
|
||||||
|
#define UNUSED __attribute__((unused))
|
||||||
|
#else
|
||||||
|
#define UNUSED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main(int argc UNUSED, char *argv[] UNUSED)
|
||||||
{
|
{
|
||||||
int stop = 0, trouble = 0;
|
int stop = 0, trouble = 0;
|
||||||
char buf[2];
|
char buf[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user