提交 a7d97200 编写于 作者: F freemine

compiler warning, workaround

上级 df73e693
......@@ -25,7 +25,6 @@
typedef struct todbc_string_s todbc_string_t;
struct todbc_string_s {
char enc[64];
// null if init failed because of internal resources shortage
const unsigned char *buf; // null-terminator inclusive
size_t total_bytes; // not counting null-terminator
......@@ -33,6 +32,9 @@ struct todbc_string_s {
// <= total_bytes
// truncated if < total_bytes
size_t bytes; // not counting null-terminator
// move here to satisfy todbc_string_t dummy = {0};
char enc[64];
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册