Remove obvious empty statements (i.e. stray semicolons)
This commit is contained in:
@@ -186,13 +186,13 @@ METHOD(recommendations_t, have_recommendation, bool,
|
||||
if (final_rec != TNC_IMV_ACTION_RECOMMENDATION_ALLOW)
|
||||
{
|
||||
final_rec = entry->rec;
|
||||
};
|
||||
}
|
||||
break;
|
||||
case TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS:
|
||||
if (final_rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
|
||||
{
|
||||
final_rec = entry->rec;
|
||||
};
|
||||
}
|
||||
break;
|
||||
case TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION:
|
||||
break;
|
||||
|
||||
@@ -109,7 +109,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
|
||||
reader->destroy(reader);
|
||||
*offset = 0;
|
||||
return FAILED;
|
||||
};
|
||||
}
|
||||
this->reason_string = chunk_clone(this->reason_string);
|
||||
|
||||
if (this->reason_string.len &&
|
||||
@@ -127,7 +127,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
|
||||
reader->destroy(reader);
|
||||
*offset = 4 + this->reason_string.len;
|
||||
return FAILED;
|
||||
};
|
||||
}
|
||||
this->language_code = chunk_clone(this->language_code);
|
||||
reader->destroy(reader);
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
|
||||
{
|
||||
DBG1(DBG_TNC, "insufficient data for remediation string");
|
||||
goto end;
|
||||
};
|
||||
}
|
||||
*offset += 4;
|
||||
|
||||
pos = memchr(this->string.ptr, '\0', this->string.len);
|
||||
@@ -170,7 +170,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
|
||||
{
|
||||
DBG1(DBG_TNC, "insufficient data for remediation string lang code");
|
||||
goto end;
|
||||
};
|
||||
}
|
||||
*offset += 1;
|
||||
|
||||
pos = memchr(this->lang_code.ptr, '\0', this->lang_code.len);
|
||||
|
||||
Reference in New Issue
Block a user