Skip to content
Snippets Groups Projects
Commit d3e454a8 authored by Bruce Richardson's avatar Bruce Richardson Committed by Thomas Monjalon
Browse files

cfgfile: fix read of empty file


If the file to be read by the cfgfile is empty, i.e. no configuration
data, but possibly comments present, the cfgfile should not mark the
last processed section (curr_section) as having N entries, since there
is no last processed section.

Signed-off-by: default avatarBruce Richardson <bruce.richardson@intel.com>
parent 8b27765d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment