1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s3: Fix Coverity ID 241961 Uninitialized scalar variable

This commit is contained in:
Volker Lendecke 2012-05-09 10:59:49 +02:00
parent 446791c6bf
commit 4487f26815

View File

@ -2614,6 +2614,8 @@ static WERROR cmd_spoolss_setprinterdata(struct rpc_pipe_client *cli,
int i, num_strings;
const char **strings = NULL;
num_strings = 0;
for (i=4; i<argc; i++) {
if (strcmp(argv[i], "NULL") == 0) {
argv[i] = "";