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
6b8d2191
Commit
6b8d2191
authored
Feb 01, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interaction: logically dead code
parent
c00b6cab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
src/interface/interaction.c
src/interface/interaction.c
+2
-16
No files found.
src/interface/interaction.c
View file @
6b8d2191
...
...
@@ -502,29 +502,15 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
p_dialog
->
i_flags
&
DIALOG_BLOCKING_ERROR
||
p_dialog
->
i_flags
&
DIALOG_NONBLOCKING_ERROR
)
{
bool
b_found
=
false
;
int
i
;
p_dialog
->
p_interaction
=
p_interaction
;
p_dialog
->
p_parent
=
p_this
;
/* Check if we have already added this dialog */
vlc_object_lock
(
p_interaction
);
for
(
i
=
0
;
i
<
p_interaction
->
i_dialogs
;
i
++
)
{
if
(
p_interaction
->
pp_dialogs
[
i
]
==
p_dialog
)
b_found
=
true
;
}
/* Add it to the queue, the main loop will send the orders to the
* interface */
if
(
!
b_found
)
{
INSERT_ELEM
(
p_interaction
->
pp_dialogs
,
p_interaction
->
i_dialogs
,
p_interaction
->
i_dialogs
,
p_dialog
);
}
else
p_dialog
->
i_status
=
UPDATED_DIALOG
;
INSERT_ELEM
(
p_interaction
->
pp_dialogs
,
p_interaction
->
i_dialogs
,
p_interaction
->
i_dialogs
,
p_dialog
);
if
(
p_dialog
->
i_type
==
INTERACT_DIALOG_TWOWAY
)
/* Wait for answer */
{
...
...
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