Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c22afa5f
Commit
c22afa5f
authored
Nov 13, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmml: *Really* fix compilation warning.
(Don't use dummy code to hide these warnings)
parent
c87ca8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/codec/cmml/history.c
modules/codec/cmml/history.c
+4
-10
No files found.
modules/codec/cmml/history.c
View file @
c22afa5f
...
@@ -44,7 +44,9 @@
...
@@ -44,7 +44,9 @@
/*****************************************************************************
/*****************************************************************************
* Local prototypes
* Local prototypes
*****************************************************************************/
*****************************************************************************/
#ifdef HISTORY_DEBUG
static
void
history_Dump
(
history_t
*
p_history
);
static
void
history_Dump
(
history_t
*
p_history
);
#endif
/*****************************************************************************
/*****************************************************************************
* Local structure lock
* Local structure lock
...
@@ -68,16 +70,6 @@ history_t *history_New( void )
...
@@ -68,16 +70,6 @@ history_t *history_New( void )
return
NULL
;
return
NULL
;
}
}
#ifndef HISTORY_DEBUG
/* make dummy reference to history_Dump to avoid compiler warnings */
while
(
0
)
{
void
*
p_tmp
;
p_tmp
=
history_Dump
;
}
#endif
return
p_new_history
;
return
p_new_history
;
}
}
...
@@ -98,6 +90,7 @@ bool history_GoBackSavingCurrentItem ( history_t *p_history,
...
@@ -98,6 +90,7 @@ bool history_GoBackSavingCurrentItem ( history_t *p_history,
return
true
;
return
true
;
}
}
#ifdef HISTORY_DEBUG
static
void
history_Dump
(
history_t
*
p_history
)
static
void
history_Dump
(
history_t
*
p_history
)
{
{
unsigned
int
i_count
;
unsigned
int
i_count
;
...
@@ -124,6 +117,7 @@ static void history_Dump( history_t *p_history )
...
@@ -124,6 +117,7 @@ static void history_Dump( history_t *p_history )
}
}
}
}
}
}
#endif
bool
history_GoForwardSavingCurrentItem
(
history_t
*
p_history
,
bool
history_GoForwardSavingCurrentItem
(
history_t
*
p_history
,
history_item_t
*
p_item
)
history_item_t
*
p_item
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment