File setools-3.3.5-nonvoid.patch of Package setools
--- libqpol/src/module_compiler.c
+++ libqpol/src/module_compiler.c
@@ -257,6 +257,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
type_datum_t *declare_type(unsigned char primary, unsigned char isattr)
@@ -324,6 +325,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
user_datum_t *declare_user(void)
@@ -419,6 +421,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
/* Return a type_datum_t for the local avrule_decl with the given ID.
@@ -771,6 +774,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
static int require_type_or_attribute(int pass, unsigned char isattr)
@@ -828,6 +832,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_type(int pass)
@@ -893,6 +898,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_bool(int pass)
@@ -946,6 +952,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_sens(int pass)
@@ -1014,6 +1021,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_cat(int pass)
@@ -1072,6 +1080,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
static int is_scope_in_stack(scope_datum_t * scope, scope_stack_t * stack)
--- libqpol/src/policy_define.c
+++ libqpol/src/policy_define.c
@@ -1407,6 +1407,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
avrule_t *define_cond_compute_type(int which)