Closed Bug 412853 Opened 16 years ago Closed 16 years ago

many strict warnings [anonymous function does not always return a value]

Categories

(Calendar :: Internal Components, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: dbo)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12pre) Gecko/2008011710 Calendar/0.8pre

Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calCalendarManager.js
Line: 475, Column: 4
Source code:
    }, 

Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calStorageCalendar.js
Line: 445, Column: 64
Source code:
        return reportError("ID for modifyItem item is null"); 


Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calStorageCalendar.js
Line: 465, Column: 78
Source code:
        return reportError("ID does not already exist for modifyItem"); 

Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calStorageCalendar.js
Line: 470, Column: 75
Source code:
        return reportError("generation too old for for modifyItem"); 

Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calStorageCalendar.js
Line: 489, Column: 4
Source code:
    }, 

Warning: anonymous function does not always return a value
Source file: file:///D:/sunbird/js/calMemoryCalendar.js
Line: 258, Column: 4
Source code:
    },
Attached patch fixSplinter Review
Assignee: nobody → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #297711 - Flags: review?(philipp)
Attachment #297711 - Flags: review?(philipp) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.