Skip to content
Snippets Groups Projects
Commit bc465937 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

remove state entry

parent ed04d8b9
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,6 @@ int ssexec_state(int argc, char const *const *argv, ssexec_t *info)
"torestart",
"tounsupervise",
"toparse",
"isdownfile",
"isearlier" ,
"isenabled" ,
"isparsed" ,
"issupervised",
"isup" } ;
......@@ -131,9 +128,6 @@ int ssexec_state(int argc, char const *const *argv, ssexec_t *info)
info_display_int(fields[m++],sta.torestart) ;
info_display_int(fields[m++],sta.tounsupervise) ;
info_display_int(fields[m++],sta.toparse) ;
info_display_int(fields[m++],sta.isdownfile) ;
info_display_int(fields[m++],sta.isearlier) ;
info_display_int(fields[m++],sta.isenabled) ;
info_display_int(fields[m++],sta.isparsed) ;
info_display_int(fields[m++],sta.issupervised) ;
info_display_int(fields[m],sta.isup) ;
......
......@@ -119,7 +119,6 @@ static uint32_t compute_pipe_service(resolve_wrapper_t_ref wres, ssexec_t *info,
{
log_flow() ;
size_t servicelen = strlen(service) ;
size_t namelen = strlen(name) ;
char tmp[info->live.len + SS_SCANDIR_LEN + 1 + info->ownerlen + 1 + namelen + 1] ;
......
......@@ -26,6 +26,8 @@
int parse_section(stralloc *secname, char const *str, size_t *pos)
{
log_flow() ;
int id = -1 ;
size_t len = strlen(str), newpos = 0, found = 0 ;
_init_stack_(stk, len + 1) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment