Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive on unused arguments when argument used in query param #418

Closed
justinmclean opened this issue Aug 11, 2017 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@justinmclean
Copy link
Contributor

Example code:

<cffunction name="lookup" access="public" output="false" returntype="void">
<cfargument name="domain" type="string" required="true" />
<cfset var details = "">
<cfquery name="details" datasource="#request.datasource#">
select *
from domains
where domain = <cfqueryparam value="#domain#" cfsqltype="CF_SQL_VARCHAR">
</cfquery>
</cffunction>
@TheRealAgentK
Copy link
Collaborator

what's the exactly log/error it creates?

@justinmclean
Copy link
Contributor Author

UNUSED_METHOD_ARGUMENT

@TheRealAgentK TheRealAgentK modified the milestone: 1.3.0 Aug 12, 2017
ryaneberly added a commit that referenced this issue Aug 12, 2017
@ryaneberly
Copy link
Contributor

fixed in #416

@ryaneberly ryaneberly self-assigned this Aug 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants