aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authordhewg2011-03-29 21:55:21 +0200
committerdhewg2011-03-29 21:57:56 +0200
commitd83a83ef5021c1e329127d3c6402088aeb1c1dd1 (patch)
tree5ade1c22a76ed8a10fac3d4c488a9866d649508e /backends/midi
parent8c70f2a58492335e9045c5abfd291887b2d7a339 (diff)
downloadscummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.gz
scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.bz2
scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.zip
JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/timidity.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp
index 642ddf6917..c01b9bbef7 100644
--- a/backends/midi/timidity.cpp
+++ b/backends/midi/timidity.cpp
@@ -428,10 +428,9 @@ void MidiDriver_TIMIDITY::timidity_write_data(const void *buf, size_t nbytes) {
}
int MidiDriver_TIMIDITY::fdgets(char *buff, size_t buff_size) {
- int n, len, count, size;
+ int n, count, size;
char *buff_endp = buff + buff_size - 1, *pbuff, *beg;
- len = 0;
count = _controlbuffer_count;
size = _controlbuffer_size;
pbuff = _controlbuffer;