projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove warning generated by newer gcc (4.6)
[lttv.git]
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
lttvwindowtraces.c
diff --git
a/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c
b/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c
index 787c5a70e12b32ee28c55f53a68f21ceb900e125..05ab4b436e758444496cb3b49a2401fb5b4203f7 100644
(file)
--- a/
lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c
+++ b/
lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c
@@
-893,16
+893,15
@@
void lttvwindowtraces_set_in_progress(LttvAttributeName module_name,
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
- LttvAttributeValue value;
attribute =
LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(LTTV_IATTRIBUTE(attribute),
module_name));
g_assert(attribute);
attribute =
LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(LTTV_IATTRIBUTE(attribute),
module_name));
g_assert(attribute);
-
value =
lttv_iattribute_add(LTTV_IATTRIBUTE(attribute),
-
LTTV_IN_PROGRESS,
-
LTTV_INT);
+ lttv_iattribute_add(LTTV_IATTRIBUTE(attribute),
+ LTTV_IN_PROGRESS,
+ LTTV_INT);
/* the value is left unset. The only presence of the attribute is necessary.
*/
}
/* the value is left unset. The only presence of the attribute is necessary.
*/
}
@@
-947,16
+946,15
@@
void lttvwindowtraces_set_ready(LttvAttributeName module_name,
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
- LttvAttributeValue value;
attribute =
LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(LTTV_IATTRIBUTE(attribute),
module_name));
g_assert(attribute);
attribute =
LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(LTTV_IATTRIBUTE(attribute),
module_name));
g_assert(attribute);
-
value =
lttv_iattribute_add(LTTV_IATTRIBUTE(attribute),
-
LTTV_READY,
-
LTTV_INT);
+ lttv_iattribute_add(LTTV_IATTRIBUTE(attribute),
+ LTTV_READY,
+ LTTV_INT);
/* the value is left unset. The only presence of the attribute is necessary.
*/
}
/* the value is left unset. The only presence of the attribute is necessary.
*/
}
This page took
0.023258 seconds
and
4
git commands to generate.