From f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Fri, 8 Jul 2016 00:32:28 +0200 Subject: Remove unused variables (fourth pass) + dead code Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33. --- core/ustring.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'core/ustring.cpp') diff --git a/core/ustring.cpp b/core/ustring.cpp index 3c22de35f..6788ada1b 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -3836,7 +3836,6 @@ String String::lpad(int min_length, const String& character) const { String String::sprintf(const Array& values, bool* error) const { String formatted; CharType* self = (CharType*)c_str(); - int num_items = values.size(); bool in_format = false; int value_index = 0; int min_chars; -- cgit v1.2.3-70-g09d2