Suppress dummy gcc warnings in regex library code.

These warnings are harmless (variables are always initialized when they are
used) but they unfortunately prevent buildbot from reporting any new warnings
(which may not be harmless) during the library compilation step so suppress
them in the least intrusive way possible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-07 12:52:31 +00:00
parent 7f19ef40eb
commit ceed155e8a
2 changed files with 2 additions and 2 deletions

View File

@@ -569,7 +569,7 @@ chr *start;
struct arcp ap;
struct arcp lastap;
color co;
lastap.ss = NULL; lastap.co = 0; // WX: suppress dummy gcc warnings
ss = pickss(v, d, cp, start);
assert(!(ss->flags&LOCKED));

View File

@@ -360,7 +360,7 @@ struct colormap *cm;
freedfa(s);
return v->err;
}
cold = NULL;// WX: fix gcc warnings about cold being possibly uninitialized
ret = cfindloop(v, cnfa, cm, d, s, &cold);
freedfa(d);