compiler warnings
[carveJwlIkooP6JGAAIwe30JlM.git] / network_compression.h
index 6ef08f93f69cb7c9de0bc3b9825a0472a4b5ff50..d4e3655a2098d2c9092bf960fc05372a43d0839a 100644 (file)
@@ -28,7 +28,7 @@ static void bitpack_bytes( bitpack_ctx *ctx, u32 bytes, void *data ){
          if( index < ctx->buffer_len )
             ext[i] = ctx->buffer[index];
          else
-            ext[i] = 0x00;
+            return;
       }
    }
    ctx->bytes += bytes;