Skip to content

Commit adc9f65

Browse files
committed
ost.c: fix compile warning for uninitialized variable
1 parent 637dd14 commit adc9f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liblmt/ost.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ _get_oststring_v2 (pctx_t ctx, char *name, char *s, int len)
9696
uint64_t filesfree, filestotal;
9797
uint64_t kbytesfree, kbytestotal;
9898
uint64_t read_bytes, write_bytes;
99-
uint64_t iops, num_exports;
99+
uint64_t iops=0, num_exports;
100100
uint64_t lock_count, grant_rate, cancel_rate;
101101
uint64_t connect, reconnect;
102102
hash_t stats_hash = NULL;

0 commit comments

Comments
 (0)