Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
GSoC
GSoC2018
macOS
vlc
Commits
c04e7b41
Commit
c04e7b41
authored
Sep 06, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: remove tautology / dead code
parent
08c15c3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/misc/gnutls.c
modules/misc/gnutls.c
+0
-6
No files found.
modules/misc/gnutls.c
View file @
c04e7b41
...
...
@@ -200,7 +200,6 @@ static int gnutls_SessionOpen (vlc_tls_t *tls, int type,
if
(
alpn
!=
NULL
)
{
#ifdef GNUTLS_ALPN_MAND
gnutls_datum_t
*
protv
=
NULL
;
unsigned
protc
=
0
;
...
...
@@ -222,9 +221,6 @@ static int gnutls_SessionOpen (vlc_tls_t *tls, int type,
val
=
gnutls_alpn_set_protocols
(
session
,
protv
,
protc
,
0
);
free
(
protv
);
#else
goto
error
;
#endif
}
gnutls_transport_set_int
(
session
,
fd
);
...
...
@@ -281,7 +277,6 @@ static int gnutls_ContinueHandshake (vlc_tls_t *tls, char **restrict alp)
done:
if
(
alp
!=
NULL
)
{
#ifdef GNUTLS_ALPN_MAND
gnutls_datum_t
datum
;
val
=
gnutls_alpn_get_selected_protocol
(
session
,
&
datum
);
...
...
@@ -295,7 +290,6 @@ done:
return
-
1
;
}
else
#endif
*
alp
=
NULL
;
}
return
0
;
...
...
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