3 Silence gcc
4.5 warnings about uninitialized variables
.
5 --- source
/textDrag
.c
~ 2004-07-21 11:32:05.000000000 +0000
7 @@
-188,6 +188,10 @@
void BlockDragSelection(TextWidget tw
, i
8 if (tw
->text
.dragState
!= PRIMARY_BLOCK_DRAG
)
11 + /* gcc 4.5 warns that these are uninitialized, not clear if it's right */
12 + tempModRangeEnd
= -1;
13 + bufModRangeEnd
= -1;
15 /* The operation of block dragging is simple in theory, but not so simple
16 in practice. There is a backup buffer (tw->text.dragOrigBuf) which
17 holds a copy of the buffer as it existed before the drag. When the