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:
parent
446791c6bf
commit
4487f26815
@ -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] = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user