selOps.c: warning: variable 'type' is used uninitialized
selOps.c:1942:11: warning: variable 'type' is used uninitialized whenever 'if' condition is false clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
parent
3919cc5b63
commit
fa3a01c486
|
|
@ -1942,6 +1942,8 @@ selStretchFillFunc3(tile, area)
|
|||
else if (selStretchY < 0)
|
||||
type = (SplitDirection(tile) ? SplitLeftType(tile) :
|
||||
SplitRightType(tile));
|
||||
else
|
||||
type = TT_SPACE;
|
||||
if (type == TT_SPACE) return 0; /* nothing to stretch */
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue