[pisa-src] r1193 - trunk/pairing/management.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Oct 2009 18:46:37 +0200

Author: tjansen
Date: Thu Oct 15 18:46:37 2009
New Revision: 1193

Log:
Fix a variable uninitialized warning.

This is my best guess after staring at the function for a while. result is
heavily used and in very weird ways in a function five times the height of
my screen pages.

Modified:
   trunk/pairing/management.c

Modified: trunk/pairing/management.c
==============================================================================
--- trunk/pairing/management.c  Thu Oct 15 18:30:35 2009        (r1192)
+++ trunk/pairing/management.c  Thu Oct 15 18:46:37 2009        (r1193)
@@ -346,7 +346,7 @@
  */
 int main(int argc, char *argv[])
 {
-    int result;
+    int result = 0;
 
     struct options options = { 0 };
     pisa_hitlist *hitlist_allowed_hosts = NULL;

Other related posts: