summaryrefslogtreecommitdiff
path: root/lib/rpmchecksig.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-03-04 15:12:02 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-03-04 15:12:02 +0200
commit095e1ba71d28300a31bf411f1e9045bbb539a130 (patch)
tree7625323340972ab576f511a2b0f5100f3cc28b8f /lib/rpmchecksig.c
parentdc5fa254588be57a066ef4679c75e2bb3bda5fef (diff)
downloadrpm-095e1ba71d28300a31bf411f1e9045bbb539a130.tar.gz
rpm-095e1ba71d28300a31bf411f1e9045bbb539a130.tar.bz2
rpm-095e1ba71d28300a31bf411f1e9045bbb539a130.zip
Condense "shut up gcc" switch-cases to just default no action case
Diffstat (limited to 'lib/rpmchecksig.c')
-rw-r--r--lib/rpmchecksig.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c
index f80222d82..485be84cc 100644
--- a/lib/rpmchecksig.c
+++ b/lib/rpmchecksig.c
@@ -282,17 +282,7 @@ static int rpmReSign(rpmts ts, QVA_t qva, ARGV_const_t argv)
case RPMSIGTAG_PGP:
xx = headerDel(sigh, RPMSIGTAG_RSA);
break;
- /* shut up gcc */
- case RPMSIGTAG_SHA1:
- case RPMSIGTAG_MD5:
- case RPMSIGTAG_LEMD5_1:
- case RPMSIGTAG_LEMD5_2:
- case RPMSIGTAG_BADSHA1_1:
- case RPMSIGTAG_BADSHA1_2:
- case RPMSIGTAG_PAYLOADSIZE:
- case RPMSIGTAG_LONGARCHIVESIZE:
- case RPMSIGTAG_SIZE:
- case RPMSIGTAG_LONGSIZE:
+ default:
break;
}