summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-04 19:29:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:07 -0500
commit227ba79af9a65f21c7254c51196fe21e029931b4 (patch)
treeb7fb25d69836a3c583b852ee25e0001ea6ec7189
parentfeb4e7fe4d2c5517261360f24384ceb712559d01 (diff)
downloadsamba-227ba79af9a65f21c7254c51196fe21e029931b4.tar.gz
samba-227ba79af9a65f21c7254c51196fe21e029931b4.tar.bz2
samba-227ba79af9a65f21c7254c51196fe21e029931b4.zip
r23342: Stop Coverity from getting confused.
Jeremy. (This used to be commit 34144c63ad0d776c0b01f6bd3ce378921f2d31cd)
-rw-r--r--source3/rpc_parse/parse_prs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 458eee200a..e21f517974 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -1094,6 +1094,9 @@ BOOL prs_string2(BOOL charmode, const char *name, prs_struct *ps, int depth, STR
return False;
} else {
str->buffer = NULL;
+ /* Return early to ensure Coverity isn't confused. */
+ DEBUG(5,("%s%04x %s: \n", tab_depth(depth), ps->data_offset, name));
+ return True;
}
}