REGRESSION(r159599): webkitdirs.pm spits out warnings at lines 851 and 852
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Nov 2013 12:26:06 +0000 (12:26 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Nov 2013 12:26:06 +0000 (12:26 +0000)
commit444446cb87796854d1c30274129b6bd18d24db14
treefb3dc181d8523684c548afd9ecd181d71646d949
parent0bafc034c97665b55a9be06e723b826f1159c22e
REGRESSION(r159599): webkitdirs.pm spits out warnings at lines 851 and 852
https://bugs.webkit.org/show_bug.cgi?id=124697

Reviewed by Ryosuke Niwa.

* Scripts/webkitdirs.pm:
(checkForArgumentAndRemoveFromARGVGettingValue): Fix check of array size
before trying to access to the first element.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitdirs.pm