size_t i, p, n;
char *outbuf;
char name[1000];
- char *tmp, *tmp2, *path;
+ char *tmp, *tmp2 = NULL, *path;
/* Load data */
outlen = spawn_and_store_stdout(XMLTV_FIND, NULL, &outbuf);
/* Bundle */
#if ENABLE_BUNDLE
- char *tmp1, *tmp2, *tmp3;
+ char *tmp1, *tmp2, *tmp3 = NULL;
*tmp1 = strdup(path);
*tmp2 = strtok_r(tmp1, "/", &tmp3);
filebundle_entry_t *fb = filebundle_root;
{
int ret = 0;
char bin[512];
- char *path, *tmp, *tmp2;
+ char *path, *tmp, *tmp2 = NULL;
DIR *dir;
struct dirent *de;
struct stat st;
if((s = htsmsg_get_str(c, "epggrabsrc")) != NULL) {
char *tmp = strdup(s);
- char *sptr, *sptr2;
+ char *sptr = NULL, *sptr2 = NULL;
char *modecid = strtok_r(tmp, ",", &sptr);
char *modid, *ecid;
epggrab_module_t *mod;