mirror of https://github.com/mpv-player/mpv
100l, remove a pointless opt = NULL assignment that made print_int crash since r28794
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28803 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fffc93fd94
commit
2e1f8e3670
|
@ -173,7 +173,6 @@ static int parse_int(const m_option_t* opt,const char *name, char *param, void*
|
|||
}
|
||||
|
||||
static char* print_int(const m_option_t* opt, const void* val) {
|
||||
opt = NULL;
|
||||
if (opt->type->size == sizeof(int64_t))
|
||||
return dup_printf("%"PRId64, *(const int64_t *)val);
|
||||
return dup_printf("%d",VAL(val));
|
||||
|
|
Loading…
Reference in New Issue