Bug 1251393: Remove a duplicated line. r=me
authorMilan Sreckovic <milan@mozilla.com>
Thu, 25 Feb 2016 13:08:00 +0100
changeset 322151 d712dfe981d069cbbd33a6fcaa0b2d47f081783c
parent 322150 fe8939c91205cfdbf34c7ab8d010e7d129f17edc
child 322152 b20019cc81241b7fc4ce88b43092e596c0f51089
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1251393
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1251393: Remove a duplicated line. r=me
modules/libpref/prefread.cpp
--- a/modules/libpref/prefread.cpp
+++ b/modules/libpref/prefread.cpp
@@ -248,18 +248,16 @@ PREF_ParseBuf(PrefParseState *ps, const 
             else
                 *ps->lbcur++ = c;
             break;
 
         /* name parsing */
         case PREF_PARSE_UNTIL_NAME:
             if (c == '\"' || c == '\'') {
                 ps->fdefault = (ps->smatch == kPref || ps->smatch == kPrefSticky);
-                ps->fdefault = (ps->smatch == kPref ||
-                                ps->smatch == kPrefSticky);
                 ps->fstickydefault = (ps->smatch == kPrefSticky);
                 ps->quotechar = c;
                 ps->nextstate = PREF_PARSE_UNTIL_COMMA; /* return here when done */
                 state = PREF_PARSE_QUOTED_STRING;
             }
             else if (c == '/') {       /* allow embedded comment */
                 ps->nextstate = state; /* return here when done with comment */
                 state = PREF_PARSE_COMMENT_MAYBE_START;