Commit 25939e31 authored by marko's avatar marko

branches/zip: row_raw_format(): Silence a GCC 4.4.2 warning

of possibly uninitialized variable format_in_hex.
parent 9ea180a1
......@@ -915,6 +915,10 @@ row_raw_format(
ret = row_raw_format_int(data, data_len, prtype,
buf, buf_size, &format_in_hex);
if (format_in_hex) {
goto format_in_hex;
}
break;
case DATA_CHAR:
case DATA_VARCHAR:
......@@ -923,14 +927,15 @@ row_raw_format(
ret = row_raw_format_str(data, data_len, prtype,
buf, buf_size, &format_in_hex);
if (format_in_hex) {
goto format_in_hex;
}
break;
/* XXX support more data types */
default:
format_in_hex = TRUE;
}
if (format_in_hex) {
format_in_hex:
if (UNIV_LIKELY(buf_size > 2)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment