]> pd.if.org Git - zpackage/blobdiff - lib/integ.c
fix bugs reported by static analyzer
[zpackage] / lib / integ.c
index 81667eae77cee6ebd721fabd5d93b1d555a6217a..57e7d87936bfd29417587248c9acb01f674ef352 100644 (file)
@@ -127,6 +127,10 @@ static void hash_query(struct zpm *zpm, const char *zSql, struct sha256_state *h
                                        hash_byte(h, 'B');
                                        hash_int(h, bytes);
                                        break;
+                               default:
+                                       hash_byte(h, 'U');
+                                       continue;
+                                       break;
                        }
                        sha256_process(h, data, bytes);
                }