Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix strict warnings

  • Loading branch information...
commit c51bc545c3a32db4ea8b96e43b84fcfc6b8d3d2a 1 parent bfd3848
@prefiks prefiks authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 chrome/oneteam/content/JavaScript/utils.js
View
6 chrome/oneteam/content/JavaScript/utils.js
@@ -51,8 +51,8 @@ function ppTimeInterval(time)
if (coeffs[i] <= time)
break;
- var t1, t2 = parseInt(time/coeffs[i]);
- if (i != 3)
+ var t1 = parseInt(time/coeffs[i]), t2 = 0;
+ if (i < 3)
t2 = parseInt((time-t1*coeffs[i])/coeffs[i+1]);
switch (i) {
@@ -105,7 +105,7 @@ function openLink(uri)
function pickFile(title, forSave, filters, path, win)
{
- var filtersMask;
+ var filtersMask = 0;
var picker = Components.classes["@mozilla.org/filepicker;1"].
createInstance(Components.interfaces.nsIFilePicker);
Please sign in to comment.
Something went wrong with that request. Please try again.