Skip to contentSkip to conversation

lvm2_run: don't return uninitialized for _memlock_inc or _memlock_dec

linux-lvm Jim Meyering 1 participant 2 messages Jun 22, 2008 – Jun 23, 2008

lore
Share & tools
lore
#0 lore raw

I noticed a valid warning:

lvmcmdlib.c:45: warning: 'ret' may be used uninitialized in this function

Sure, it's in nominally "Temporary" code (and code we'd rather be rid of), but it's been over 6 months.
Any objection?

#1 lore raw
Quoted 7 lines · Jim Meyering

I noticed a valid warning:

lvmcmdlib.c:45: warning: 'ret' may be used uninitialized in this function

Sure, it's in nominally "Temporary" code (and code we'd rather be rid of), but it's been over 6 months.
Any objection?

It'll be nice when mailman stops removing my patches. Here it is again: