commit | 5dfb7d6b00f94dee3cb2c9a1a143b2aeea86b957 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sun Jul 07 02:24:04 2013 +0100 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:36:02 2015 -0800 |
tree | 0a3c4ed0a44a8581812016baa119120bd1d02c9c | |
parent | 0b44cade81d66659cb69620999dfb318e51a0697 [diff] |
xz_wrapper: make global comp_opts a static inside xz_dump_options This was global purely to allow xz_dump_options() to return a pointer to it. However, making it global runs the risk coding mistakes which should refer to a local comp_opts are hidden as they pick up the global instead. As the global is potentially swapped and not in host byte order this isn't a good thing. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>