yangzhg commented on a change in pull request #8069: URL: https://github.com/apache/incubator-doris/pull/8069#discussion_r810443650
########## File path: be/src/olap/decimal12.h ########## @@ -109,12 +109,16 @@ struct decimal12_t { integer = 999999999999999999; fraction = 999999999; } else { + int32_t f = 0; + int64_t i = 0; if (sepr == value_string) { - sscanf(value_string, ".%9d", &fraction); - integer = 0; + int32_t f = 0; Review comment: Because of clang warnings align -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org