]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
solv_pgpvrfy: simplify mpdec() a bit
authorMichael Schroeder <mls@suse.de>
Sun, 17 May 2020 16:15:59 +0000 (18:15 +0200)
committerMichael Schroeder <mls@suse.de>
Sun, 17 May 2020 16:15:59 +0000 (18:15 +0200)
ext/solv_pgpvrfy.c

index 8a5b2353032f8bc37fddf5dd161ac10d930bebcc..adfa56e1b8d9cc6a43f19df4ccc3c6badd0d861c 100644 (file)
@@ -274,8 +274,6 @@ mpdec(int len, mp_t *a)
   for (i = 0; i < len; i++)
     if (a[i]--)
       return;
-    else
-      a[i] = -(mp_t)1;
 }
 
 static int