projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7f3e2
)
Silence compiler warning that bmp variable might be used uninitialized.
author
Heikki Linnakangas
<heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 20:01:57 +0000
(23:01 +0300)
committer
Heikki Linnakangas
<heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 20:01:57 +0000
(23:01 +0300)
It wasn't actually true, but apparently not all compiler versions were smart
enough to realize it.
qresult.c
patch
|
blob
|
blame
|
history
diff --git
a/qresult.c
b/qresult.c
index d791ed38a0f202cf7b0b7ef7c3c6358ac4642e16..363d1c80ee28ddc8c821b5865676a5f3abc94ff6 100644
(file)
--- a/
qresult.c
+++ b/
qresult.c
@@
-1498,7
+1498,7
@@
QR_read_a_tuple_from_db(QResultClass *self, char binary)
Int2 field_lf;
TupleField *this_tuplefield;
KeySet *this_keyset = NULL;
- char bmp,
+ char bmp
= 0
,
bitmap[MAX_FIELDS]; /* Max. len of the bitmap */
Int2 bitmaplen; /* len of the bitmap in bytes */
Int2 bitmap_pos;