From e0f9fa62ffcb45cd57ca3d082ba782a346ccae7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Wed, 10 Feb 2016 17:44:02 +0100 Subject: [PATCH] Fix coding style issues --- libhpcs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libhpcs.c b/libhpcs.c index 7d56eaa..1d733c2 100644 --- a/libhpcs.c +++ b/libhpcs.c @@ -167,7 +167,7 @@ enum HPCS_RetCode hpcs_read_mdata(const char* filename, struct HPCS_MeasuredData } } - switch (mdata->file_type) { + switch (mdata->file_type) { case HPCS_TYPE_CE_ANALOG: pret = read_signal(datafile, &mdata->data, &mdata->data_count, CE_WORK_PARAM_OLD_STEP, mdata->sampling_rate, gentype); break; @@ -193,13 +193,13 @@ enum HPCS_RetCode hpcs_read_mdata(const char* filename, struct HPCS_MeasuredData case HPCS_TYPE_UNKNOWN: ret = HPCS_E_UNKNOWN_TYPE; goto out; - } + } - if (pret != PARSE_OK) { + if (pret != PARSE_OK) { PR_DEBUG("Cannot parse data in the file\n"); ret = HPCS_E_PARSE_ERROR; - } - else + } + else ret = HPCS_OK; out: -- 2.43.5