X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ffilter.c;h=556bf179502dd9aa3749bbe285c05ea2d976f9a2;hb=0bc23ba9a5357242cf0a72b12a3a3a393d248e94;hp=e837068cb2bfc7ba8091a5ca4ac4932d463ba993;hpb=9eb6aa7a42ed8d7e5b6d095bd3c31886ab5ebd33;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/filter.c b/ltt/branches/poly/lttv/lttv/filter.c index e837068c..556bf179 100644 --- a/ltt/branches/poly/lttv/lttv/filter.c +++ b/ltt/branches/poly/lttv/lttv/filter.c @@ -1537,6 +1537,7 @@ lttv_filter_append_expression(LttvFilter* filter, const char *expression) { if(expression == NULL) return FALSE; if(filter == NULL) return FALSE; + if(expression[0] == '\0') return FALSE; /* Empty expression */ GString* s = g_string_new(""); if(filter->expression != NULL) {