summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/strbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/strbuf.c')
-rw-r--r--src/pulsecore/strbuf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pulsecore/strbuf.c b/src/pulsecore/strbuf.c
index ca88c59f..122343f4 100644
--- a/src/pulsecore/strbuf.c
+++ b/src/pulsecore/strbuf.c
@@ -50,8 +50,9 @@ struct pa_strbuf {
};
pa_strbuf *pa_strbuf_new(void) {
-
- pa_strbuf *sb = pa_xnew(pa_strbuf, 1);
+ pa_strbuf *sb;
+
+ sb = pa_xnew(pa_strbuf, 1);
sb->length = 0;
sb->head = sb->tail = NULL;