Completed rev 5498, which is a reaction on Coverity CID 21805.

This commit is contained in:
Thomas Schmitt 2015-10-23 12:12:26 +00:00
parent 1a6fd3ad95
commit 793157c26b
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.23.103324" #define Cdrskin_timestamP "2015.10.23.121415"

View File

@ -378,7 +378,7 @@ static int sg_exchange_scd_for_sr(char *fname, int flag)
static int sgio_log_cmd(unsigned char *cmd, int cmd_len, FILE *fp_in, int flag) static int sgio_log_cmd(unsigned char *cmd, int cmd_len, FILE *fp_in, int flag)
{ {
FILE *fp = fp_in; FILE *fp = fp_in;
int ret; int ret = 0;
/* >>> ts B11110 : move this into scsi_log_command() */ /* >>> ts B11110 : move this into scsi_log_command() */
if (fp == NULL && (burn_sg_log_scsi & 1)) { if (fp == NULL && (burn_sg_log_scsi & 1)) {