-
由 Colin Ian King 提交于
Using strncmp for a single character comparison is overly complicated, just use a simpler single character comparison instead. Also stops static analyzers (such as cppcheck) from complaining about strncmp on non-null terminated strings. Signed-off-by: NColin Ian King <colin.i.king@gmail.com> Signed-off-by: NLen Brown <len.brown@intel.com>
e13da9a1