From f103e0c39f9f93b765a9cdb93a7600a1f6f06315 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 31 May 2011 13:24:09 +0200 Subject: s3: fix more -Wunused-but-set-variable build warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104 --- source3/lib/util_str.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/lib') 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) { -- cgit