mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 23:43:00 +02:00
libeplayer3: get rid of compiler warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user