From 5f137a1e8f3bc62ee977c741fcc8b4ffccf034b6 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 19 Mar 2012 11:38:43 +0000 Subject: Commented out unused data --- config.c | 4 +++- config.h | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config.c b/config.c index 47155df8..f7384e86 100644 --- a/config.c +++ b/config.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.114 2012-03-19 11:29:14 phintuka Exp $ + * $Id: config.c,v 1.115 2012-03-19 11:38:43 phintuka Exp $ * */ @@ -718,10 +718,12 @@ config_t::config_t() { force_primary_device = 0; }; +#if 0 static uint8_t g_hidden_options[sizeof(config_t)] = {0}; static uint8_t g_readonly_options[sizeof(config_t)] = {0}; uint8_t *config_t::hidden_options = &g_hidden_options[0]; uint8_t *config_t::readonly_options = &g_readonly_options[0]; +#endif cString config_t::m_ProcessedArgs; bool config_t::ProcessArg(const char *Name, const char *Value) diff --git a/config.h b/config.h index 20a90a0c..88e5a96e 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.89 2012-03-19 11:29:14 phintuka Exp $ + * $Id: config.h,v 1.90 2012-03-19 11:38:43 phintuka Exp $ * */ @@ -464,15 +464,18 @@ class config_t { cString UnsharpOptions(void); cString Denoise3dOptions(void); +#if 0 template bool IsOptionHidden(T & option) { return hidden_options[(int)((long int)&option - (long int)this)];}; template bool IsOptionReadOnly(T & option) { return readonly_options[(int)((long int)&option - (long int)this)];}; +#endif protected: bool ProcessArg(const char *Name, const char *Value); static cString m_ProcessedArgs; +#if 0 static uint8_t *hidden_options; static uint8_t *readonly_options; @@ -480,6 +483,7 @@ class config_t { { hidden_options[(int)((long int)&option - (long int)this)] = 1;}; template void ReadOnlyOption(T & option) { readonly_options[(int)((long int)&option - (long int)this)] = 1;}; +#endif }; // Global instance -- cgit v1.2.3