I used PVS-Studio static analyzer to check this project. I would like to suggest...
authorIlya <DieselMachine84@users.noreply.github.com>
Thu, 23 Mar 2017 13:58:18 +0000 (16:58 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 23 Mar 2017 13:58:18 +0000 (14:58 +0100)
commit5bcd08108f522524741805d97989e5f227a6bd6b
tree42ca9fd9696051879281b661124b56fa7065559b
parentf0bafd7833fc46378971398db518de4f6aa4f8cb
I used PVS-Studio static analyzer to check this project. I would like to suggest a variant of the way to fix the error, detected with the help of V534 diagnostic. Description of the diagnostic: https://viva64.com/en/examples/v534/ (#10414)

Incorrect variable 'i' from the outer loop is used in condition of the inner loop.
src/tools/metainfo/mdinfo.cpp