From: Stefan Huber Date: Sat, 24 Dec 2011 12:10:39 +0000 (+0100) Subject: remove warning X-Git-Tag: v1.0~1 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=b029419df2d4d175e9c4699489e239a1b66293a7;p=joydevmap.git remove warning --- diff --git a/src/main.c b/src/main.c index aa79461..dc57bd6 100644 --- a/src/main.c +++ b/src/main.c @@ -31,6 +31,7 @@ void reportMissingArgument(const char* opt) exit(EXIT_INVARG); } + void printHelp(FILE* out, int argc, char** argv) { (void) argc; @@ -314,8 +315,7 @@ int main(int argc, char** argv) int argListButtonmap=0; char* argSetAxismap=0; char* argSetButtonmap=0; - char* dev; - + char* dev=0; for(int i=1; i