- init checksum type to zero (just in case)
authorMichael Schroeder <mls@suse.de>
Thu, 20 Mar 2008 14:57:21 +0000 (14:57 +0000)
committerMichael Schroeder <mls@suse.de>
Thu, 20 Mar 2008 14:57:21 +0000 (14:57 +0000)
src/solvable.c

index 6cb2fca..f346ea1 100644 (file)
@@ -205,6 +205,7 @@ solvable_lookup_bin_checksum(Solvable *s, Id keyname, Id *typep)
   Repodata *data;
   int i, j, n;
 
+  *typep = 0;
   if (!repo)
     return 0;
   pool = repo->pool;