Merge lp:~jbicha/dee/fix-misleading-indent into lp:dee
Proposed by
Jeremy Bícha
Status: | Merged |
---|---|
Approved by: | Robert Ancell |
Approved revision: | 439 |
Merged at revision: | 439 |
Proposed branch: | lp:~jbicha/dee/fix-misleading-indent |
Merge into: | lp:dee |
Diff against target: |
16 lines (+4/-2) 1 file modified
src/dee-serializable-model.c (+4/-2) |
To merge this branch: | bzr merge lp:~jbicha/dee/fix-misleading-indent |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
Review via email: mp+325875@code.launchpad.net |
Commit message
Fix pos variable being incorrectly incremented due to missing braces.
Found by a compiler warning that noticed the indentation looked suspicious.
Description of the change
This fixes the build.
dee-serializabl
dee-serializabl
while (!dee_model_is_last (self, iter) && iter != _iter)
^~~~~
dee-serializabl
pos++;
It's just a warning but these flags are set:
-Werror -Wall -Wno-error=
To post a comment you must log in.
I updated the commit message to reflect this is actually a code change and potentially fixes a bug. I don't know if any code currently uses this or relies on the broken behaviour (I suspect not).