[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-57-g3a4198b

Stefan Metzmacher metze at samba.org
Tue Jun 10 07:20:44 GMT 2008


The branch, v4-0-test has been updated
       via  3a4198b1181d6b97804afebbb91dac5a8242f615 (commit)
       via  4933cd49ac81454cbd4b0fc33d888585a9437b9d (commit)
      from  5b01206f1bb2e62c08bda34b45904ec4f83ac5de (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 3a4198b1181d6b97804afebbb91dac5a8242f615
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Dec 21 12:11:23 2007 -0800

    Fix initialization warnings.
    Jeremy.
    (cherry picked from commit 832c093830cb3978641be3d87670fa900105da25)

commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jun 10 09:13:08 2008 +0200

    Some C++ warnings
    (partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/lib/socket_wrapper/socket_wrapper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/socket_wrapper/socket_wrapper.c b/source/lib/socket_wrapper/socket_wrapper.c
index 981df52..336179d 100644
--- a/source/lib/socket_wrapper/socket_wrapper.c
+++ b/source/lib/socket_wrapper/socket_wrapper.c
@@ -697,8 +697,8 @@ static const char *socket_wrapper_pcap_file(void)
 {
 	static int initialized = 0;
 	static const char *s = NULL;
-	static const struct swrap_file_hdr h;
-	static const struct swrap_packet p;
+	static const struct swrap_file_hdr h = { 0, };
+	static const struct swrap_packet p = { { 0, }, { { 0, }, { { 0, } } } };
 
 	if (initialized == 1) {
 		return s;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list