: m68k: "simple.c:223: warning: `n' might be used uninitialized in this function"
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=838>
======================================================================
Reported By: jdthood Assigned To: perex ====================================================================== Project: ALSA - lib Issue ID: 838 Category: mixer Reproducibility: always Severity: minor Priority: normal Status: resolved Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 01-20-2005 12:39 CET Last Modified: 05-30-2005 13:39 CEST
======================================================================
Summary: m68k: "simple.c:223: warning: `n' might be used
uninitialized in this function"
Description:
Making all in mixer
[...]
if /bin/sh ../../libtool --mode=compile m68k-linux-gcc -DHAVE_CONFIG_H -I.
-I. -I../../include -I../../include -g -Wall -O2 -MT simple.lo -MD -MP
-MF ".deps/simple.Tpo" \
-c -o simple.lo test -f 'simple.c' || echo './'simple.c; \
then mv -f ".deps/simple.Tpo" ".deps/simple.Plo"; \
else rm -f ".deps/simple.Tpo"; exit 1; \
fi
m68k-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g
-Wall -O2 -MT simple.lo -MD -MP -MF .deps/simple.Tpo -c simple.c -fPIC -DPIC -o .libs/simple.osimple.c: In function `to_user':
simple.c:223: warning: n' might be used uninitialized in this function simple.c: In function from_user':
simple.c:232: warning: `n' might be used uninitialized in this function
m68k-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g
-Wall -O2 -MT simple.lo -MD -MP -MF .deps/simple.Tpo -c simple.c -o simple.o >/dev/null 2>&1
See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=m68k&stamp=1106208530&file=log&as=raw
for the full m68k build log.
======================================================================
----------------------------------------------------------------------
tiwai - 01-20-05 19:09
----------------------------------------------------------------------
I believe these warnings are bogus.
----------------------------------------------------------------------
perex - 05-30-05 13:39
----------------------------------------------------------------------
I reordered a bit code in CVS, but this warning is not really true.
Issue History
Date Modified Username Field Change
======================================================================
01-20-05 12:39 jdthood New Issue 01-20-05 19:09 tiwai Note Added: 0003330 05-30-05 13:39 perex Status new => resolved 05-30-05 13:39 perex Resolution open => fixed 05-30-05 13:39 perex Assigned To => perex 05-30-05 13:39 perex Note Added: 0004811
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005