Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
cpp-libs
libnice
Commits
af104bfa
Commit
af104bfa
authored
Sep 07, 2020
by
Fabrice Bellet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
candidate: fix unused variable
parent
4a378b88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
agent/candidate.c
agent/candidate.c
+1
-2
No files found.
agent/candidate.c
View file @
af104bfa
...
@@ -404,10 +404,9 @@ nice_candidate_pair_priority_to_string (guint64 prio, gchar *string)
...
@@ -404,10 +404,9 @@ nice_candidate_pair_priority_to_string (guint64 prio, gchar *string)
NICEAPI_EXPORT
NiceCandidate
*
NICEAPI_EXPORT
NiceCandidate
*
nice_candidate_copy
(
const
NiceCandidate
*
candidate
)
nice_candidate_copy
(
const
NiceCandidate
*
candidate
)
{
{
const
NiceCandidateImpl
*
c
=
(
NiceCandidateImpl
*
)
candidate
;
NiceCandidateImpl
*
copy
;
NiceCandidateImpl
*
copy
;
g_return_val_if_fail
(
c
!=
NULL
,
NULL
);
g_return_val_if_fail
(
c
andidate
!=
NULL
,
NULL
);
copy
=
(
NiceCandidateImpl
*
)
nice_candidate_new
(
candidate
->
type
);
copy
=
(
NiceCandidateImpl
*
)
nice_candidate_new
(
candidate
->
type
);
memcpy
(
copy
,
candidate
,
sizeof
(
NiceCandidateImpl
));
memcpy
(
copy
,
candidate
,
sizeof
(
NiceCandidateImpl
));
...
...
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