diff options
author | wm4 <wm4@nowhere> | 2013-10-24 19:49:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-24 22:50:13 +0200 |
commit | a217c08b179d635f07a0f43c33c8cf3ca8e78400 (patch) | |
tree | a322aa821508d152fc4cfc62ed64e56abcddfd17 /mpvcore/m_config.h | |
parent | cfc72d4fff568c214a465f150cb51255e34ef7f5 (diff) | |
download | mpv-a217c08b179d635f07a0f43c33c8cf3ca8e78400.tar.bz2 mpv-a217c08b179d635f07a0f43c33c8cf3ca8e78400.tar.xz |
m_config: refactor initialization, reduce amount of malloc'ed strings
Allocate strings only if needed (when we have to prefix sub-options).
Prepare for storing m_config_options in an array instead of a list.
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r-- | mpvcore/m_config.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h index 871d1a3caf..07d27ac505 100644 --- a/mpvcore/m_config.h +++ b/mpvcore/m_config.h @@ -44,8 +44,6 @@ struct m_config_option { const struct m_option *opt; // Raw value of the option. void *data; - // If this is a suboption, the option that contains this option. - struct m_config_option *parent; }; // Config object |