summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-12 10:44:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:18 -0500
commitf5fe12d71c02d81ce4cecfb5552cef74c62f291e (patch)
tree976b206ac9051974b5402cc0d74ef426b75e4b95
parentff122b308bf4ad9115ebfe1d292051c3c5ecbb78 (diff)
downloadsamba-f5fe12d71c02d81ce4cecfb5552cef74c62f291e.tar.gz
samba-f5fe12d71c02d81ce4cecfb5552cef74c62f291e.tar.bz2
samba-f5fe12d71c02d81ce4cecfb5552cef74c62f291e.zip
r14232: Fix Coverity Bug # 218
(This used to be commit 932d769a32748695cfff4c761422feb2ef15acbb)
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index dcd5e35972..cdf6838974 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -3740,7 +3740,7 @@ BOOL make_spoolss_q_setprinter(TALLOC_CTX *mem_ctx, SPOOL_Q_SETPRINTER *q_u,
q_u->level = level;
q_u->info.level = level;
- q_u->info.info_ptr = (info != NULL) ? 1 : 0;
+ q_u->info.info_ptr = 1; /* Info is != NULL, see above */
switch (level) {
/* There's no such thing as a setprinter level 1 */