summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/JackDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index bb424ff..6b201d4 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -366,8 +366,8 @@ JackDriver::port_names(const PortID& id,
jack_port = jack_port_by_id(_client, id.id.jack_id);
if (!jack_port) {
- module_name = "";
- port_name = "";
+ module_name.clear();
+ port_name.clear();
return false;
}