summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/strbuf.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-11 14:58:25 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-11 14:58:25 +0000
commit9c523e060749d1a762c264025a653803a246894e (patch)
treed395b55908c6fe67c18d8472550b6f8d9e5581dd /src/pulsecore/strbuf.c
parent27f13b3853c0d613c2edfb0ae11cffa72004ebf0 (diff)
more modernizations, s/assert/pa_assert/g
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1806 fefdeb5f-60dc-0310-8127-8f9354f1896f
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;