diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-04 22:12:55 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-06 18:33:16 +0300 |
commit | b68f9fef32971095836ea6bbeb2f12af417120d2 (patch) | |
tree | 46288d0356764318d595a946d22ca31eaf6b0101 /playtree.c | |
parent | 40f6ab5064a628dc11b79b5e571dc9444efac093 (diff) | |
download | mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.bz2 mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.xz |
cleanup: shut up more warnings
Diffstat (limited to 'playtree.c')
-rw-r--r-- | playtree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/playtree.c b/playtree.c index d9b29e874a..b7affc9538 100644 --- a/playtree.c +++ b/playtree.c @@ -274,7 +274,6 @@ play_tree_set_parent(play_tree_t* pt, play_tree_t* parent) { void play_tree_add_file(play_tree_t* pt,char* file) { int n = 0; - char* e; #ifdef MP_DEBUG assert(pt != NULL); @@ -296,7 +295,7 @@ play_tree_add_file(play_tree_t* pt,char* file) { return; } - e = pt->files[n] = strdup(file); + pt->files[n] = strdup(file); pt->files[n+1] = NULL; pt->entry_type = PLAY_TREE_ENTRY_FILE; |