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:
bool bError; // any errors while export?
bool bReadOver;
OString sFilename;
OString sLanguages;
std::vector<OString> aLanguages;
......@@ -172,7 +171,7 @@ private:
public:
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();
void Init();
......
......@@ -30,7 +30,6 @@ class XRMResParser
{
private:
OString sGID;
OString sLID;
bool bError;
bool bText;
......
......@@ -94,7 +94,7 @@ FILE * init(int argc, char ** argv)
if (aArgs.m_bMergeMode) {
global::exporter.reset(new Export(aArgs.m_sMergeSrc, aArgs.m_sOutputFile,
aArgs.m_sLanguage, aArgs.m_bUTF8BOM));
aArgs.m_bUTF8BOM));
} else {
global::exporter.reset(new Export(aArgs.m_sOutputFile));
}
......@@ -203,7 +203,6 @@ Export::Export(const OString &rOutput)
bError( false ),
bReadOver( false ),
sFilename( global::inputPathname ),
sLanguages( OString() ),
pParseQueue( new ParserQueue( *this ) )
{
aOutput.mPo = new PoOfstream( rOutput, PoOfstream::APP );
......@@ -216,7 +215,7 @@ Export::Export(const OString &rOutput)
Export::Export(
const OString &rMergeSource, const OString &rOutput,
const OString &rLanguage, bool bUTF8BOM)
bool bUTF8BOM)
:
bDefine( false ),
bNextMustBeDefineEOL( false ),
......@@ -229,7 +228,6 @@ Export::Export(
bError( false ),
bReadOver( false ),
sFilename( global::inputPathname ),
sLanguages( rLanguage ),
pParseQueue( new ParserQueue( *this ) )
{
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