aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Teirney <david@teirney.net>2011-08-28 18:16:41 +1200
committerDavid Teirney <david@teirney.net>2011-08-29 00:02:32 +1200
commita8028355bb096df0b6aecf3f43fa90e1d85d2abf (patch)
tree617b479811511ae3d443d5567be8b66961ad6f71 /lib
parent639950e80d7a19a3150d9b7f799a3def62aef103 (diff)
Remove code that masked a delete error from the MythTV backend. The real return code is now used rather than a hardcoded success return value.
Diffstat (limited to 'lib')
-rw-r--r--lib/cmyth/libcmyth/proginfo.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/cmyth/libcmyth/proginfo.c b/lib/cmyth/libcmyth/proginfo.c
index 71d46c63bf..2576c55f68 100644
--- a/lib/cmyth/libcmyth/proginfo.c
+++ b/lib/cmyth/libcmyth/proginfo.c
@@ -558,13 +558,6 @@ delete_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd)
goto out;
}
- /*
- * XXX: for some reason, this seems to return an error, even though
- * it succeeds...
- */
-
- ret = 0;
-
out:
pthread_mutex_unlock(&mutex);
@@ -1411,13 +1404,6 @@ fill_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd)
goto out;
}
- /*
- * XXX: for some reason, this seems to return an error, even though
- * it succeeds...
- */
-
- ret = 0;
-
out:
return ret;
}