From cb7db6381f98ee0528ad9f7071c2d36f912e208a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 19 Jun 2011 13:20:46 +0000 Subject: [PATCH] drivertool: fix compiler warnings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1548 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e7b01e7da5613faa89b4dc8e5df0a1fb376c3550 Author: Stefan Seyfried Date: 2011-06-19 (Sun, 19 Jun 2011) ------------------ This commit was generated by Migit --- src/drivertool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivertool.c b/src/drivertool.c index 13575dd1c..5eceda5fc 100644 --- a/src/drivertool.c +++ b/src/drivertool.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -181,7 +182,7 @@ int main(int argc, char **argv) if (argv[1][0] == '-') { - ir_protocol_t p; + ir_protocol_t p = IR_PROTOCOL_UNKNOWN; switch (argv[1][1]) {