From: Tim Kientzle Date: Sat, 1 Dec 2012 05:56:32 +0000 (-0800) Subject: Tweak a comment. X-Git-Tag: v3.1.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e00007f856622f56f416d31e1722106d10e60617;p=thirdparty%2Flibarchive.git Tweak a comment. --- diff --git a/tar/util.c b/tar/util.c index e311094eb..ff4cd4fc6 100644 --- a/tar/util.c +++ b/tar/util.c @@ -147,8 +147,8 @@ safe_fprintf(FILE *f, const char *fmt, ...) /* Note: mbrtowc() has a cleaner API, but mbtowc() seems a bit * more portable, so we use that here instead. */ if (mbtowc(NULL, NULL, 1) == -1) { /* Reset the shift state. */ - /* NOTE: This case may not happen, but it needs to be compiled - * safely without warnings by both gcc on linux and clang. */ + /* mbtowc() should never fail in practice, but + * handle the theoretical error anyway. */ free(fmtbuff_heap); return; }