summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-19 17:58:53 +0200
committerVolker Lendecke <vl@samba.org>2008-04-19 17:56:35 +0200
commite7f2dc98890b34211b005ad04ad1557157fdaa5b (patch)
tree6bc6e47a63d334d6672a2dc7e16bcb99738e1376 /source3
parent9ccbef219c9a4f6fe6c67a6806835659e47dd2ac (diff)
downloadsamba-e7f2dc98890b34211b005ad04ad1557157fdaa5b.tar.gz
samba-e7f2dc98890b34211b005ad04ad1557157fdaa5b.tar.bz2
samba-e7f2dc98890b34211b005ad04ad1557157fdaa5b.zip
Fix a bogus uninitialized variable warning in IDL-based nbt code
(This used to be commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4)
Diffstat (limited to 'source3')
-rw-r--r--source3/libcli/nbt/nbtname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libcli/nbt/nbtname.c b/source3/libcli/nbt/nbtname.c
index 5aff15bb45..2025ef70e7 100644
--- a/source3/libcli/nbt/nbtname.c
+++ b/source3/libcli/nbt/nbtname.c
@@ -110,7 +110,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_nbt_string(struct ndr_pull *ndr, int ndr_fla
/* break up name into a list of components */
for (num_components=0;num_components<MAX_COMPONENTS;num_components++) {
- uint8_t *component;
+ uint8_t *component = NULL;
NDR_CHECK(ndr_pull_component(ndr, &component, &offset, &max_offset));
if (component == NULL) break;
if (name) {