summaryrefslogtreecommitdiffstats
path: root/xlators/performance/read-ahead
diff options
context:
space:
mode:
authorAnand V. Avati <avati@dev.gluster.com>2009-06-15 02:57:25 -0700
committerAnand V. Avati <avati@dev.gluster.com>2009-06-15 02:57:25 -0700
commit65f52bfa965bcffca1157a3ce0711133dc28161b (patch)
treea46ec4980bc4a3bb7c34b95c32edbecd55b5abcb /xlators/performance/read-ahead
parent26fbb96e454df1844fc73c1122c08c8ae405f824 (diff)
read-ahead: fix warning by initializing conf = NULL
Diffstat (limited to 'xlators/performance/read-ahead')
-rw-r--r--xlators/performance/read-ahead/src/read-ahead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c
index cb635e275..c4052e54c 100644
--- a/xlators/performance/read-ahead/src/read-ahead.c
+++ b/xlators/performance/read-ahead/src/read-ahead.c
@@ -792,7 +792,7 @@ ra_ftruncate (call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset)
int
init (xlator_t *this)
{
- ra_conf_t *conf;
+ ra_conf_t *conf = NULL;
dict_t *options = this->options;
char *page_count_string = NULL;
int32_t ret = -1;