Minor cleanup
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 12 May 2015 12:01:47 +0000 (14:01 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Wed, 17 Jun 2015 19:52:44 +0000 (19:52 +0000)
commit03598efeea1bca465df2aa5d9e2aa4e4fb4f052f
tree92ce7fbd102a159224604d4652996a3f8c43d00d
parentc4854e64fe40fca164315d9251ae04af386f5adf
Minor cleanup

Narrow the scope of the match offsets counter, as suggested by the clang static
code analyzer. In the second case we just wrote to the variable but never read
it.

Change-Id: I9e5e22bd27f892e76eccfea8b02f25795b689c36
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
src/qml/jsruntime/qv4stringobject.cpp