summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-31 13:24:09 +0200
committerGünther Deschner <gd@samba.org>2011-06-01 00:29:30 +0200
commitf103e0c39f9f93b765a9cdb93a7600a1f6f06315 (patch)
tree8038484244be70fe325bcdce9b6ed0cfc4240a1a /source3/lib
parentb9a727c5f17c96138698a06e8c894387531e82b2 (diff)
downloadsamba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.gz
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.bz2
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.zip
s3: fix more -Wunused-but-set-variable build warnings.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 2a853c3d1a..f039a3a522 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -868,7 +868,6 @@ uint64_t STR_TO_SMB_BIG_UINT(const char *nptr, const char **entptr)
*/
uint64_t conv_str_size(const char * str)
{
- uint64_t lval_orig;
uint64_t lval;
char * end;
@@ -886,8 +885,6 @@ uint64_t conv_str_size(const char * str)
return lval;
}
- lval_orig = lval;
-
if (strwicmp(end, "K") == 0) {
lval *= 1024ULL;
} else if (strwicmp(end, "M") == 0) {