[gjs] Fix assignment to undeclared variable warning.



commit 20971324011b2504b715ee671bc541eb974ffb08
Author: Tim Lunn <tim feathertop org>
Date:   Mon Jan 14 13:09:21 2013 +1100

    Fix assignment to undeclared variable warning.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690982

 modules/jsUnit.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/jsUnit.js b/modules/jsUnit.js
index e260f22..08f7a19 100644
--- a/modules/jsUnit.js
+++ b/modules/jsUnit.js
@@ -450,6 +450,7 @@ function jsUnitSetOnLoad(windowRef, onloadHandler)
 // GJS: entry point to run all functions named as test*, surrounded by
 // calls to setUp() and tearDown()
 function gjstestRun(window_, setUp, tearDown) {
+  var propName;
   var rv = 0;
   var failures = [];
   if (!window_) window_ = window;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]