audk/ShellPkg/Library/UefiShellCommandLib
Sergei Dmitrouk eec44cdd00 ShellPkg/UefiShellCommandLib: suppress incorrect gcc warning
`Dupes` is used only if `Duplicates != NULL` and function is left if
allocation of memory for `Dupes` fails, so it can't be used
uninitialized.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3228
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Sergei Dmitrouk <sergei@posteo.net>
Message-Id: <20210511225616.5942-2-sergei@posteo.net>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2021-05-14 10:00:13 +00:00
..
ConsistMapping.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellCommandLib.c ShellPkg/UefiShellCommandLib: suppress incorrect gcc warning 2021-05-14 10:00:13 +00:00
UefiShellCommandLib.h ShellPkg/ShellCommandLib: add ShellSortFileList() 2021-01-19 18:23:28 +00:00
UefiShellCommandLib.inf ShellPkg/ShellCommandLib: add ShellSortFileList() 2021-01-19 18:23:28 +00:00