Clojure

Unused local variable in PersistentVector.cons()

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: Release 1.5, Release 1.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code
  • Approval:
    Triaged

Description

in src/jvm/clojure/lang/PersistentVector.java:168, there is an integer i being defined which is not being used anywhere in the method.

https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/PersistentVector.java#L168

Activity

Hide
Stuart Halloway added a comment -

Smit, can you please submit a CA? http://clojure.org/contributing

Show
Stuart Halloway added a comment - Smit, can you please submit a CA? http://clojure.org/contributing
Stuart Halloway made changes -
Field Original Value New Value
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Hide
Smit Shah added a comment -

Stuart, I will send the CA via post ASAP.
It might take a couple of days to reach Rich though.

Show
Smit Shah added a comment - Stuart, I will send the CA via post ASAP. It might take a couple of days to reach Rich though.
Alex Miller made changes -
Labels bug patch
Hide
Smit Shah added a comment -

Stuart, I have successfully submitted the CA (http://clojure.org/contributing).
I guess now merging this patch shouldn't be a problem

Show
Smit Shah added a comment - Stuart, I have successfully submitted the CA (http://clojure.org/contributing). I guess now merging this patch shouldn't be a problem
Hide
Alex Miller added a comment -

Thanks Smit!

Show
Alex Miller added a comment - Thanks Smit!
Alex Miller made changes -
Approval Triaged [ 10120 ]
Alex Miller made changes -
Description in src/jvm/clojure/lang/PersistentVector.java:168, there is an integer i being defined which is not being used anywhere in the method. in src/jvm/clojure/lang/PersistentVector.java:168, there is an integer i being defined which is not being used anywhere in the method.

https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/PersistentVector.java#L168
Summary Unused variable in PersistentVector Unused local variable in PersistentVector.cons()
Alex Miller made changes -
Labels collections
Alex Miller made changes -
Labels collections collections ft

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: