[client] removed unnecessary array NULL check found by Coverity
This commit is contained in:
parent
9046acaf22
commit
add518016c
@ -1347,8 +1347,7 @@ validate_options(fko_cli_options_t *options)
|
|||||||
*/
|
*/
|
||||||
if(options->use_gpg)
|
if(options->use_gpg)
|
||||||
{
|
{
|
||||||
if(options->gpg_recipient_key == NULL
|
if(strlen(options->gpg_recipient_key) == 0)
|
||||||
|| strlen(options->gpg_recipient_key) == 0)
|
|
||||||
{
|
{
|
||||||
log_msg(LOG_VERBOSITY_ERROR,
|
log_msg(LOG_VERBOSITY_ERROR,
|
||||||
"Must specify --gpg-recipient-key when GPG is used.");
|
"Must specify --gpg-recipient-key when GPG is used.");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user