-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
I have the following Coldfusion code and invoke CFLint like cflint.bat -file c:\folder\x.cfm -stdout -json from latest git checkout (1.2 release)
I expect 3 missing vars: xxx, strSel and idx.
CFLint only lists two, idx is not regarded missing a var
<cffunction name="timePicker" returntype="string" hint="returns select" output="false">
<cfsavecontent variable="strSel"><cfoutput>
<select>
<cfloop from="0" to="23" index="idx">
<cfset xxx = NumberFormat(idx, "00")>
<option value="#xxx#" <cfif xxx EQ 1>selected="selected"</cfif> >#xxx#</option>
</cfloop>
</select>
</cfoutput></cfsavecontent>
<cfreturn strSel>
</cffunction>
Reactions are currently unavailable