diff options
author | Venky Shankar <venky@gluster.com> | 2011-04-11 05:48:36 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-11 23:50:28 -0700 |
commit | 2a6598646824da9d6a957fb5b3e4c6bb40fb6835 (patch) | |
tree | 2a432e056f4803967569f58f2d70e9c63e2ef306 /xlators/lib/src | |
parent | cfd85789c44ce3f88d6bf87d7b0a47dafb8c6d57 (diff) |
build fixes
Signed-off-by: Venky Shankar <venky@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2550 (build warnings)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2550
Diffstat (limited to 'xlators/lib/src')
-rw-r--r-- | xlators/lib/src/libxlator.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xlators/lib/src/libxlator.c b/xlators/lib/src/libxlator.c index bd0e11d2134..3991d80ff09 100644 --- a/xlators/lib/src/libxlator.c +++ b/xlators/lib/src/libxlator.c @@ -45,13 +45,13 @@ cluster_markerxtime_cbk (call_frame_t *frame, void *cookie, xlator_t *this, { - int32_t callcnt = 0; - int ret = -1; - uint32_t *net_timebuf; - uint32_t host_timebuf[2]; - char *marker_xattr; - struct marker_str *local; - char *vol_uuid; + int32_t callcnt = 0; + int ret = -1; + uint32_t *net_timebuf = NULL; + uint32_t host_timebuf[2] = {0,}; + char *marker_xattr = NULL; + struct marker_str *local = NULL; + char *vol_uuid = NULL; if (!this || !frame || !frame->local || !cookie) { gf_log (this->name, GF_LOG_DEBUG, "possible NULL deref"); |