libretro / bsnes-mercury

Fork of bsnes with various performance improvements.
GNU General Public License v3.0
47 stars 40 forks source link

Remove unused variable #39

Closed orbea closed 7 years ago

orbea commented 7 years ago

If compiled with -Wall this silences a -Wunused-variable warning which is spammed.

In file included from ./nall/string/char.hpp:4:0,
                 from ./nall/string.hpp:27,
                 from ./nall/base64.hpp:5,
                 from ./emulator/emulator.hpp:22,
                 from ./processor/processor.hpp:4,
                 from processor/arm/arm.cpp:1:
./nall/string/char/compare.hpp: In function ‘bool nall::strbegin(const char*, const char*)’:
./nall/string/char/compare.hpp:31:7: warning: unused variable ‘i’ [-Wunused-variable]
   int i, ssl = strlen(str), ksl = strlen(key);
       ^