Commit ee223bf0 authored by Eric Wong's avatar Eric Wong

trivial: labels should be on the left-most column, no tabbing

Unfortunately there doesn't seem to be an indent switch for this, but we have find + perl: find src -name '*.[ch]' | xargs perl -i -p -e \ 's/^\s+(\w+):/$1:/g unless /^\s+default:/' This is a followup to r4605, and there are no actual code changes in this. git-svn-id: https://svn.musicpd.org/mpd/trunk@4661 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent f8b07de3
...@@ -312,7 +312,7 @@ configure_hw: ...@@ -312,7 +312,7 @@ configure_hw:
return 0; return 0;
error: error:
if (cmd) { if (cmd) {
ERROR("Error opening alsa device \"%s\" (%s): %s\n", ERROR("Error opening alsa device \"%s\" (%s): %s\n",
ad->device, cmd, snd_strerror(-err)); ad->device, cmd, snd_strerror(-err));
...@@ -320,7 +320,7 @@ configure_hw: ...@@ -320,7 +320,7 @@ configure_hw:
ERROR("Error opening alsa device \"%s\": %s\n", ad->device, ERROR("Error opening alsa device \"%s\": %s\n", ad->device,
snd_strerror(-err)); snd_strerror(-err));
} }
fail: fail:
if (ad->pcmHandle) if (ad->pcmHandle)
snd_pcm_close(ad->pcmHandle); snd_pcm_close(ad->pcmHandle);
ad->pcmHandle = NULL; ad->pcmHandle = NULL;
......
...@@ -487,7 +487,7 @@ static int oss_open(AudioOutput * audioOutput) ...@@ -487,7 +487,7 @@ static int oss_open(AudioOutput * audioOutput)
return 0; return 0;
fail: fail:
oss_close(od); oss_close(od);
audioOutput->open = 0; audioOutput->open = 0;
return -1; return -1;
......
...@@ -175,7 +175,7 @@ static int flac_decode(OutputBuffer * cb, DecoderControl * dc, ...@@ -175,7 +175,7 @@ static int flac_decode(OutputBuffer * cb, DecoderControl * dc,
dc->state = DECODE_STATE_STOP; dc->state = DECODE_STATE_STOP;
dc->stop = 0; dc->stop = 0;
fail: fail:
if (data.replayGainInfo) if (data.replayGainInfo)
freeReplayGainInfo(data.replayGainInfo); freeReplayGainInfo(data.replayGainInfo);
......
...@@ -343,7 +343,7 @@ static void mp3_parseId3Tag(mp3DecodeData * data, signed long tagsize, ...@@ -343,7 +343,7 @@ static void mp3_parseId3Tag(mp3DecodeData * data, signed long tagsize,
} }
id3_tag_delete(id3Tag); id3_tag_delete(id3Tag);
fail: fail:
if (allocated) if (allocated)
free(allocated); free(allocated);
} }
...@@ -552,7 +552,7 @@ static int parse_xing(struct xing *xing, struct mad_bitptr *ptr, int *oldbitlen) ...@@ -552,7 +552,7 @@ static int parse_xing(struct xing *xing, struct mad_bitptr *ptr, int *oldbitlen)
*oldbitlen = bitlen; *oldbitlen = bitlen;
return 1; return 1;
fail: fail:
xing->flags = 0; xing->flags = 0;
return 0; return 0;
} }
......
...@@ -306,7 +306,7 @@ static OggFLAC__SeekableStreamDecoder ...@@ -306,7 +306,7 @@ static OggFLAC__SeekableStreamDecoder
return decoder; return decoder;
fail: fail:
oggflacPrintErroredState(OggFLAC__seekable_stream_decoder_get_state oggflacPrintErroredState(OggFLAC__seekable_stream_decoder_get_state
(decoder)); (decoder));
OggFLAC__seekable_stream_decoder_delete(decoder); OggFLAC__seekable_stream_decoder_delete(decoder);
...@@ -394,7 +394,7 @@ static int oggflac_decode(OutputBuffer * cb, DecoderControl * dc, ...@@ -394,7 +394,7 @@ static int oggflac_decode(OutputBuffer * cb, DecoderControl * dc,
dc->state = DECODE_STATE_STOP; dc->state = DECODE_STATE_STOP;
dc->stop = 0; dc->stop = 0;
fail: fail:
oggflac_cleanup(inStream, &data, decoder); oggflac_cleanup(inStream, &data, decoder);
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment