ref: fe317f76941a21757aa416c8d5fa6e67c0b00cd5
parent: d43e0c9200a2739c09ab5beeb81e5bc38707870d
author: Diego Biurrun <diego@biurrun.de>
date: Mon Oct 20 07:59:10 EDT 2014
Drop pointless cast of strdup return value
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -178,7 +178,7 @@
dvdcss->i_raw_fd = -1;
#endif
dvdcss->p_titles = NULL;
- dvdcss->psz_device = (char *)strdup( psz_target );
+ dvdcss->psz_device = strdup( psz_target );
dvdcss->psz_error = "no error";
dvdcss->i_method = DVDCSS_METHOD_KEY;
dvdcss->psz_cachefile[0] = '\0';