Kaydet (Commit) bfd17da0 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1157757 Logically dead code

must have meant deviceScoreStart here

Change-Id: I24530d0674e0a9de373bf54cfc3e3ae5ff124752
üst af34f26e
...@@ -551,7 +551,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer ...@@ -551,7 +551,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
{ {
deviceScoreStart = findString(dataStart, contentEnd, DS_TAG_SCORE); deviceScoreStart = findString(dataStart, contentEnd, DS_TAG_SCORE);
if (deviceNameStart == NULL) if (deviceScoreStart == NULL)
{ {
status = DS_PROFILE_FILE_ERROR; status = DS_PROFILE_FILE_ERROR;
goto cleanup; goto cleanup;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment