Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

ineffassign-0.0.0+git20210225.2e10b26-bp154.1.73 RPM for ppc64le

From OpenSuSE Leap 15.4 for ppc64le

Name: ineffassign Distribution: SUSE Linux Enterprise 15 SP4
Version: 0.0.0+git20210225.2e10b26 Vendor: openSUSE
Release: bp154.1.73 Build date: Mon May 9 11:33:33 2022
Group: Unspecified Build host: obs-power8-04
Size: 6496559 Source RPM: ineffassign-0.0.0+git20210225.2e10b26-bp154.1.73.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/gordonklaus/ineffassign
Summary: Tool to detect ineffectual assignments in Go code
This tool misses some cases because does not consider any type information in
its analysis. (For example, assignments to struct fields are never marked as
ineffectual.) It should, however, never give any false positives.

Provides

Requires

License

MIT

Changelog

* Tue Mar 16 2021 Jeff Kowalczyk <jkowalczyk@suse.com>
  - 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
* Fri Jan 04 2019 Jan Engelhardt <jengelh@inai.de>
  - Use noun phrase in summary.
* Wed Jan 02 2019 ndas@suse.de
  - enable tar_scm service
* Wed Jan 02 2019 opensuse-packaging@opensuse.org
  - 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
* Tue Jul 10 2018 mrostecki@suse.com
  - Initial release

Files

/usr/bin/ineffassign
/usr/share/doc/packages/ineffassign
/usr/share/doc/packages/ineffassign/README.md
/usr/share/licenses/ineffassign
/usr/share/licenses/ineffassign/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 17:00:22 2024