[padb] r390 committed - Initialise a variable to NULL before first use.

padb at googlecode.com padb at googlecode.com
Mon Feb 15 18:41:44 GMT 2010


Revision: 390
Author: apittman
Date: Mon Feb 15 10:41:29 2010
Log: Initialise a variable to NULL before first use.

http://code.google.com/p/padb/source/detail?r=390

Modified:
  /trunk/src/minfo.c

=======================================
--- /trunk/src/minfo.c	Tue Dec 22 12:03:45 2009
+++ /trunk/src/minfo.c	Mon Feb 15 10:41:29 2010
@@ -328,7 +328,7 @@
      int i;
      char *local = base;

-    char *ptr;
+    char *ptr = NULL;
      if ( size == 0 )
  	return mqs_ok;





More information about the padb-devel mailing list