[vlc-devel] [PATCH v2 0/2] vlc_arrays: refactor foreach loop

Romain Vimont rom1v at videolabs.io
Tue Aug 28 15:13:51 CEST 2018


This is exactly the same as v1, but split into two patches:
 1. use a single ARRAY_FOREACH() macro
 2. rename the iteration variable to avoid warnings

Romain Vimont (2):
  vlc_arrays: refactor foreach loop
  vlc_arrays: avoid variable shadowing warnings

 include/vlc_arrays.h                          |  14 +-
 modules/control/hotkeys.c                     |   6 +-
 .../gui/macosx/VLCExtensionsDialogProvider.m  |   3 +-
 modules/gui/macosx/VLCExtensionsManager.m     |  12 +-
 modules/gui/qt/dialogs/extensions.cpp         |   3 +-
 modules/gui/qt/dialogs/plugins.cpp            |   9 +-
 modules/gui/qt/extensions_manager.cpp         |  12 +-
 modules/lua/extension.c                       |   3 +-
 modules/lua/libs/dialog.c                     |   6 +-
 modules/misc/addons/fsstorage.c               | 178 +++++++++---------
 modules/misc/addons/vorepository.c            |   6 +-
 src/misc/addons.c                             |  35 ++--
 src/misc/events.c                             |  18 +-
 src/test/arrays.c                             |   5 +-
 14 files changed, 155 insertions(+), 155 deletions(-)

-- 
2.18.0



More information about the vlc-devel mailing list