summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-08-10 22:38:17 +0200
committerGravatar Matt Colyer2008-08-11 09:32:59 -0700
commit2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb (patch)
tree3d02c48c43bd1fce5759aa06daac22a12e1db761 /src/main.c
parent020d7c23b17956098379140f1f0047ae8e78df1b (diff)
downloadlibplist-2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb.tar.gz
libplist-2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb.tar.bz2
Fix warnings about unused variables
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 91bb48c..302b886 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,11 +37,10 @@
int debug = 1;
int main(int argc, char *argv[]) {
- char* host_id = NULL;
+ /* char* host_id = NULL; */
iPhone *phone = get_iPhone();
if (argc > 1 && !strcasecmp(argv[1], "--debug")) debug = 1;
else debug = 0;
- char *response = (char*)malloc(sizeof(char) * 2048);
int bytes = 0, port = 0, i = 0;
if (phone) printf("I got a phone.\n");
else { printf("oops\n"); return -1; }