*
*/
-#include <assert.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <sys/types.h>
{
int i = 0, ignore_space = 0;
unsigned int num_opts = 1;
- char **argv, *token = opts, *saveptr;
+ char **argv, *token = opts, *saveptr = NULL;
/* Count number of arguments. */
do {
* This function should never return if successfull because `execvp(3)`
* onle returns if an error has occurred.
*/
- assert(ret != 0);
+ LTTNG_ASSERT(ret != 0);
error:
free(argv);
return ret;