summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-01 03:51:14 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-03 01:20:01 +0300
commit78fe41f2462ae7e92eb68a9173082d561354b808 (patch)
tree5282d1802efca4254804b6b9e4e9d7e5e6b7eeef /options
parent88498bcc92305dccb8a73104f7996dd4253a0a2d (diff)
downloadmpv-78fe41f2462ae7e92eb68a9173082d561354b808.tar.bz2
mpv-78fe41f2462ae7e92eb68a9173082d561354b808.tar.xz
command: simplify option property init
The "if (prop.name)" check is redundant, because an assert above it implies that it never can be NULL. Deduplicate some code for initializing the "prop" variable.
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions