From eae911bcd2dad93f474d3b25cfa3f3209fec6032 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Fri, 6 May 2016 20:20:16 +0200 Subject: [PATCH] No need to remove function names, they don't slow anything down and they're invaluable for crash debugging. --- Makefile.win | 1 - playlist.c | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile.win b/Makefile.win index ae2d252593..c89be5935c 100644 --- a/Makefile.win +++ b/Makefile.win @@ -120,7 +120,6 @@ ifeq ($(DEBUG), 1) else CFLAGS += -O3 -ffast-math CXXFLAGS += -O3 -ffast-math - LDCXXFLAGS += -s endif CFLAGS += -Wall -Wno-unused-result -Wno-unused-variable -I. diff --git a/playlist.c b/playlist.c index 265572d5a0..c374ffcfb2 100644 --- a/playlist.c +++ b/playlist.c @@ -51,7 +51,7 @@ struct content_playlist /** * content_playlist_get_index: - * @playlist : Playlist handle. + * @playlist : Playlist handle. * @idx : Index of playlist entry. * @path : Path of playlist entry. * @core_path : Core path of playlist entry. @@ -113,7 +113,6 @@ void content_playlist_get_index_by_path(content_playlist_t *playlist, *crc32 = playlist->entries[i].crc32; break; } - } bool content_playlist_entry_exists(content_playlist_t *playlist, @@ -133,7 +132,7 @@ bool content_playlist_entry_exists(content_playlist_t *playlist, /** * content_playlist_free_entry: - * @entry : Playlist entry handle. + * @entry : Playlist entry handle. * * Frees playlist entry. **/ @@ -246,7 +245,7 @@ void content_playlist_push(content_playlist_t *playlist, /* Seen it before, bump to top. */ tmp = playlist->entries[i]; memmove(playlist->entries + 1, playlist->entries, - i * sizeof(content_playlist_entry_t)); + i * sizeof(content_playlist_entry_t)); playlist->entries[0] = tmp; return; @@ -298,7 +297,7 @@ void content_playlist_write_file(content_playlist_t *playlist) /** * content_playlist_free: - * @playlist : Playlist handle. + * @playlist : Playlist handle. * * Frees playlist handle. */