[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4735 - Extractor/src/plugins/rpm
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4735 - Extractor/src/plugins/rpm |
Date: |
Thu, 29 Mar 2007 17:54:48 -0600 (MDT) |
Author: grothoff
Date: 2007-03-29 17:54:48 -0600 (Thu, 29 Mar 2007)
New Revision: 4735
Modified:
Extractor/src/plugins/rpm/rpmextractor.c
Log:
cleanup
Modified: Extractor/src/plugins/rpm/rpmextractor.c
===================================================================
--- Extractor/src/plugins/rpm/rpmextractor.c 2007-03-27 05:36:30 UTC (rev
4734)
+++ Extractor/src/plugins/rpm/rpmextractor.c 2007-03-29 23:54:48 UTC (rev
4735)
@@ -1184,7 +1184,7 @@
/**
*/
static void copyData(int_32 type, /address@hidden@*/ void * dstPtr, const void
* srcPtr,
- int_32 c, int dataLength)
+ int_32 c, int dataLengtha)
/address@hidden *dstPtr @*/
{
const char ** src;
@@ -1209,7 +1209,7 @@
break;
default:
- memmove(dstPtr, srcPtr, dataLength);
+ memmove(dstPtr, srcPtr, dataLengtha);
break;
}
}
@@ -1772,7 +1772,6 @@
{
indexEntry entry;
unsigned int size = 0;
- unsigned int pad = 0;
int i;
if (h == NULL)
@@ -1817,7 +1816,6 @@
diff = typeSizes[type] - (size % typeSizes[type]);
if (diff != typeSizes[type]) {
size += diff;
- pad += diff;
}
}
@@ -2132,7 +2130,6 @@
char * dataStart;
indexEntry entry;
int rdlen;
- int i;
/* Sanity checks on header intro. */
if (hdrchkTags(il) || hdrchkData(dl))
@@ -2170,7 +2167,6 @@
}
entry = h->index;
- i = 0;
if (!(htonl(pe->tag) < HEADER_I18NTABLE)) {
h->flags |= HEADERFLAG_LEGACY;
entry->info.type = REGION_TAG_TYPE;
@@ -2303,7 +2299,6 @@
/address@hidden fd @*/
{
int_32 block[4];
- int_32 reserved;
int_32 * ei = NULL;
int_32 il;
int_32 dl;
@@ -2328,7 +2323,7 @@
magic = block[i++];
if (memcmp(&magic, header_magic, sizeof(magic)))
goto exit;
- reserved = block[i++];
+ i++;
}
il = ntohl(block[i]); i++;
@@ -2889,7 +2884,6 @@
HeaderIterator hi;
int_32 tag, type, count;
const void * ptr;
- int xx;
/address@hidden@*/ /* FIX: undocumented modification of sig */
for (hi = headerInitIterator(sig);
@@ -2932,7 +2926,7 @@
}
if (ptr == NULL) continue; /* XXX can't happen */
if (!headerIsEntry(h, tag))
- xx = hae(h, tag, type, ptr, count);
+ hae(h, tag, type, ptr, count);
}
hi = headerFreeIterator(hi);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4735 - Extractor/src/plugins/rpm,
gnunet <=