Subject: | [PATCH] fix return value of SetTerminalSize() |
Date: | Tue, 10 Apr 2007 21:46:43 +0400 |
To: | bug-termreadkey [...] rt.cpan.org |
From: | Alexey Tourbin <at [...] altlinux.ru> |
Spotted by gcc.
ReadKey.c: In function 'XS_Term__ReadKey_SetTerminalSize':
ReadKey.c:2040: warning: unused variable 'targ'
---
ReadKey.xs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ReadKey.xs b/ReadKey.xs
index 31f1b4a..8d79b95 100644
--- a/ReadKey.xs
+++ b/ReadKey.xs
@@ -1823,6 +1823,8 @@ SetTerminalSize(width,height,xpix,ypix,file=STDIN)
{
RETVAL=SetTerminalSize(file,width,height,xpix,ypix);
}
+ OUTPUT:
+ RETVAL
void
GetSpeed(file=STDIN)
--
1.5.1.GIT