]> sigrok.org Git - libsigrok.git/commit
sr_analog_to_float(): Fix multiple compiler warnings (-Wshadow).
authorUwe Hermann <redacted>
Wed, 16 May 2018 20:49:22 +0000 (22:49 +0200)
committerUwe Hermann <redacted>
Wed, 16 May 2018 21:57:58 +0000 (23:57 +0200)
commit0519db864bcf445ba22c9be632ac4f58bed67044
tree4bb29071f7a00c2b517a2ecaee1d5394a834f332
parent741bcf503dbfa6c282c17ad1898bcbc74cf63dc6
sr_analog_to_float(): Fix multiple compiler warnings (-Wshadow).

  src/analog.c:205:23: warning: declaration of ā€˜iā€™ shadows a previous local [-Wshadow]
       for (unsigned int i = 0; i < count; i++) {
                         ^
  src/analog.c:178:18: note: shadowed declaration is here
    unsigned int b, i, count;
                    ^
[...]
src/analog.c