libXaw3d: Changes to 'master'
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Oct 6 12:24:57 PDT 2011
configure.ac | 1 +
src/Scrollbar.c | 15 ++++++++++-----
src/Text.c | 5 +++--
src/TextPop.c | 5 +++--
src/Viewport.c | 4 +++-
src/laygram.y | 2 +-
src/laylex.l | 2 ++
7 files changed, 23 insertions(+), 11 deletions(-)
New commits:
commit 6b9e47e67cf05503d65194b05d1e3e424bc3ef73
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Oct 4 11:35:03 2011 +0000
Define call_data to 0 in NotifyScroll()
Fixes gcc warning:
Scrollbar.c: In function 'NotifyScroll':
Scrollbar.c:950:12: warning: 'call_data' may be used uninitialized in this function [-Wuninitialized]
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Guillem Jover <guillem at hadrons.org>
commit 30326a08a2e38dab3e82a9233054e67818cd2a85
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Oct 4 11:35:02 2011 +0000
Use intptr_t instead of int when casting from and to XtPointer
Fixes gcc warnings:
Scrollbar.c: In function 'NotifyScroll':
Scrollbar.c:955:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Text.c: In function 'HScroll':
Text.c:1274:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Text.c: In function 'VScroll':
Text.c:1431:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TextPop.c: In function 'DoSearch':
TextPop.c:808:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TextPop.c: In function 'Replace':
TextPop.c:942:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Viewport.c: In function 'ScrollUpDownProc':
Viewport.c:866:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Guillem Jover <guillem at hadrons.org>
commit f7d3fd257d1bf7a0313a45dccf023ed99c400da9
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Oct 4 11:35:01 2011 +0000
Only use variable t in MoveThumb() on XAW_ARROW_SCROLLBARS
Fixes gcc warning:
Scrollbar.c: In function 'MoveThumb':
Scrollbar.c:1006:16: warning: variable 't' set but not used [-Wunused-but-set-variable]
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Guillem Jover <guillem at hadrons.org>
commit 67a927284dd554712cc743ed5dbbabf8d3a761af
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Oct 4 11:35:00 2011 +0000
Remove unused label
Fixes gcc warning:
laygram.c: In function 'LayYYparse':
laygram.y:242:7: warning: label 'unary' defined but not used [-Wunused-label]
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Guillem Jover <guillem at hadrons.org>
commit 712dd8b572114a3605e4f4c444eabefbfb0522aa
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Oct 4 11:34:59 2011 +0000
Disable unused input and unput lex functions
Fixes gcc warnings:
laylex.c:1316:17: warning: 'yyunput' defined but not used [-Wunused-function]
laylex.c:1357:16: warning: 'input' defined but not used [-Wunused-function]
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Guillem Jover <guillem at hadrons.org>
More information about the xorg-commit
mailing list