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

Issue 5051043: Add some warning messages in ibustext.c (Closed)

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

Description

Add some warning message in ibustext.c BUG=None TEST=Linux desktop

Patch Set 1 #

Patch Set 2 : Update #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -11 lines) Patch
M src/ibustext.c View 1 3 chunks +5 lines, -11 lines 2 comments Download

Messages

Total messages: 3
Peng
12 years, 9 months ago (2011-09-17 23:04:16 UTC) #1
Yusuke Sato
LGTM with one nit. http://codereview.appspot.com/5051043/diff/2001/src/ibustext.c File src/ibustext.c (right): http://codereview.appspot.com/5051043/diff/2001/src/ibustext.c#newcode166 src/ibustext.c:166: g_return_val_if_reached (NULL); g_return_val_fail (buf != ...
12 years, 9 months ago (2011-09-18 08:02:44 UTC) #2
Peng
12 years, 9 months ago (2011-09-18 14:38:56 UTC) #3
http://codereview.appspot.com/5051043/diff/2001/src/ibustext.c
File src/ibustext.c (right):

http://codereview.appspot.com/5051043/diff/2001/src/ibustext.c#newcode166
src/ibustext.c:166: g_return_val_if_reached (NULL);
On 2011/09/18 08:02:44, Yusuke Sato wrote:
> g_return_val_fail (buf != NULL, NULL); (and remove the if block) would be
> better.

Done.
Sign in to reply to this message.

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