Fix indentation and style issues in fm-common/fmConfig.cpp

Indentation issues were solve for `fmConfig.cpp`. The cpplint
command below doesn't show issues.

$ cpplint \
--filter=-readability/casting,-runtime/references \
fmConfig.cpp

The filtered out checks may introduce functionality changes so those
weren't fixed in this patch but planned for later phase.

Story: 2006425
Task: 36735

Change-Id: Icbc9dd26a3f0cb0ee4e16bba715fa0e57ab4b61f
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
This commit is contained in:
Erich Cordoba 2019-09-20 06:55:11 -05:00
parent 206e5c4745
commit a6000b1f3b
1 changed files with 53 additions and 54 deletions

View File

@ -22,8 +22,7 @@ typedef std::map<std::string,std::string> configParams;
static const char *conf = NULL;
static int config_loaded = false;
std::string trim(std::string str)
{
std::string trim(std::string str) {
if (str.length() == 0) {
return str;
}