Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(100)

Issue 3858044: Remove a gcc warning. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Yusuke Sato
Modified:
13 years, 5 months ago
Reviewers:
shawn.p.huang, Peng Huang, Peng
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Remove a gcc warning. ibusxml.c: In function 'ibus_xml_parse_file': ibusxml.c:213: error: 'retval' may be used uninitialized in this function BUG=none TEST=ran make CFLAGS="-Wall -O2"

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/ibusxml.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
Yusuke Sato
BTW, the "-Wall -Werror" flags specified in autogen.sh are not working correctly?
13 years, 5 months ago (2011-01-12 06:33:53 UTC) #1
Peng
On 2011/01/12 06:33:53, Yusuke Sato wrote: > BTW, the "-Wall -Werror" flags specified in autogen.sh ...
13 years, 5 months ago (2011-01-12 13:27:59 UTC) #2
Yusuke Sato
13 years, 5 months ago (2011-01-12 13:37:31 UTC) #3
hmm.. I tried './autogen.sh ; make' but the warning was not shown. I have to
call make CFLAGS="-Wall -O2" explicitly to get the warning.

I'll take a look at the issue in detail later.

On 2011/01/12 13:27:59, Shawn.P.Huang wrote:
> On 2011/01/12 06:33:53, Yusuke Sato wrote:
> > BTW, the "-Wall -Werror" flags specified in autogen.sh are not working
> > correctly?
> 
> It should work. Actually, autoget.sh will call ./configure with CFLAGS='...',
if
> you run ./configure by self, the cflags will be overwritten.
> 
> LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b