Whitespace cleanup: Remove all multiple newlines

This patch removes all occurrences of double and triple
newlines.

Command used for this:
find .  -type d \( -name ffmpeg \) -prune -o \
        -regex '\(.*\.[hc]\|.*\.cc\)' \
        -a -not -name 'adrian-aec.*' -a -not \
        -name reserve.c -a -not -name 'rtkit.*' \
        -exec sed -i -e '/^$/{N;s/^\n$//}' {} \;

Two passes were needed to remove triple newlines.
The excluded files are mirrored files from external sources.
This commit is contained in:
poljar (Damir Jelić) 2013-06-18 22:17:48 +02:00 committed by Tanu Kaskinen
parent e95d054e40
commit 97da92d894
69 changed files with 0 additions and 125 deletions

View file

@ -1589,7 +1589,6 @@ static int sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int
return pa_sink_input_process_msg(o, code, userdata, offset, chunk);
}
static bool handle_input_underrun(playback_stream *s, bool force) {
bool send_drain;
@ -1625,7 +1624,6 @@ static bool sink_input_process_underrun_cb(pa_sink_input *i) {
return handle_input_underrun(s, true);
}
/* Called from thread context */
static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk) {
playback_stream *s;
@ -2455,7 +2453,6 @@ static void command_create_record_stream(pa_pdispatch *pd, uint32_t command, uin
}
}
if (!pa_tagstruct_eof(t)) {
protocol_error(c);
goto finish;