summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-02-25 12:19:44 +0000
committerAlexander Bokovoy <ab@samba.org>2015-02-25 16:32:29 +0100
commita99a5a34a54082162f920fcccbe5561320a5d40a (patch)
tree32aaed96eb3eade5ad47ff0b4341914f3b5cd8cd /source3
parentb72cc326f67d2b19f247e14424adc46275b2db25 (diff)
downloadsamba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.gz
samba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.xz
samba-a99a5a34a54082162f920fcccbe5561320a5d40a.zip
Fix the developer O3 build
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Feb 25 16:32:29 CET 2015 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/regedit.c2
-rw-r--r--source3/utils/regedit_list.c2
-rw-r--r--source3/utils/smbfilter.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c
index bff23ec444..21437f4ca1 100644
--- a/source3/utils/regedit.c
+++ b/source3/utils/regedit.c
@@ -161,7 +161,7 @@ static void add_reg_key(struct regedit *regedit, struct tree_node *node,
if (name) {
WERROR rv;
struct registry_key *new_key;
- struct tree_node *new_node;
+ struct tree_node *new_node = NULL;
struct tree_node *list;
struct tree_node *parent;
diff --git a/source3/utils/regedit_list.c b/source3/utils/regedit_list.c
index c2b3705284..8ee2d5e95e 100644
--- a/source3/utils/regedit_list.c
+++ b/source3/utils/regedit_list.c
@@ -491,7 +491,7 @@ void multilist_refresh(struct multilist *list)
void multilist_driver(struct multilist *list, int c)
{
unsigned page;
- const void *tmp;
+ const void *tmp = NULL;
if (list->nrows == 0) {
return;
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index ff966a8c59..1f55ec82b4 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -85,7 +85,8 @@ static void filter_request(char *buf, size_t buf_len)
int type = CVAL(buf,smb_com);
unsigned x;
fstring name1,name2;
- int name_len1, name_len2;
+ int name_len1 = 0;
+ int name_len2;
int name_type1, name_type2;
if (msg_type) {