make compile and remove warnings

This commit is contained in:
Love Hornquist Astrand
2009-11-21 17:12:38 -08:00
parent d50689ec8b
commit 7bb7bd72ab
4 changed files with 56 additions and 22 deletions

View File

@@ -347,10 +347,6 @@ common_path_init(const char *service,
void **ctx)
{
struct path_ctx *s;
const char *path;
char *apath = NULL;
int ret;
int *fd;
s = malloc(sizeof(*s));
if (s == NULL)