diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-02-02 18:52:24 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-02-04 16:32:57 +0000 |
commit | 030c3a6197da663e5d2df48b9130ef71ee22e86c (patch) | |
tree | 6954272748e70b39a3c754e5e51dba0daa246d71 /qmake/library/qmakeparser.h | |
parent | 924659b22f04a538f8b37838ad3bf5024fb931a6 (diff) |
remove pointless return value from QMakeParser::read()
it always returned true nowadays.
an obvious followup effect is that the return value of parsedProBlock()
doesn't need to be null-checked any more as well.
Change-Id: I782785cab9b721a78a342a010921a73e642ebe7f
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qmake/library/qmakeparser.h')
-rw-r--r-- | qmake/library/qmakeparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/library/qmakeparser.h b/qmake/library/qmakeparser.h index f8bbe905c3..a1e6d10a70 100644 --- a/qmake/library/qmakeparser.h +++ b/qmake/library/qmakeparser.h @@ -130,7 +130,7 @@ private: }; bool read(ProFile *pro, ParseFlags flags); - bool read(ProFile *pro, const QString &content, int line, SubGrammar grammar); + void read(ProFile *pro, const QString &content, int line, SubGrammar grammar); ALWAYS_INLINE void putTok(ushort *&tokPtr, ushort tok); ALWAYS_INLINE void putBlockLen(ushort *&tokPtr, uint len); |