projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert gererates processes tracefile by parsing *.proc file
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
type.c
diff --git
a/ltt/branches/poly/ltt/type.c
b/ltt/branches/poly/ltt/type.c
index 710803de252b0a48aae2870e0477cb93d7168886..a2c73f229c428f9c42822a6a9aa8892c7606d72c 100644
(file)
--- a/
ltt/branches/poly/ltt/type.c
+++ b/
ltt/branches/poly/ltt/type.c
@@
-93,6
+93,7
@@
unsigned ltt_eventtype_id(LttEventType *et)
LttType *ltt_eventtype_type(LttEventType *et)
{
+ if(!et->root_field) return NULL;
return et->root_field->field_type;
}
@@
-311,6
+312,7
@@
LttField *ltt_field_member(LttField *f, unsigned i)
LttType *ltt_field_type(LttField *f)
{
+ if(!f)return NULL;
return f->field_type;
}
This page took
0.022234 seconds
and
4
git commands to generate.