Lose leftover variable, use const for s to clarify usage
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 23 Aug 2010 06:51:52 +0000 (09:51 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Aug 2010 08:40:25 +0000 (11:40 +0300)
build/pack.c

index a43ba52..e323f21 100644 (file)
@@ -354,11 +354,10 @@ rpmRC writeRPM(Header *hdrp, unsigned char ** pkgidp, const char *fileName,
     FD_t fd = NULL;
     FD_t ifd = NULL;
     ssize_t count;
-    rpmSigTag sigtag;
     char * sigtarget = NULL;;
     char * rpmio_flags = NULL;
     char * SHA1 = NULL;
-    char *s;
+    const char *s;
     char *buf = NULL;
     Header h;
     Header sig = NULL;