Squelch this warning:
authorReid Spencer <rspencer@reidspencer.com>
Wed, 31 May 2006 21:53:42 +0000 (21:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 31 May 2006 21:53:42 +0000 (21:53 +0000)
/bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO
C89 compilers are required to support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28602 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/bzip2/bzlib.c

index ab3592901756d0f03623ea0be8611157fcdb6342..ff3cd16158a602833858a276c45f14cc68daa87b 100644 (file)
@@ -108,6 +108,8 @@ void BZ2_bz__AssertH__fail ( int errcode )
       "memory reads/writes, and so acts (unintendedly) as a stress\n"
       "test of your memory system.\n"
       "\n"
+   );
+   fprintf(stderr,
       "I suggest the following: try compressing the file again,\n"
       "possibly monitoring progress in detail with the -vv flag.\n"
       "\n"
@@ -118,6 +120,8 @@ void BZ2_bz__AssertH__fail ( int errcode )
       "  Memtest86 tests memory much more thorougly than your BIOSs\n"
       "  power-on test, and may find failures that the BIOS doesn't.\n"
       "\n"
+   );
+   fprintf(stderr,
       "* If the error can be repeatably reproduced, this is a bug in\n"
       "  bzip2, and I would very much like to hear about it.  Please\n"
       "  let me know, and, ideally, save a copy of the file causing the\n"