diff options
author | Monty <monty@mariadb.org> | 2019-04-19 13:15:46 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-04-19 13:17:14 +0300 |
commit | a024649081412c58039b19998a26937ade2796f8 (patch) | |
tree | b6d7c0902a81d8efc5f4f2a9b9166e14ccc13325 /storage/connect/value.cpp | |
parent | 4233b28489826ffeebcc828aa6eb171d6f57ccdb (diff) | |
download | mariadb-git-a024649081412c58039b19998a26937ade2796f8.tar.gz |
Fixed compiler warnings form gcc 7.3.1
Diffstat (limited to 'storage/connect/value.cpp')
-rw-r--r-- | storage/connect/value.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index e159efaa989..ac1a67e3ca7 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -2599,12 +2599,13 @@ bool DTVAL::MakeDate(PGLOBAL g, int *val, int nval) // Pass g to have an error return or NULL to set invalid dates to 0 if (MakeTime(&datm)) + { if (g) { strcpy(g->Message, MSG(BAD_DATETIME)); rc = true; } else Tval = 0; - + } return rc; } // end of MakeDate |