]> code.delx.au - pulseaudio/blobdiff - src/tests/stripnul.c
tests: modify rtpoll-test to use 'check' framework
[pulseaudio] / src / tests / stripnul.c
index 2b8aa08364967e3f5b13ea467c2ee52cdc8ae30c..d677ad2029a500cb96a533cbee1e2924f89bfc13 100644 (file)
@@ -3,7 +3,7 @@
 
   PulseAudio is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published
-  by the Free Software Foundation; either version 2 of the License,
+  by the Free Software Foundation; either version 2.1 of the License,
   or (at your option) any later version.
 
   PulseAudio is distributed in the hope that it will be useful, but
@@ -31,7 +31,7 @@
 int main(int argc, char *argv[]) {
     FILE *i, *o;
     size_t granularity;
-    pa_bool_t found;
+    pa_bool_t found = FALSE;
     uint8_t *zero;
 
     pa_assert_se(argc >= 2);