Revisions of ineffassign
buildservice-autocommit
accepted
request 1103640
from
Jeff Kowalczyk (jfkw)
(revision 9)
baserev update by copy to link target
Jeff Kowalczyk (jfkw)
accepted
request 1103638
from
Jeff Kowalczyk (jfkw)
(revision 8)
- Update to version 0.0.0+git20230610.0e73809: * A function is not deferred until after it and its args have been evaluated. * Update issue templates * Check length of builder.defers as maybePanic may be called outside of a function scope. * Do not mark named function results as used if an operation might panic but will not be recovered (i.e., when there is no defer statement). * Don't type-check the code being analyzed. * Missed a spot. * Don't treat nil initialization as assignment. * doc: clarify meaning of ineffectual assignment - Use _service mode manual as better alias name than disabled
buildservice-autocommit
accepted
request 879532
from
Jeff Kowalczyk (jfkw)
(revision 7)
baserev update by copy to link target
Jeff Kowalczyk (jfkw)
accepted
request 879531
from
Jeff Kowalczyk (jfkw)
(revision 6)
Add ineffassign-rpmlintrc to sources
Jeff Kowalczyk (jfkw)
accepted
request 879529
from
Jeff Kowalczyk (jfkw)
(revision 5)
- Update to version 0.0.0+git20210225.2e10b26: * Don't disregard operations that occur prior to a variable escaping. * Move library code of the analyzer into pkg/ineffassign * Extra "is this file generated" logic into func * Ignore generated files. * Adjust testdata comments to match what analysistest expects. * Fix testdata compilation errors. * Re-add support for -n flag (and run go fmt) * Use analysis.Analyzer to implement ineffassign * Update "Usage" in README * Deprecate "-n" flag * Add support for ... syntax for recursive analysis * Ignore generated files * Add docs on tool install and usage * Terminate a block upon reaching a return statement. * avoid repeating type assertions by switching on `x := x.(type)` * Account for the pathological case where some clown redfined 'false' * Don't treat initialization to 'false' as assignment. * Packaging use go modules and vendor dependencies * Packaging add obs-service-go_modules disabled * Packaging drop BuildRequires: golang-packaging macros no longer used * Packaging add rpmlintrc
Dominique Leuenberger (dimstar_suse)
accepted
request 665276
from
Jan Engelhardt (jengelh)
(revision 4)
initialized devel package after accepting 665276
Marguerite Su (MargueriteSu)
accepted
request 662805
from
Jan Engelhardt (jengelh)
(revision 3)
- Use noun phrase in summary.
Michał Rostecki (mrostecki)
accepted
request 662552
from
Nirmoy Das (ndas)
(revision 2)
- enable tar_scm service - Update to version 0.0.0+git20180909.1003c8b: * Don't treat initialization to zero like `x := int64(0)` as assignment. * Guard against invalid code (break/continue outside of loop). * Definitely don't panic in maybePanic. * Mark named function results as used in operations that may panic. * Don't treat explicit initialization to zero as assignment; it is often used as shorthand for a bare declaration. * Support multiple path arguments on the command line. * Add a note to the README about limitations. * Slicing an array or taking the address of an array element causes the array to escape. * Use control flow analysis to find more useless assignments. * ignore vendor directories
Jordi Massaguer (jordimassaguerpla)
accepted
request 621927
from
Michał Rostecki (mrostecki)
(revision 1)
- Initial release
Displaying all 9 revisions