summaryrefslogtreecommitdiff
path: root/libs/pbd/whitespace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/whitespace.cc')
-rw-r--r--libs/pbd/whitespace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/whitespace.cc b/libs/pbd/whitespace.cc
index a719fb169f..9568c1781c 100644
--- a/libs/pbd/whitespace.cc
+++ b/libs/pbd/whitespace.cc
@@ -9,7 +9,7 @@ strip_whitespace_edges (string& str)
{
string::size_type i;
string::size_type len;
- string::size_type s;
+ string::size_type s = 0;
len = str.length();