diff options
author | patthoyts <patthoyts@noemail.net> | 2009-03-03 23:54:10 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2009-03-03 23:54:10 (GMT) |
commit | b89a5c1ab0d3dfa016b4028769cb693aab1c2b26 (patch) | |
tree | 2150e64df587ef3521125c107097d1e3a3d81c9d /generic/tkFileFilter.c | |
parent | 6bc3d9d11a28b23b74e92ea1fb02586c414ff191 (diff) | |
download | tk-b89a5c1ab0d3dfa016b4028769cb693aab1c2b26.zip tk-b89a5c1ab0d3dfa016b4028769cb693aab1c2b26.tar.gz tk-b89a5c1ab0d3dfa016b4028769cb693aab1c2b26.tar.bz2 |
Backported some fixes for uninitialized variables identified by das using clang analysis.
FossilOrigin-Name: 62c082c99b822eff86265c687ba47ecb98ecc521
Diffstat (limited to 'generic/tkFileFilter.c')
-rw-r--r-- | generic/tkFileFilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFileFilter.c b/generic/tkFileFilter.c index 06e63d6..21e6a93 100644 --- a/generic/tkFileFilter.c +++ b/generic/tkFileFilter.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkFileFilter.c,v 1.10 2007/05/09 12:51:30 das Exp $ + * RCS: @(#) $Id: tkFileFilter.c,v 1.10.4.1 2009/03/03 23:54:11 patthoyts Exp $ */ #include "tkInt.h" @@ -338,7 +338,7 @@ AddClause( globPtr->next = NULL; } } - if (ostypeCount > 0 && ostypeList != NULL) { + if (ostypeList != NULL && ostypeCount > 0) { if (macRoman == NULL) { macRoman = Tcl_GetEncoding(NULL, "macRoman"); } |