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:
@@ -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));
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user