summaryrefslogtreecommitdiff
path: root/build/misc.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-29 10:21:45 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-29 10:21:45 +0300
commita2a6060a6cc55b040d500e94290009d9f76a220f (patch)
treeed4e713621002e19b2f310c5286a9c5d57b6ca75 /build/misc.c
parentb4bc5e778e14027dd6057276a353c32baa64bd97 (diff)
downloadlibrpm-tizen-a2a6060a6cc55b040d500e94290009d9f76a220f.tar.gz
librpm-tizen-a2a6060a6cc55b040d500e94290009d9f76a220f.tar.bz2
librpm-tizen-a2a6060a6cc55b040d500e94290009d9f76a220f.zip
Eliminate unused truncStringBuf() function
- This has been unused at least as far back as rpm 4.4 actually...
Diffstat (limited to 'build/misc.c')
-rw-r--r--build/misc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/build/misc.c b/build/misc.c
index d03070a6d..06fd11075 100644
--- a/build/misc.c
+++ b/build/misc.c
@@ -39,13 +39,6 @@ StringBuf freeStringBuf(StringBuf sb)
return sb;
}
-void truncStringBuf(StringBuf sb)
-{
- sb->buf[0] = '\0';
- sb->tail = sb->buf;
- sb->free = sb->allocated;
-}
-
void stripTrailingBlanksStringBuf(StringBuf sb)
{
while (sb->free != sb->allocated) {