mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
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:
parent
e95d054e40
commit
97da92d894
69 changed files with 0 additions and 125 deletions
|
|
@ -144,7 +144,6 @@ int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss) {
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
if (!pa_sample_spec_valid(ss))
|
||||
return -1;
|
||||
|
||||
|
|
@ -418,7 +417,6 @@ pa_sndfile_writef_t pa_sndfile_writef_function(const pa_sample_spec *ss) {
|
|||
int pa_sndfile_format_from_string(const char *name) {
|
||||
int i, count = 0;
|
||||
|
||||
|
||||
if (!name[0])
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue