libeplayer3: get rid of compiler warnings

This commit is contained in:
martii
2013-06-10 15:06:00 +02:00
parent 997af12a20
commit 65e69b07fb
31 changed files with 147 additions and 153 deletions

View File

@@ -107,7 +107,7 @@ static int ManagerAdd(Context_t *context, Track_t track) {
return cERR_AUDIO_MGR_NO_ERROR;
}
static char ** ManagerList(Context_t *context) {
static char ** ManagerList(Context_t *context __attribute__((unused))) {
int i = 0, j = 0;
char ** tracklist = NULL;

View File

@@ -107,7 +107,7 @@ static int ManagerAdd(Context_t *context, Track_t track) {
return cERR_DVBSUBTITLE_MGR_NO_ERROR;
}
static char ** ManagerList(Context_t *context) {
static char ** ManagerList(Context_t *context __attribute__((unused))) {
int i = 0, j = 0;
char ** tracklist = NULL;

View File

@@ -107,7 +107,7 @@ static int ManagerAdd(Context_t *context, Track_t track) {
return cERR_SUBTITLE_MGR_NO_ERROR;
}
static char ** ManagerList(Context_t *context) {
static char ** ManagerList(Context_t *context __attribute__((unused))) {
char ** tracklist = NULL;
int i = 0, j = 0;

View File

@@ -107,14 +107,13 @@ static int ManagerAdd(Context_t *context, Track_t track) {
return cERR_TELETEXT_MGR_NO_ERROR;
}
static char ** ManagerList(Context_t *context) {
static char ** ManagerList(Context_t *context __attribute__((unused))) {
int i = 0, j = 0;
char ** tracklist = NULL;
teletext_mgr_printf(10, "%s::%s\n", FILENAME, __FUNCTION__);
if (Tracks != NULL) {
char tmp[30];
tracklist = malloc(sizeof(char *) * ((TrackCount*2) + 1));
if (tracklist == NULL)

View File

@@ -106,7 +106,7 @@ static int ManagerAdd(Context_t *context, Track_t track) {
return cERR_VIDEO_MGR_NO_ERROR;
}
static char ** ManagerList(Context_t *context) {
static char ** ManagerList(Context_t *context __attribute__((unused))) {
int i = 0, j = 0;
char ** tracklist = NULL;