aboutsummaryrefslogtreecommitdiff
path: root/ports/rtaudio/remove-unused-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/rtaudio/remove-unused-variable.patch')
-rw-r--r--ports/rtaudio/remove-unused-variable.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/rtaudio/remove-unused-variable.patch b/ports/rtaudio/remove-unused-variable.patch
new file mode 100644
index 000000000..504ddad97
--- /dev/null
+++ b/ports/rtaudio/remove-unused-variable.patch
@@ -0,0 +1,20 @@
+diff --git a/include/asiolist.cpp b/include/asiolist.cpp
+index e4c73c2..333a662 100644
+--- a/include/asiolist.cpp
++++ b/include/asiolist.cpp
+@@ -166,7 +166,6 @@ AsioDriverList::AsioDriverList ()
+ LPASIODRVSTRUCT pdl;
+ LONG cr;
+ DWORD index = 0;
+- BOOL fin = FALSE;
+
+ numdrv = 0;
+ lpdrvlist = 0;
+@@ -184,7 +183,6 @@ AsioDriverList::AsioDriverList ()
+ #endif
+ lpdrvlist = newDrvStruct (hkEnum,keyname,0,lpdrvlist);
+ }
+- else fin = TRUE;
+ }
+ if (hkEnum) RegCloseKey(hkEnum);
+