Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
常顺宇
OpenXG-RAN
Commits
131b1bda
Commit
131b1bda
authored
May 20, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead code
parent
55a4b2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
common/utils/T/tracer/handler.c
common/utils/T/tracer/handler.c
+0
-22
No files found.
common/utils/T/tracer/handler.c
View file @
131b1bda
...
@@ -25,28 +25,6 @@ struct _event_handler {
...
@@ -25,28 +25,6 @@ struct _event_handler {
unsigned
long
next_id
;
unsigned
long
next_id
;
};
};
#if 0
#include <stdio.h>
void handle_event(event_handler *h, event e)
{
int i;
printf("event %s (%d)\n", event_name_from_id(h->database, e.type), e.type);
for (i = 0; i < e.ecount; i++) {
switch (e.e[i].type) {
case EVENT_INT:
printf(" %d: INT %d\n", i, *(int *)&e.buffer[e.e[i].offset]);
break;
case EVENT_STRING:
printf(" %d: STRING '%s'\n", i, &e.buffer[e.e[i].offset]);
break;
case EVENT_BUFFER:
printf(" %d: BUFFER size %d\n", i, *(int *)&e.buffer[e.e[i].offset]);
break;
}
}
}
#endif
void
handle_event
(
event_handler
*
_h
,
event
e
)
void
handle_event
(
event_handler
*
_h
,
event
e
)
{
{
struct
_event_handler
*
h
=
_h
;
struct
_event_handler
*
h
=
_h
;
...
...
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