remove the last of the windows W4 warnings

This commit is contained in:
Bill Hoffman 2009-11-12 10:17:55 -05:00
parent d91d04a47a
commit bd60a2469a
2 changed files with 4 additions and 2 deletions

View File

@ -237,7 +237,8 @@ hash(const char *p)
unsigned g, h = 0; unsigned g, h = 0;
while (*p != '\0') { while (*p != '\0') {
h = ( h << 4 ) + *p++; h = ( h << 4 ) + *p++;
if (( g = h & 0xF0000000 )) { g = h & 0xF0000000;
if (g) {
h ^= g >> 24; h ^= g >> 24;
h &= 0x0FFFFFFF; h &= 0x0FFFFFFF;
} }

View File

@ -284,7 +284,8 @@ archive_compressor_bzip2_finish(struct archive_write *a)
} }
/* Finish compression cycle. */ /* Finish compression cycle. */
if ((ret = drive_compressor(a, state, 1))) ret = drive_compressor(a, state, 1);
if (ret)
goto cleanup; goto cleanup;
/* Optionally, pad the final compressed block. */ /* Optionally, pad the final compressed block. */