From c931a13ecd544b76416e68829b6df25fb639f2ac Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Sun, 26 Mar 2017 00:06:09 -0700 Subject: [PATCH] Disable unused tss::mbsdec() --- src/core/ntmbs.cpp | 4 ++-- src/core/ntmbs.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/ntmbs.cpp b/src/core/ntmbs.cpp index beaf31c..94de08c 100644 --- a/src/core/ntmbs.cpp +++ b/src/core/ntmbs.cpp @@ -58,7 +58,7 @@ // NTMBS Utils -- Definition //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +#if 0 /* * TSS::mbsdec * @@ -117,7 +117,7 @@ tss::mbsdec( const_ntmbs_t beg, const_ntmbs_t curr ) return (ntmbs_t)prev; } - +#endif /* * TSS::mbsinc diff --git a/src/core/ntmbs.h b/src/core/ntmbs.h index d3cc036..4b792f0 100644 --- a/src/core/ntmbs.h +++ b/src/core/ntmbs.h @@ -117,11 +117,12 @@ TSS_EXCEPTION( eCharacter, eError ); TSS_EXCEPTION( eCharacterEncoding, eCharacter ); + namespace tss { /// Specific Routines (Add as needed) - ntmbs_t mbsdec( const_ntmbs_t, const_ntmbs_t ); + //ntmbs_t mbsdec( const_ntmbs_t, const_ntmbs_t ); ntmbs_t mbsinc( const_ntmbs_t ); size_t mbsbytes( const_ntmbs_t, size_t );