summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-30 20:04:08 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commitc942178c92321a99ddf079e55af85724fc74ee16 (patch)
tree2a51e0d6ee53f5d3d70e4ebbac9c0931a22adc0c /DOCS
parent8a48a277edbe4002460899bcca28896eea3feeca (diff)
downloadmpv-c942178c92321a99ddf079e55af85724fc74ee16.tar.bz2
mpv-c942178c92321a99ddf079e55af85724fc74ee16.tar.xz
m_config: add an assert for a theoretical issue
Or at least I hope it's theoretical. This function is supposed to unset any old listeners for the given cache, and the code works only if there's at most 1. Add a defense break to avoid UB if there's more than one, and add an assert() to check the assumption that there's at most one. The added comment is unrelated.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions