Mercurial > vim
comparison src/sound.c @ 17642:fe637f192d80 v8.1.1818
patch 8.1.1818: unused variable
commit https://github.com/vim/vim/commit/b4a88a0441a65a0c9411c294825a08ca703f541e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 5 20:18:14 2019 +0200
patch 8.1.1818: unused variable
Problem: Unused variable.
Solution: Remove the variable. (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Aug 2019 20:30:06 +0200 |
parents | c08a3c552c1d |
children | 10696f279e20 |
comparison
equal
deleted
inserted
replaced
17641:10631f073626 | 17642:fe637f192d80 |
---|---|
226 for (p = first_callback; p != NULL; p = p->snd_next) | 226 for (p = first_callback; p != NULL; p = p->snd_next) |
227 if (p->snd_device_id == (MCIDEVICEID) lParam) | 227 if (p->snd_device_id == (MCIDEVICEID) lParam) |
228 { | 228 { |
229 typval_T argv[3]; | 229 typval_T argv[3]; |
230 typval_T rettv; | 230 typval_T rettv; |
231 int dummy; | |
232 char buf[32]; | 231 char buf[32]; |
233 | 232 |
234 vim_snprintf(buf, sizeof(buf), "close sound%06ld", | 233 vim_snprintf(buf, sizeof(buf), "close sound%06ld", |
235 p->snd_id); | 234 p->snd_id); |
236 mciSendString(buf, NULL, 0, 0); | 235 mciSendString(buf, NULL, 0, 0); |