Kaydet (Commit) f493f4b9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field

Change-Id: I10206d2a9673296e1c3c7e813e4696d80cbb2bfc
üst 5fcef02e
...@@ -139,7 +139,6 @@ private: ...@@ -139,7 +139,6 @@ private:
bool bError; // any errors while export? bool bError; // any errors while export?
bool bReadOver; bool bReadOver;
OString sFilename; OString sFilename;
OString sLanguages;
std::vector<OString> aLanguages; std::vector<OString> aLanguages;
...@@ -172,7 +171,7 @@ private: ...@@ -172,7 +171,7 @@ private:
public: public:
Export( const OString &rOutput ); Export( const OString &rOutput );
Export(const OString &rMergeSource, const OString &rOutput, const OString &rLanguage, bool bUTF8BOM); Export(const OString &rMergeSource, const OString &rOutput, bool bUTF8BOM);
~Export(); ~Export();
void Init(); void Init();
......
...@@ -30,7 +30,6 @@ class XRMResParser ...@@ -30,7 +30,6 @@ class XRMResParser
{ {
private: private:
OString sGID; OString sGID;
OString sLID;
bool bError; bool bError;
bool bText; bool bText;
......
...@@ -94,7 +94,7 @@ FILE * init(int argc, char ** argv) ...@@ -94,7 +94,7 @@ FILE * init(int argc, char ** argv)
if (aArgs.m_bMergeMode) { if (aArgs.m_bMergeMode) {
global::exporter.reset(new Export(aArgs.m_sMergeSrc, aArgs.m_sOutputFile, global::exporter.reset(new Export(aArgs.m_sMergeSrc, aArgs.m_sOutputFile,
aArgs.m_sLanguage, aArgs.m_bUTF8BOM)); aArgs.m_bUTF8BOM));
} else { } else {
global::exporter.reset(new Export(aArgs.m_sOutputFile)); global::exporter.reset(new Export(aArgs.m_sOutputFile));
} }
...@@ -203,7 +203,6 @@ Export::Export(const OString &rOutput) ...@@ -203,7 +203,6 @@ Export::Export(const OString &rOutput)
bError( false ), bError( false ),
bReadOver( false ), bReadOver( false ),
sFilename( global::inputPathname ), sFilename( global::inputPathname ),
sLanguages( OString() ),
pParseQueue( new ParserQueue( *this ) ) pParseQueue( new ParserQueue( *this ) )
{ {
aOutput.mPo = new PoOfstream( rOutput, PoOfstream::APP ); aOutput.mPo = new PoOfstream( rOutput, PoOfstream::APP );
...@@ -216,7 +215,7 @@ Export::Export(const OString &rOutput) ...@@ -216,7 +215,7 @@ Export::Export(const OString &rOutput)
Export::Export( Export::Export(
const OString &rMergeSource, const OString &rOutput, const OString &rMergeSource, const OString &rOutput,
const OString &rLanguage, bool bUTF8BOM) bool bUTF8BOM)
: :
bDefine( false ), bDefine( false ),
bNextMustBeDefineEOL( false ), bNextMustBeDefineEOL( false ),
...@@ -229,7 +228,6 @@ Export::Export( ...@@ -229,7 +228,6 @@ Export::Export(
bError( false ), bError( false ),
bReadOver( false ), bReadOver( false ),
sFilename( global::inputPathname ), sFilename( global::inputPathname ),
sLanguages( rLanguage ),
pParseQueue( new ParserQueue( *this ) ) pParseQueue( new ParserQueue( *this ) )
{ {
aOutput.mSimple = new std::ofstream(); aOutput.mSimple = new std::ofstream();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment