Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9697eabd
Commit
9697eabd
authored
Nov 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused counter_t members
parent
5816597c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
include/vlc_messages.h
include/vlc_messages.h
+0
-3
src/misc/stats.c
src/misc/stats.c
+0
-6
No files found.
include/vlc_messages.h
View file @
9697eabd
...
...
@@ -122,10 +122,7 @@ struct counter_sample_t
struct
counter_t
{
unsigned
int
i_id
;
char
*
psz_name
;
int
i_type
;
void
*
p_obj
;
int
i_compute_type
;
int
i_samples
;
counter_sample_t
**
pp_samples
;
...
...
src/misc/stats.c
View file @
9697eabd
...
...
@@ -67,7 +67,6 @@ counter_t * stats_CounterCreate( vlc_object_t *p_this,
p_counter
->
i_type
=
i_type
;
p_counter
->
i_samples
=
0
;
p_counter
->
pp_samples
=
NULL
;
p_counter
->
psz_name
=
NULL
;
p_counter
->
update_interval
=
0
;
p_counter
->
last_update
=
0
;
...
...
@@ -235,7 +234,6 @@ void stats_CounterClean( counter_t *p_c )
free
(
p_s
);
i
--
;
}
free
(
p_c
->
psz_name
);
free
(
p_c
);
}
}
...
...
@@ -317,10 +315,6 @@ static int CounterUpdate( vlc_object_t *p_handler,
p_counter
->
pp_samples
[
0
]
->
value
.
f_float
+=
val
.
f_float
;
if
(
new_val
)
new_val
->
f_float
=
p_counter
->
pp_samples
[
0
]
->
value
.
f_float
;
default:
msg_Err
(
p_handler
,
"Trying to increment invalid variable %s"
,
p_counter
->
psz_name
);
return
VLC_EGENERIC
;
}
}
break
;
...
...
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