Changeset: deaec68a43c0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=deaec68a43c0
Modified Files:
gdk/gdk_bbp.mx
Branch: Aug2011
Log Message:
initialize varilable to fix compilation with gcc-apple-4.2.1_p5666 on 64-bit
Darwin
Only gcc-apple-4.2.1_p5666 and only with 64-bit complained about
"gdk/gdk_bbp.mx:652: warning: ‘tvs’ may be used uninitialized in this function"
"gdk/gdk_bbp.mx:652: warning: ‘hvs’ may be used uninitialized in this function"
diffs (12 lines):
diff --git a/gdk/gdk_bbp.mx b/gdk/gdk_bbp.mx
--- a/gdk/gdk_bbp.mx
+++ b/gdk/gdk_bbp.mx
@@ -649,7 +649,7 @@ fixoidheap(void)
str nme, bnme;
long_str filename;
int ht, tt;
- char hs, hvs, ts, tvs; /* saved storage types */
+ char hs, hvs = '\0', ts, tvs = '\0'; /* saved storage types */
fprintf(stderr,
"# upgrading database from 32 bit OIDs to 64 bit OIDs\n");
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list