susumu.yata
null+****@clear*****
Wed Nov 18 14:19:43 JST 2015
susumu.yata 2015-11-18 14:19:43 +0900 (Wed, 18 Nov 2015) New Revision: eeafbd27ebcea324e5d6d2b48ab9c677ebae7af4 https://github.com/groonga/groonga/commit/eeafbd27ebcea324e5d6d2b48ab9c677ebae7af4 Message: Don't use a variable as a format string to suppress a warning The warning is "format not a string literal and no format arguments". Modified files: lib/ctx.c Modified: lib/ctx.c (+1 -1) =================================================================== --- lib/ctx.c 2015-11-18 14:17:03 +0900 (88c88ed) +++ lib/ctx.c 2015-11-18 14:19:43 +0900 (5e7e6d8) @@ -207,7 +207,7 @@ grn_timeval2tm(grn_ctx *ctx, grn_timeval *tv, struct tm *tm_buffer) # endif /* HAVE_LOCALTIME_R */ #endif /* HAVE__LOCALTIME64_S */ if (!ltm) { - SERR(function_name); + SERR("%s", function_name); } return ltm; } -------------- next part -------------- HTML����������������������������...다운로드