WebUI - Coverity: fix identical branches of if statement

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Pavel Vomacka authored and Martin Basti committed 2017-04-25 12:23:12 +02:00
1 parent 5ba7957450
commit 01516e58c8
1 file changed
+1 -5
+1 -5
View File
@@ -379,11 +379,7 @@ vault.public_key_widget = function(spec) {
status = String.fromCharCode(decimal_check_i);
}
} else {
if (!value || value === '') {
status = text.get('@i18n:objects.publickey.status_new_ns');
} else {
status = text.get('@i18n:objects.publickey.status_new_ns');
}
status = text.get('@i18n:objects.publickey.status_new_ns');
}
return status;