projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a60dc
)
Fix compiler warning about unused variable set by getline()
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 8 Sep 2013 14:41:57 +0000
(10:41 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 8 Sep 2013 22:54:52 +0000
(18:54 -0400)
src/emuconsole.c
patch
|
blob
|
history
diff --git
a/src/emuconsole.c
b/src/emuconsole.c
index
9d76976
..
a3f563c
100644
(file)
--- a/
src/emuconsole.c
+++ b/
src/emuconsole.c
@@
-255,7
+255,6
@@
console_main(void)
while (!QuitRequest) {
int slen;
size_t len = 0;
- ssize_t bytes_read;
char Command[256];
char Args[256];
char Parameter1[256];
@@
-265,7
+264,7
@@
console_main(void)
Parameter2[0] = '\0';
printf(prompt);
-
bytes_read =
getline(&line, &len, stdin);
+
(void)
getline(&line, &len, stdin);
Capitalize(line);
RemoveSpaces(line);