Code Cleanup
The BRL-CAD source code is large with a lot of history. In order to survive decades of development, considerable time and attention is put forth towards improving code maintainability and code quality. One of the best ways to get involved in BRL-CAD open source development is to help clean up source code.
Cleaning up the source code helps you become familiarized with BRL-CAD and improves maintainability. There are a variety of ways you can clean up source code, but some of our specific efforts in place to help refactor BRL-CAD are:
Contents
The HACKING File
Our tried and true developer guidelines HACKING file identifies numerous stylistic concerns and source code conventions that the entire BRL-CAD source code should conform to. When in doubt, consult the dev guidelines.
Strict Compilation
This code cleanup effort is now considered complete and is enforced by default. One excellent and easy way to improve code quality, maintainability, and consistency is to pay attention to compilation warnings. Sure, the compiler sometimes gets things wrong, but even the "false positives" that get reported tend to be code that smells bad. For BRL-CAD, we turn on nearly all compilation warnings that the compiler is able to produce and consider all warnings to be errors.
Duplication Reduction
As BRL-CAD's source code is large, another way to clean up code is to reduce the inevitable duplication that results after years of development. There has been considerable success in the past using the Simian similarity analyser. This shell script snippet should provide a reasonable analysis of BRL-CAD's core source code:
#!/bin/sh files=`find . \( -name \*.h \ -o -name \*.c \ -o -name \*.cxx \ -o -name \*.cpp \ -o -name \*.tcl \ -o -name \*.itcl \ -o -name \*.itk \ -o -name \*.tk \) \ -not -regex '.*src/other.*' \ -not -regex '.*misc.*' \ -not -regex '.*libfft.*' \ -not -regex '.*src/mged/points/.*' \ -not -regex '.*src/tab/.*'` java -Xms200m -Xmx2000m -jar simian-2.2.24.jar -threshold=25 $files
You'll of course probably need to change the version number from 2.2.24 to whatever version you downloaded. You should get a report that looks something like this:
Similarity Analyser 2.2.24 - http://www.redhillconsulting.com.au/products/simian/index.html Copyright (c) 2003-08 RedHill Consulting Pty. Ltd. All rights reserved. Simian is not free unless used solely for non-commercial or evaluation purposes. {failOnDuplication=true, ignoreCharacterCase=true, ignoreCurlyBraces=true, ignoreIdentifierCase=true, ignoreModifiers=true, ignoreStringCase=true, threshold=6} Found 10 duplicate lines in the following files: Between lines 472 and 485 in /Users/morrison/brlcad/src/libged/wdb_nirt.c Between lines 451 and 465 in /Users/morrison/brlcad/src/libged/wdb_nirt.c Found 10 duplicate lines in the following files: Between lines 42 and 57 in /Users/morrison/brlcad/src/libged/comb.c Between lines 44 and 59 in /Users/morrison/brlcad/src/libged/region.c ... Found 332 duplicate lines in the following files: Between lines 49 and 525 in /Users/morrison/brlcad/src/libged/wdb_importFg4Section.c Between lines 50 and 526 in /Users/morrison/brlcad/src/libged/importFg4Section.c Found 416 duplicate lines in the following files: Between lines 113 and 836 in /Users/morrison/brlcad/src/rt/viewarea2.c Between lines 119 and 842 in /Users/morrison/brlcad/src/rt/viewarea.c Found 83039 duplicate lines in 6556 blocks in 815 files Processed a total of 330888 significant (572540 raw) lines in 1262 files Processing time: 22.329sec
Once you get the output report, focus attention on refactoring the largest or most frequently duplicated code into reusable functions. Feel free to follow the Rule of three or DRY principle from there. Submit patches or commit changes accordingly.
Coverity Scan
Since 2006, BRL-CAD has been a participant in the Coverity Scan Initiative, an effort funded by the U.S. Department of Homeland Security to improve the quality, safety and security of open source software. Coverity performs a static source code analysis (one of the best) and generates a detailed report of issues detected.
The BRL-CAD scan was previously "stuck" but we're now back online and operational! For an interesting preview of some of the kinds of things reported, here are some screenshots:
Those and many other issues are all managed through a private website that is only accessible if you have an account. If you're going to help, fantastic. Get in touch with a developer to have your account created.
PLEASE don't bother inquiring if you're only interested in looking at results or poking around.
We'll probably have you fix an issue or two first to make sure you're serious.
Collaborative Refactoring Best Practices
This document covers a peer-reviewed, tested, and documented workflow for addressing issues reported by Coverity Static Analysis through the Coverity Integrity Center web interface. The document identifies categories of medium and high risk defect types, specific refactoring pitfalls to watch out for, how to add new unit and regression tests to BRL-CAD, and identifies several best practices for code refactoring. Definitions are provided for "Refactoring", "Zero One or Infinity" (ZOI), "Don't Repeat Yourself" (DRY), "Rule of Three", and "Cargo Cult Programming".
CPPCHECK-CLEANUP
- Run the following:
- cd brlcad
- cppcheck -isrc/other/ include/ src/ --enable=all 2>cppcheck_brlcad.txt
- It checks for issues in 1690 files under all src/ except src/other and all include/
- By default,(i.e. without --enable=all ) , only error messages are shown.
- To get just Stylistic issues, change --enable=all to --enable=style
- To get just unused function issues, change --enable=all to --enable=unusedFunction
- If not checking for unusedFunction, it can also have mutithreaded checking by option -j 4.
- The following issues will be stored in the file cppcheck_brlcad.txt. Note,many a times, cppcheck is wrong about reported errors. There are many bugs it doesn't catch.
[src/adrt/librender/cut.c:202]: (warning) scanf without field width limits can crash with huge input data [src/adrt/librender/flos.c:90]: (warning) scanf without field width limits can crash with huge input data [src/adrt/librender/spall.c:195]: (warning) scanf without field width limits can crash with huge input data [src/adrt/master/master.c:488]: (style) Array index i is used before limits check [src/adrt/master/tienet_master.c:352]: (style) The scope of the variable 'daemon_socket' can be reduced [src/adrt/master/tienet_master.c:352]: (style) The scope of the variable 'port' can be reduced [src/adrt/slave/slave.c:117]: (style) Variable 'loadavg' is assigned a value that is never used [src/anim/anim_cascade.c:81]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:82]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:83]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:88]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:89]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:90]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:101]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:102]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:103]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:108]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:109]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:110]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:121]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:122]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:123]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:128]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:129]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:130]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:247]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:251]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:253]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:257]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_cascade.c:260]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:188]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:193]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:198]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:204]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:235]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:236]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:258]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_fly.c:288]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:163]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:164]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:165]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:173]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:174]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:175]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:182]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:185]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:192]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:201]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:210]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:367]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:374]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:388]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:394]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:436]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_hardtrack.c:439]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:120]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:121]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:122]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:124]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:130]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:136]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_keyread.c:142]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_lookat.c:61]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_lookat.c:103]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:61]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:62]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:63]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:96]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:101]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_offset.c:108]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:193]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:202]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:207]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:209]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:211]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_orient.c:213]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:74]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:75]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:76]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:85]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:86]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:87]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:96]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:97]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:98]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:105]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:106]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:107]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:113]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:139]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:198]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:200]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:204]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_script.c:207]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_sort.c:95]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_sort.c:101]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_sort.c:134]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:104]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:108]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:112]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:120]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:131]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_time.c:187]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:168]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:170]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:172]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:183]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:184]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:185]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:193]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:196]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:200]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:205]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:216]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:240]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:246]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:252]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:490]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:497]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:516]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:523]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:554]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:574]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:581]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:584]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:599]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_track.c:610]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:62]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:65]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:70]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:75]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:78]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:136]: (warning) scanf without field width limits can crash with huge input data [src/anim/anim_turn.c:137]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_add.c:46]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_add.c:47]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_add.c:50]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_add.c:55]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_mult.c:46]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_mult.c:47]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_mult.c:50]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_mult.c:55]: (warning) scanf without field width limits can crash with huge input data [src/anim/chan_permute.c:117]: (warning) scanf without field width limits can crash with huge input data [src/burst/Hm.c:347]: (style) The scope of the variable 'bit' can be reduced [src/burst/grid.c:426]: (style) The scope of the variable 'los' can be reduced [src/burst/grid.c:1349]: (warning) scanf without field width limits can crash with huge input data [src/burst/grid.c:1390]: (warning) scanf without field width limits can crash with huge input data [src/burst/grid.c:1410]: (warning) scanf without field width limits can crash with huge input data [src/burst/idents.c:104]: (warning) scanf without field width limits can crash with huge input data [src/burst/idents.c:107]: (warning) scanf without field width limits can crash with huge input data [src/burst/idents.c:132]: (warning) scanf without field width limits can crash with huge input data [src/bwish/tcl.c:103]: (style) The scope of the variable 'status' can be reduced [src/conv/3dm/3dm-g.cpp:247]: (warning) scanf without field width limits can crash with huge input data [src/conv/3dm/3dm-g.cpp:174]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/3dm/3dm-g.cpp:176]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/asc/asc2g.c:1530]: (style) The scope of the variable 'bcnt' can be reduced [src/conv/asc/asc2g.c:1531]: (style) The scope of the variable 'escapedcr' can be reduced [src/conv/asc/asc2g.c:295]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:348]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:354]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:362]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:420]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1247]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1254]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1274]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1276]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1352]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1396]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/asc2g.c:1466]: (warning) scanf without field width limits can crash with huge input data [src/conv/asc/g2asc.c:655]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:656]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:698]: (error) fprintf format string has 4 parameters but only 2 are given [src/conv/asc/g2asc.c:703]: (error) fprintf format string has 5 parameters but only 3 are given [src/conv/asc/g2asc.c:709]: (error) fprintf format string has 4 parameters but only 2 are given [src/conv/asc/g2asc.c:762]: (error) fprintf format string has 6 parameters but only 4 are given [src/conv/asc/g2asc.c:1212]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1213]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1214]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1215]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1245]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1246]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1247]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/asc/g2asc.c:1250]: (error) fprintf format string has 2 parameters but only 1 are given [src/conv/bot_shell-vtk.c:573]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/bot_shell-vtk.c:575]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/bot_shell-vtk.c:580]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/bot_shell-vtk.c:586]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/comgeom/solid.c:204]: (style) The scope of the variable 'm2' can be reduced [src/conv/conv-vg2g.c:135]: (warning) scanf without field width limits can crash with huge input data [src/conv/cy-g.c:444]: (style) The scope of the variable 'radius' can be reduced [src/conv/dem-g.c:166]: (style) The scope of the variable 'highbyte' can be reduced [src/conv/dem-g.c:167]: (style) The scope of the variable 'lowbyte' can be reduced [src/conv/dem-g.c:299]: (style) The scope of the variable 'tmp_dbl' can be reduced [src/conv/dem-g.c:300]: (style) The scope of the variable 'tmp_long' can be reduced [src/conv/dem-g.c:769]: (style) The scope of the variable 'dem_max_raw_clipped_elevation' can be reduced [src/conv/dem-g.c:770]: (style) The scope of the variable 'dem_max_real_clipped_elevation' can be reduced [src/conv/dem-g.c:861]: (style) The scope of the variable 'dem_max_real_clipped_elevation' can be reduced [src/conv/dxf/bot-bldxf.c:394]: (style) The scope of the variable 'i' can be reduced [src/conv/dxf/bot-bldxf.c:412]: (style) The scope of the variable 'i' can be reduced [src/conv/dxf/bot-bldxf.c:475]: (style) The scope of the variable 'i' can be reduced [src/conv/dxf/bot-bldxf.c:136]: (error) fprintf format string has 5 parameters but only 3 are given [src/conv/dxf/bot-bldxf.c:179]: (error) fprintf format string has 6 parameters but only 2 are given [src/conv/dxf/bot-bldxf.c:209]: (error) fprintf format string has 4 parameters but only 1 are given [src/conv/dxf/bot-bldxf.c:211]: (error) fprintf format string has 5 parameters but only 3 are given [src/conv/dxf/dxf-g.c:888]: (style) The scope of the variable 'i' can be reduced [src/conv/dxf/dxf-g.c:1901]: (style) The scope of the variable 'allowedLength' can be reduced [src/conv/dxf/dxf-g.c:1902]: (style) The scope of the variable 'xScale' can be reduced [src/conv/dxf/dxf-g.c:1903]: (style) The scope of the variable 'yScale' can be reduced [src/conv/dxf/dxf-g.c:1904]: (style) The scope of the variable 'scale' can be reduced [src/conv/dxf/g-dxf.c:391]: (style) The scope of the variable 'i' can be reduced [src/conv/dxf/g-dxf.c:448]: (warning) scanf without field width limits can crash with huge input data [src/conv/dxf/g-dxf.c:456]: (warning) scanf without field width limits can crash with huge input data [src/conv/dxf/g-dxf.c:232]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/enf-g.c:294]: (style) The scope of the variable 'digits' can be reduced [src/conv/enf-g.c:294]: (style) The scope of the variable 'val' can be reduced [src/conv/enf-g.c:323]: (style) The scope of the variable 'digits' can be reduced [src/conv/enf-g.c:323]: (style) The scope of the variable 'val' can be reduced [src/conv/euclid/euclid-g.c:176]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:179]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:398]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:537]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:743]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:756]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid-g.c:775]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_format.c:56]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_format.c:67]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_format.c:78]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_format.c:105]: (error) printf format string has 4 parameters but only 1 are given [src/conv/euclid/euclid_format.c:108]: (error) printf format string has 3 parameters but only 1 are given [src/conv/euclid/euclid_unformat.c:70]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_unformat.c:78]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_unformat.c:96]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/euclid_unformat.c:101]: (error) printf format string has 4 parameters but only 1 are given [src/conv/euclid/g-euclid.c:546]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/g-euclid.c:549]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/g-euclid.c:221]: (error) fprintf format string has 5 parameters but only 2 are given [src/conv/euclid/g-euclid1.c:646]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/g-euclid1.c:649]: (warning) scanf without field width limits can crash with huge input data [src/conv/euclid/g-euclid1.c:158]: (error) fprintf format string has 5 parameters but only 2 are given [src/conv/fast4-g.c:486]: (style) The scope of the variable 'diff' can be reduced [src/conv/fast4-g.c:2803]: (warning) scanf without field width limits can crash with huge input data [src/conv/fast4-g.c:2863]: (warning) scanf without field width limits can crash with huge input data [src/conv/fast4-g.c:2867]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-acad.c:538]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-acad.c:546]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-acad.c:190]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-dot.c:56]: (style) The scope of the variable 'i' can be reduced [src/conv/g-dot.c:292]: (style) Variable 'total' is assigned a value that is never used [src/conv/g-egg.c:248]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-egg.c:256]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-egg.c:118]: (error) fprintf format string has 7 parameters but only 3 are given [src/conv/g-nff.c:413]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-nff.c:421]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-nff.c:115]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-nff.c:300]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-nff.c:538]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-nff.c:541]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-nff.c:559]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-obj.c:147]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-obj.c:155]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-obj.c:366]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-obj.c:379]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1764]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-shell-rect.c:1128]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1132]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1139]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1143]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1202]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1206]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1213]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-shell-rect.c:1217]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-var.c:423]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-vrml.c:958]: (style) The scope of the variable 'nbytes' can be reduced [src/conv/g-vrml.c:959]: (style) The scope of the variable 'tex_len' can be reduced [src/conv/g-vrml.c:960]: (style) The scope of the variable 'bytes_read' can be reduced [src/conv/g-vrml.c:1001]: (error) Resource leak: tex_fd [src/conv/g-vrml.c:649]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-vrml.c:652]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-vrml.c:1061]: (error) fprintf format string has 4 parameters but only 2 are given [src/conv/g-vrml.c:1065]: (error) fprintf format string has 4 parameters but only 2 are given [src/conv/g-vrml.c:1141]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-vrml.c:1142]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-vrml.c:1145]: (error) fprintf format string has 6 parameters but only 4 are given [src/conv/g-vrml.c:1188]: (error) fprintf format string has 4 parameters but only 2 are given [src/conv/g-x3d.c:422]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-x3d.c:425]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-x3d.c:851]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-x3d.c:856]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-x3d.c:924]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:323]: (style) The scope of the variable 'i' can be reduced [src/conv/g-xxx.c:72]: (style) struct or union member 'user_data::info' is never used [src/conv/g-xxx.c:112]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-xxx.c:117]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-xxx.c:345]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:346]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:360]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:361]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:362]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:363]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:364]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:365]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:375]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:376]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:377]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:378]: (error) printf format string has 3 parameters but only 1 are given [src/conv/g-xxx.c:391]: (error) printf format string has 4 parameters but only 2 are given [src/conv/g-xxx_facets.c:79]: (style) The scope of the variable 'i' can be reduced [src/conv/g-xxx_facets.c:131]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-xxx_facets.c:139]: (warning) scanf without field width limits can crash with huge input data [src/conv/g-xxx_facets.c:284]: (error) printf format string has 3 parameters but only 1 are given [src/conv/iges/BrepHandler.cpp:360]: (style) Variable 'isVertex' is assigned a value that is never used [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::_iges' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::shellIndex' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::faceIndex' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::surfaceIndex' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::curveIndex' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:29]: (warning) Member variable 'BrepHandler::edgeIndex' is not initialized in the constructor. [src/conv/iges/BrepHandler.cpp:296]: (warning) Member variable 'PSpaceCurve::curveIndex' is not initialized in the constructor. [src/conv/iges/n_iges.hpp:60]: (warning) Member variable 'IgesDataType<long>::_val' is not initialized in the constructor. [src/conv/iges/n_iges.hpp:60]: (warning) Member variable 'IgesDataType<int>::_val' is not initialized in the constructor. [src/conv/iges/n_iges.hpp:60]: (warning) Member variable 'IgesDataType<double>::_val' is not initialized in the constructor. [src/conv/iges/n_iges.hpp:60]: (warning) Member variable 'IgesDataType<bool>::_val' is not initialized in the constructor. [src/conv/iges/b-spline.c:74]: (style) The scope of the variable 'retval' can be reduced [src/conv/iges/brlcad_brep.cpp:197]: (style) Variable 'vi' is assigned a value that is never used [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::outfp' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_brep_flip' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_brep' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_face' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_loop' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_edge' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_trim' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_vertex' is not initialized in the constructor. [src/conv/iges/brlcad_brep.cpp:34]: (warning) Member variable 'BRLCADBrepHandler::_pt' is not initialized in the constructor. [src/conv/iges/check_names.c:175]: (style) Array index counter is used before limits check [src/conv/iges/g-iges.c:196]: (style) The scope of the variable 'percent' can be reduced [src/conv/iges/g-iges.c:504]: (style) The scope of the variable 'dependent' can be reduced [src/conv/iges/g-iges.c:505]: (style) The scope of the variable 'i' can be reduced [src/conv/iges/g-iges.c:266]: (warning) scanf without field width limits can crash with huge input data [src/conv/iges/g-iges.c:269]: (warning) scanf without field width limits can crash with huge input data [src/conv/iges/get_outer_shell.cpp:30]: (style) Variable 'face_count' is assigned a value that is never used [src/conv/iges/iges.c:391]: (style) The scope of the variable 'line_end' can be reduced [src/conv/iges/iges.c:393]: (style) The scope of the variable 'remaining_chars' can be reduced [src/conv/iges/iges.c:394]: (style) The scope of the variable 'i' can be reduced [src/conv/iges/iges.c:466]: (style) The scope of the variable 'j' can be reduced [src/conv/iges/iges.c:856]: (style) The scope of the variable 'j' can be reduced [src/conv/iges/iges.c:2284]: (style) The scope of the variable 'iges_type' can be reduced [src/conv/iges/iges.c:2287]: (style) The scope of the variable 'name_de' can be reduced [src/conv/iges/iges.c:2288]: (style) The scope of the variable 'i' can be reduced [src/conv/iges/iges.c:2541]: (style) The scope of the variable 'region_count' can be reduced [src/conv/iges/main.c:170]: (warning) scanf without field width limits can crash with huge input data [src/conv/iges/main.c:177]: (warning) scanf without field width limits can crash with huge input data [src/conv/iges/n_iges.cpp:229]: (warning) Member variable 'Record::_gs' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:229]: (warning) Member variable 'Record::_dir' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:236]: (warning) Member variable 'Record::_gs' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:236]: (warning) Member variable 'Record::_dir' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:548]: (warning) Member variable 'IGES::_file' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:548]: (warning) Member variable 'IGES::paramSectionStart' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:548]: (warning) Member variable 'IGES::_global' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:553]: (warning) Member variable 'IGES::_file' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:553]: (warning) Member variable 'IGES::paramSectionStart' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:553]: (warning) Member variable 'IGES::_global' is not initialized in the constructor. [src/conv/iges/n_iges.cpp:336]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:361]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:491]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:572]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:685]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:694]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:745]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/n_iges.cpp:787]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/iges/readmatrix.c:36]: (style) The scope of the variable 'j' can be reduced [src/conv/iges/readname.c:90]: (style) Array index counter is used before limits check [src/conv/iges/showtree.c:146]: (style) The scope of the variable 'i' can be reduced [src/conv/intaval/regtab.cpp:60]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/g-jack.c:483]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/g-jack.c:491]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/g-jack.c:320]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/jack/jack-g.c:66]: (style) The scope of the variable 'doti' can be reduced [src/conv/jack/jack-g.c:174]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/jack-g.c:183]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/jack-g.c:210]: (warning) scanf without field width limits can crash with huge input data [src/conv/jack/jack-g.c:212]: (warning) scanf without field width limits can crash with huge input data [src/conv/nastran-g.c:1129]: (warning) scanf without field width limits can crash with huge input data [src/conv/nastran-g.c:1134]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/asc-nmg.c:231]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/asc-nmg.c:308]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/g-nmg.c:293]: (style) The scope of the variable 'len' can be reduced [src/conv/nmg/g-nmg.c:482]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/g-nmg.c:487]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/nmg-bot.c:124]: (style) The scope of the variable 'ret' can be reduced [src/conv/nmg/nmg-sgp.c:156]: (warning) scanf without field width limits can crash with huge input data [src/conv/nmg/nmg-sgp.c:161]: (warning) scanf without field width limits can crash with huge input data [src/conv/obj-g.c:622]: (style) The scope of the variable 'done' can be reduced [src/conv/obj-g.c:625]: (style) The scope of the variable 'first_vertex_index' can be reduced [src/conv/obj-g.c:626]: (style) The scope of the variable 'last_vertex_index' can be reduced [src/conv/obj-g.c:3125]: (style) The scope of the variable 'tmp_value' can be reduced [src/conv/obj-g.c:3346]: (warning) scanf without field width limits can crash with huge input data [src/conv/obj-g.c:3351]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/g-off.c:159]: (warning) Found calculation inside sizeof() [src/conv/off/g-off.c:131]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/g-off.c:134]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/g-off.c:310]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/off/off-g.c:65]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:75]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:83]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:97]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:106]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:118]: (warning) scanf without field width limits can crash with huge input data [src/conv/off/off-g.c:167]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:303] -> [src/conv/patch/patch-g.c:303]: (style) Same expression on both sides of '&&'. [src/conv/patch/patch-g.c:350] -> [src/conv/patch/patch-g.c:350]: (style) Same expression on both sides of '&&'. [src/conv/patch/patch-g.c:1349]: (style) The scope of the variable 'idx' can be reduced [src/conv/patch/patch-g.c:1353]: (style) The scope of the variable 'cpts' can be reduced [src/conv/patch/patch-g.c:1354]: (style) The scope of the variable 'shflg' can be reduced [src/conv/patch/patch-g.c:1354]: (style) The scope of the variable 'mrflg' can be reduced [src/conv/patch/patch-g.c:1354]: (style) The scope of the variable 'ctflg' can be reduced [src/conv/patch/patch-g.c:1397]: (style) The scope of the variable 'found_thick' can be reduced [src/conv/patch/patch-g.c:2453]: (style) The scope of the variable 'thickness' can be reduced [src/conv/patch/patch-g.c:2453]: (style) The scope of the variable 'ht' can be reduced [src/conv/patch/patch-g.c:2453]: (style) The scope of the variable 'sht' can be reduced [src/conv/patch/patch-g.c:3616]: (style) The scope of the variable 'ret' can be reduced [src/conv/patch/patch-g.c:3920]: (error) Resource leak: fd [src/conv/patch/patch-g.c:3919]: (error) Resource leak: gfp [src/conv/patch/patch-g.c:2706]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:3461]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:3466]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:3526]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:3675]: (warning) scanf without field width limits can crash with huge input data [src/conv/patch/patch-g.c:2706]: (warning) sscanf format string has 0 parameters but 2 are given [src/conv/ply-g.c:216]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:240]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:246]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:252]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:258]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:264]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:270]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:276]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:282]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:370]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:376]: (warning) scanf without field width limits can crash with huge input data [src/conv/ply-g.c:383]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:367]: (style) The scope of the variable 'inv_scale' can be reduced [src/conv/proe-g.c:101]: (style) struct or union member 'ptc_plane::e1' is never used [src/conv/proe-g.c:101]: (style) struct or union member 'ptc_plane::e2' is never used [src/conv/proe-g.c:101]: (style) struct or union member 'ptc_plane::e3' is never used [src/conv/proe-g.c:101]: (style) struct or union member 'ptc_plane::origin' is never used [src/conv/proe-g.c:106]: (style) struct or union member 'ptc_cylinder::e1' is never used [src/conv/proe-g.c:106]: (style) struct or union member 'ptc_cylinder::e2' is never used [src/conv/proe-g.c:106]: (style) struct or union member 'ptc_cylinder::e3' is never used [src/conv/proe-g.c:106]: (style) struct or union member 'ptc_cylinder::origin' is never used [src/conv/proe-g.c:107]: (style) struct or union member 'ptc_cylinder::radius' is never used [src/conv/proe-g.c:320]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:358]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:371]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:455]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:458]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:461]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:464]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:467]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:469]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:471]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:634]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:698]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:705]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:718]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:739]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:880]: (warning) scanf without field width limits can crash with huge input data [src/conv/proe-g.c:1107]: (warning) scanf without field width limits can crash with huge input data [src/conv/raw/raw-g.cpp:103]: (performance) Possible inefficient checking for 'nameLine' emptiness. [src/conv/shp/shp-g.c:164]: (warning) scanf without field width limits can crash with huge input data [src/conv/step/Axis2Placement.cpp:115] -> [src/conv/step/Axis2Placement.cpp:112]: (style) Found duplicate if expressions. [src/conv/step/Axis2Placement2D.cpp:39]: (warning) Member variable 'Axis2Placement2D::p' is not initialized in the constructor. [src/conv/step/Axis2Placement2D.cpp:45]: (warning) Member variable 'Axis2Placement2D::p' is not initialized in the constructor. [src/conv/step/Axis2Placement3D.cpp:39]: (warning) Member variable 'Axis2Placement3D::p' is not initialized in the constructor. [src/conv/step/Axis2Placement3D.cpp:46]: (warning) Member variable 'Axis2Placement3D::p' is not initialized in the constructor. [src/conv/step/BSplineCurve.cpp:96]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineCurve.cpp:145]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineCurveWithKnots.cpp:123]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineCurveWithKnots.cpp:130]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineSurfaceWithKnots.cpp:151]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineSurfaceWithKnots.cpp:156]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineSurfaceWithKnots.cpp:163]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BSplineSurfaceWithKnots.cpp:168]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/BrepWithVoids.cpp:71]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/CompositeCurve.cpp:79]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/CompositeCurve.cpp:120]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/ConnectedFaceSet.cpp:75]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/CurveBoundedSurface.cpp:83]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/DerivedUnit.cpp:69]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/DerivedUnit.cpp:94]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Face.cpp:79]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Face.cpp:106]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Factory.cpp:93]: (style) C-style pointer casting [src/conv/step/Factory.cpp:95]: (style) C-style pointer casting [src/conv/step/Factory.cpp:97]: (style) C-style pointer casting [src/conv/step/Factory.cpp:124]: (style) C-style pointer casting [src/conv/step/Factory.cpp:127]: (style) C-style pointer casting [src/conv/step/GlobalUncertaintyAssignedContext.cpp:79]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUncertaintyAssignedContext.cpp:106]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:99]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:125]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:152]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:176]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:211]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/GlobalUnitAssignedContext.cpp:185]: (style) C-style pointer casting [src/conv/step/GlobalUnitAssignedContext.cpp:185]: (style) Variable 'nu' is assigned a value that is never used [src/conv/step/MassUnit.cpp:57]: (style) Variable 'err' is assigned a value that is never used [src/conv/step/OpenNurbsInterfaces.cpp:1282]: (style) The scope of the variable 'ang_min' can be reduced [src/conv/step/OpenNurbsInterfaces.cpp:130]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:224]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:225]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:230]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:241]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:242]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:251]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:259]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:260]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:347]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:379]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:380]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:385]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:396]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:397]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:411]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:412]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:423]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:591]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:592]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:597]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:611]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:612]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:626]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:627]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:638]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:639]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:644]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:658]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:659]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:673]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:674]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:784]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:824]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:825]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:838]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:839]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:855]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1042]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1063]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1232]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1258]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1316]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1366]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1395]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1402]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1417]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1430]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1440]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1582]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/OpenNurbsInterfaces.cpp:1584]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Path.cpp:62]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Path.cpp:74]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Path.cpp:82]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Path.cpp:109]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Path.cpp:138]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Polyline.cpp:76]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Polyline.cpp:124]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Product.cpp:87]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/ProductRelatedProductCategory.cpp:75]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/RationalBSplineCurve.cpp:96]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/RationalBSplineSurface.cpp:112]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/RationalBSplineSurface.cpp:115]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Representation.cpp:99]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Representation.cpp:114]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Representation.cpp:129]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/Representation.cpp:149]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/STEPWrapper.cpp:440]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:544]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:648]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:681]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:783]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:809]: (style) Unused variable: attrval [src/conv/step/STEPWrapper.cpp:954]: (style) Unused variable: attrval [src/conv/step/Surface.cpp:34]: (warning) Member variable 'Surface::trim_curve_3d_bbox' is not initialized in the constructor. [src/conv/step/Surface.cpp:39]: (warning) Member variable 'Surface::trim_curve_3d_bbox' is not initialized in the constructor. [src/conv/step/SurfaceCurve.cpp:159]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/TrimmedCurve.cpp:170]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/step/TrimmedCurve.cpp:175]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/conv/stl/g-stl.c:149]: (error) Possible null pointer dereference: region_name - otherwise it is redundant to check if region_name is null at line 146 [src/conv/stl/g-stl.c:311]: (style) The scope of the variable 'i' can be reduced [src/conv/stl/g-stl.c:380]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/g-stl.c:388]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/g-stl.c:210]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/stl/g-stl.c:238]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/stl/stl-g.c:234]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/stl-g.c:241]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/stl-g.c:254]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/stl-g.c:275]: (warning) scanf without field width limits can crash with huge input data [src/conv/stl/stl-g.c:635]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/g-tankill.c:458]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/g-tankill.c:461]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/g-tankill.c:359]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/tankill/g-tankill.c:361]: (error) fprintf format string has 3 parameters but only 1 are given [src/conv/tankill/tankill-g.c:574]: (error) Resource leak: in_fp [src/conv/tankill/tankill-g.c:188]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/tankill-g.c:193]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/tankill-g.c:243]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/tankill-g.c:259]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/tankill-g.c:269]: (warning) scanf without field width limits can crash with huge input data [src/conv/tankill/tankill-g.c:278]: (warning) scanf without field width limits can crash with huge input data [src/conv/viewpoint-g.c:188]: (warning) scanf without field width limits can crash with huge input data [src/external/Cubit/g-sat.cpp:841]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:854]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:863]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:872]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:881]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:912]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:924]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:934]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:946]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:955]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:963]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:971]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:979]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:987]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:995]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:1003]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:1011]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:1019]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:1028]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:1039]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/external/Cubit/g-sat.cpp:584]: (style) The scope of the variable 'i' can be reduced [src/external/Cubit/g-sat.cpp:121]: (style) struct or union member 'user_data::info' is never used [src/external/Cubit/g-sat.cpp:125]: (style) Unused variable: c [src/external/Cubit/g-sat.cpp:164]: (style) Variable 'OUTPUT_FILE' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:210]: (style) Unused variable: walk_tree_status [src/external/Cubit/g-sat.cpp:239]: (style) Unused variable: region_body [src/external/Cubit/g-sat.cpp:423]: (style) Unused variable: comb [src/external/Cubit/g-sat.cpp:781]: (style) Unused variable: angles [src/external/Cubit/g-sat.cpp:837]: (style) Variable 'bot' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:850]: (style) Variable 'ars' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:859]: (style) Variable 'half' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:868]: (style) Variable 'pg' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:877]: (style) Variable 'nurb' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:908]: (style) Variable 'arbn' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:920]: (style) Variable 'dsp' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:930]: (style) Variable 'hf' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:942]: (style) Variable 'ebm' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:951]: (style) Variable 'vol' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:959]: (style) Variable 'pipe' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:967]: (style) Variable 'part' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:975]: (style) Variable 'rpc' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:983]: (style) Variable 'rhc' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:991]: (style) Variable 'epa' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:999]: (style) Variable 'ehy' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:1007]: (style) Variable 'eto' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:1015]: (style) Variable 'grip' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:1024]: (style) Variable 'sketch' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:1035]: (style) Variable 'extrude' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:1085]: (style) Variable 'bin' is assigned a value that is never used [src/external/Cubit/g-sat.cpp:385]: (warning) scanf without field width limits can crash with huge input data [src/external/Cubit/g-sat.cpp:390]: (warning) scanf without field width limits can crash with huge input data [src/external/Cubit/g-sat.cpp:617]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:618]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:667]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:668]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:669]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:670]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:671]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:672]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:756]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:757]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:758]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:759]: (error) printf format string has 3 parameters but only 1 are given [src/external/Cubit/g-sat.cpp:828]: (error) printf format string has 4 parameters but only 2 are given [src/external/Cubit/g-sat.cpp:1140]: (error) printf format string has 3 parameters but only 1 are given [src/external/ProEngineer/proe-brl.c:790]: (style) The scope of the variable 'found' can be reduced [src/external/ProEngineer/proe-brl.c:1375]: (style) The scope of the variable 'cb_radius' can be reduced [src/external/Unigraphics/ug-g.c:4541]: (style) The scope of the variable 'i' can be reduced [src/external/Unigraphics/ug-g.c:5718]: (style) The scope of the variable 'j' can be reduced [src/external/Unigraphics/ug-g.c:3910]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses [src/external/Unigraphics/ug_misc.c:170]: (style) The scope of the variable 'e_part' can be reduced [src/external/Unigraphics/ug_misc.c:204]: (style) The scope of the variable 'i' can be reduced [src/external/Unigraphics/ug_misc.c:256]: (style) The scope of the variable 'e_part' can be reduced [src/fb/cell-fb.c:370]: (style) The scope of the variable 'rem' can be reduced [src/fb/cell-fb.c:371]: (style) The scope of the variable 'res' can be reduced [src/fb/cell-fb.c:453]: (style) The scope of the variable 'x1' can be reduced [src/fb/cell-fb.c:631]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:652]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:662]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:672]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:684]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:695]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:707]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:714]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:724]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:739]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:758]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:772]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:790]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:799]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:808]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:816]: (warning) scanf without field width limits can crash with huge input data [src/fb/cell-fb.c:903]: (error) printf format string has 4 parameters but only 1 are given [src/fb/cell-fb.c:917]: (error) printf format string has 3 parameters but only 1 are given [src/fb/cell-fb.c:921]: (error) printf format string has 3 parameters but only 1 are given [src/fb/fb-cmap.c:83]: (error) Resource leak: fp [src/fb/fb-orle.c:80]: (error) Allocation with malloc, setbuf doesn't release it. [src/fb/fbcolor.c:359]: (style) The scope of the variable 'm' can be reduced [src/fb/fbcolor.c:359]: (style) The scope of the variable 'n' can be reduced [src/fb/fbcolor.c:359]: (style) The scope of the variable 'k' can be reduced [src/fb/fbcolor.c:360]: (style) The scope of the variable 'h' can be reduced [src/fb/fbcolor.c:360]: (style) The scope of the variable 's' can be reduced [src/fb/fbcolor.c:360]: (style) The scope of the variable 'v' can be reduced [src/fb/fbcolor.c:360]: (style) The scope of the variable 'foo' can be reduced [src/fb/fbcolor.c:361]: (style) The scope of the variable 'f' can be reduced [src/fb/fbfade.c:313]: (error) Memory leak: loc [src/fb/fbpoint.c:144]: (error) Allocation with malloc, setbuf doesn't release it. [src/fb/fbstretch.c:395]: (style) The scope of the variable 'src_x' can be reduced [src/fb/fbstretch.c:515]: (style) The scope of the variable 'src_x' can be reduced [src/fb/gif2fb.c:274] -> [src/fb/gif2fb.c:274]: (style) Same expression on both sides of '||'. [src/fb/gif2fb.c:103]: (style) The scope of the variable 'idx' can be reduced [src/fb/gif2fb.c:307]: (error) Resource leak: fp [src/fb/orle-fb.c:69]: (style) The scope of the variable 'y' can be reduced [src/fb/pix-fb.c:325]: (style) Checking if unsigned variable 'height' is less than zero. [src/fb/pix-fb.c:330]: (style) Checking if unsigned variable 'height' is less than zero. [src/fb/pixautosize.c:83]: (style) The scope of the variable 'nsamp' can be reduced [src/fb/polar-fb.c:154]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:155]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:418]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:423]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:436]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:450]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:464]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:479]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:492]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:506]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:511]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:530]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:559]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:566]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:573]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:590]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:597]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:604]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:621]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:628]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:635]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:654]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:661]: (warning) scanf without field width limits can crash with huge input data [src/fb/polar-fb.c:668]: (warning) scanf without field width limits can crash with huge input data [src/fb/pp-fb.c:150]: (warning) scanf without field width limits can crash with huge input data [src/fb/pp-fb.c:153]: (warning) scanf without field width limits can crash with huge input data [src/fb/pp-fb.c:376]: (warning) scanf without field width limits can crash with huge input data [src/fb/pp-fb.c:380]: (warning) scanf without field width limits can crash with huge input data [src/fb/tests/fbthreadtest.c:189]: (style) Unused variable: xout [src/fb/tests/fbthreadtest.c:189]: (style) Unused variable: yout [src/fb/tests/fbthreadtest.c:189]: (style) Unused variable: m [src/fb/tests/fbthreadtest.c:189]: (style) Unused variable: xstart [src/fb/tests/fbthreadtest.c:189]: (style) Unused variable: xskip [src/fb/tests/fbthreadtest.c:199]: (style) Variable 'fbname' is assigned a value that is never used [src/fbed/fbed.c:392]: (style) The scope of the variable 'c' can be reduced [src/fbed/fbed.c:1224]: (style) Suspicious condition (assignment+comparison), it can be clarified with parentheses [src/fbed/fbed.c:785]: (style) Variable 'sig' is assigned a value that is never used [src/fbed/fbed.c:339]: (error) Allocation with malloc, setbuf doesn't release it. [src/fbed/fbed.c:1159]: (error) Memory leak: p1 [src/fbed/fbed.c:619]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:644]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:849]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1831]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1838]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1841]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1859]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1865]: (warning) scanf without field width limits can crash with huge input data [src/fbed/fbed.c:1868]: (warning) scanf without field width limits can crash with huge input data [src/fbserv/fbserv.c:220]: (style) Variable 'on' is assigned a value that is never used [src/fbserv/server.c:690]: (style) The scope of the variable 'i' can be reduced [src/gtools/beset/beset.c:85]: (warning) scanf without field width limits can crash with huge input data [src/gtools/beset/fitness.c:341]: (style) The scope of the variable 'i' can be reduced [src/gtools/g_lint.c:847]: (warning) scanf without field width limits can crash with huge input data [src/gtools/g_lint.c:857]: (warning) scanf without field width limits can crash with huge input data [src/gtools/g_lint.c:866]: (warning) scanf without field width limits can crash with huge input data [src/gtools/g_lint.c:910]: (warning) scanf without field width limits can crash with huge input data [src/gtools/g_lint.c:217]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:218]: (error) printf format string has 9 parameters but only 5 are given [src/gtools/g_lint.c:519]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:544]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:574]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:602]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:632]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_lint.c:676]: (error) printf format string has 3 parameters but only 1 are given [src/gtools/g_transfer.c:402]: (style) The scope of the variable 'i' can be reduced [src/gtools/remapid.c:196]: (style) The scope of the variable 'i' can be reduced [src/gtools/remapid.c:737]: (style) The scope of the variable 'region_id' can be reduced [src/gtools/remapid.c:781]: (warning) scanf without field width limits can crash with huge input data [src/irprep/all_sf.c:76]: (style) The scope of the variable 'idx' can be reduced [src/irprep/all_sf.c:80]: (style) The scope of the variable 'numreg' can be reduced [src/irprep/all_sf.c:84]: (style) The scope of the variable 'areaall' can be reduced [src/irprep/all_sf.c:85]: (style) The scope of the variable 'radall' can be reduced [src/irprep/all_sf.c:88]: (style) The scope of the variable 'rho' can be reduced [src/irprep/all_sf.c:88]: (style) The scope of the variable 'phi' can be reduced [src/irprep/all_sf.c:88]: (style) The scope of the variable 'theta' can be reduced [src/irprep/all_sf.c:89]: (style) The scope of the variable 'elev' can be reduced [src/irprep/all_sf.c:89]: (style) The scope of the variable 'az' can be reduced [src/irprep/all_sf.c:89]: (style) The scope of the variable 'rds' can be reduced [src/irprep/all_sf.c:93]: (style) The scope of the variable 'denom' can be reduced [src/irprep/all_sf.c:96]: (style) The scope of the variable 'i' can be reduced [src/irprep/all_sf.c:96]: (style) The scope of the variable 'j' can be reduced [src/irprep/all_sf.c:96]: (style) The scope of the variable 'k' can be reduced [src/irprep/all_sf.c:96]: (style) The scope of the variable 'm' can be reduced [src/irprep/all_sf.c:97]: (style) The scope of the variable 'r' can be reduced [src/irprep/all_sf.c:98]: (style) The scope of the variable 'q' can be reduced [src/irprep/all_sf.c:107]: (style) The scope of the variable 'ret' can be reduced [src/irprep/all_sf.c:259]: (warning) scanf without field width limits can crash with huge input data [src/irprep/all_sf.c:311]: (warning) scanf without field width limits can crash with huge input data [src/irprep/all_sf.c:318]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:139]: (style) The scope of the variable 'i' can be reduced [src/irprep/firpass.c:139]: (style) The scope of the variable 'j' can be reduced [src/irprep/firpass.c:139]: (style) The scope of the variable 'k' can be reduced [src/irprep/firpass.c:139]: (style) The scope of the variable 'ii' can be reduced [src/irprep/firpass.c:140]: (style) The scope of the variable 'ia' can be reduced [src/irprep/firpass.c:142]: (style) The scope of the variable 'idx' can be reduced [src/irprep/firpass.c:150]: (style) The scope of the variable 'flag' can be reduced [src/irprep/firpass.c:152]: (style) The scope of the variable 'num' can be reduced [src/irprep/firpass.c:153]: (style) The scope of the variable 'total' can be reduced [src/irprep/firpass.c:162]: (style) The scope of the variable 'denom' can be reduced [src/irprep/firpass.c:173]: (style) The scope of the variable 'numadjreg' can be reduced [src/irprep/firpass.c:175]: (style) The scope of the variable 'diagonal' can be reduced [src/irprep/firpass.c:176]: (style) The scope of the variable 'xmin' can be reduced [src/irprep/firpass.c:176]: (style) The scope of the variable 'xmax' can be reduced [src/irprep/firpass.c:177]: (style) The scope of the variable 'ymin' can be reduced [src/irprep/firpass.c:177]: (style) The scope of the variable 'ymax' can be reduced [src/irprep/firpass.c:178]: (style) The scope of the variable 'zmin' can be reduced [src/irprep/firpass.c:178]: (style) The scope of the variable 'zmax' can be reduced [src/irprep/firpass.c:185]: (style) The scope of the variable 'facnum' can be reduced [src/irprep/firpass.c:187]: (style) The scope of the variable 'c' can be reduced [src/irprep/firpass.c:189]: (style) The scope of the variable 'icnt' can be reduced [src/irprep/firpass.c:190]: (style) The scope of the variable 'factype' can be reduced [src/irprep/firpass.c:191]: (style) The scope of the variable 'facarea' can be reduced [src/irprep/firpass.c:192]: (style) The scope of the variable 'facmass' can be reduced [src/irprep/firpass.c:193]: (style) The scope of the variable 'facspheat' can be reduced [src/irprep/firpass.c:194]: (style) The scope of the variable 'face1' can be reduced [src/irprep/firpass.c:196]: (style) The scope of the variable 'face2' can be reduced [src/irprep/firpass.c:198]: (style) The scope of the variable 'facabs' can be reduced [src/irprep/firpass.c:200]: (style) The scope of the variable 'faccv' can be reduced [src/irprep/firpass.c:201]: (style) The scope of the variable 'fack' can be reduced [src/irprep/firpass.c:203]: (style) The scope of the variable 'facl' can be reduced [src/irprep/firpass.c:205]: (style) The scope of the variable 'facshape' can be reduced [src/irprep/firpass.c:207]: (style) The scope of the variable 'facradius' can be reduced [src/irprep/firpass.c:208]: (style) The scope of the variable 'facfric' can be reduced [src/irprep/firpass.c:227]: (style) The scope of the variable 'spsarea' can be reduced [src/irprep/firpass.c:239]: (style) The scope of the variable 'numext' can be reduced [src/irprep/firpass.c:240]: (style) The scope of the variable 'numint' can be reduced [src/irprep/firpass.c:241]: (style) The scope of the variable 'numsol' can be reduced [src/irprep/firpass.c:246]: (style) The scope of the variable 'diff' can be reduced [src/irprep/firpass.c:247]: (style) The scope of the variable 'ret' can be reduced [src/irprep/firpass.c:258]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:311]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:332]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:355]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:378]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:404]: (warning) scanf without field width limits can crash with huge input data [src/irprep/firpass.c:609]: (warning) scanf without field width limits can crash with huge input data [src/irprep/ir-X.c:145]: (warning) scanf without field width limits can crash with huge input data [src/irprep/ir-X.c:154]: (warning) scanf without field width limits can crash with huge input data [src/irprep/ir-X.c:383]: (warning) scanf without field width limits can crash with huge input data [src/irprep/ir-X.c:410]: (warning) scanf without field width limits can crash with huge input data [src/irprep/irdisp.c:61]: (warning) scanf without field width limits can crash with huge input data [src/irprep/irdisp.c:69]: (warning) scanf without field width limits can crash with huge input data [src/irprep/irdisp.c:101]: (warning) scanf without field width limits can crash with huge input data [src/irprep/pictx.c:64]: (warning) scanf without field width limits can crash with huge input data [src/irprep/pictx.c:69]: (warning) scanf without field width limits can crash with huge input data [src/irprep/pictx.c:100]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:91]: (style) The scope of the variable 'idx' can be reduced [src/irprep/secpass.c:100]: (style) The scope of the variable 'i' can be reduced [src/irprep/secpass.c:100]: (style) The scope of the variable 'j' can be reduced [src/irprep/secpass.c:102]: (style) The scope of the variable 'nmged' can be reduced [src/irprep/secpass.c:119]: (style) The scope of the variable 'rki' can be reduced [src/irprep/secpass.c:119]: (style) The scope of the variable 'rkj' can be reduced [src/irprep/secpass.c:120]: (style) The scope of the variable 'ki' can be reduced [src/irprep/secpass.c:120]: (style) The scope of the variable 'kj' can be reduced [src/irprep/secpass.c:121]: (style) The scope of the variable 'leni' can be reduced [src/irprep/secpass.c:121]: (style) The scope of the variable 'lenj' can be reduced [src/irprep/secpass.c:122]: (style) The scope of the variable 'areai' can be reduced [src/irprep/secpass.c:123]: (style) The scope of the variable 'a1' can be reduced [src/irprep/secpass.c:124]: (style) The scope of the variable 'l1' can be reduced [src/irprep/secpass.c:124]: (style) The scope of the variable 'l2' can be reduced [src/irprep/secpass.c:124]: (style) The scope of the variable 'l3' can be reduced [src/irprep/secpass.c:124]: (style) The scope of the variable 'l4' can be reduced [src/irprep/secpass.c:135]: (style) The scope of the variable 'diagonal' can be reduced [src/irprep/secpass.c:136]: (style) The scope of the variable 'xmin' can be reduced [src/irprep/secpass.c:136]: (style) The scope of the variable 'xmax' can be reduced [src/irprep/secpass.c:137]: (style) The scope of the variable 'ymin' can be reduced [src/irprep/secpass.c:137]: (style) The scope of the variable 'ymax' can be reduced [src/irprep/secpass.c:138]: (style) The scope of the variable 'zmin' can be reduced [src/irprep/secpass.c:138]: (style) The scope of the variable 'zmax' can be reduced [src/irprep/secpass.c:139]: (style) The scope of the variable 'nadjreg' can be reduced [src/irprep/secpass.c:144]: (style) The scope of the variable 'ret' can be reduced [src/irprep/secpass.c:158]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:184]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:209]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:233]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:267]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:304]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:393]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:407]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:414]: (warning) scanf without field width limits can crash with huge input data [src/irprep/secpass.c:505]: (warning) scanf without field width limits can crash with huge input data [src/irprep/shapefact.c:112]: (style) The scope of the variable 'idx' can be reduced [src/irprep/shapefact.c:115]: (style) The scope of the variable 'rho' can be reduced [src/irprep/shapefact.c:115]: (style) The scope of the variable 'phi' can be reduced [src/irprep/shapefact.c:115]: (style) The scope of the variable 'theta' can be reduced [src/irprep/shapefact.c:116]: (style) The scope of the variable 'areabs' can be reduced [src/irprep/shapefact.c:121]: (style) The scope of the variable 'r' can be reduced [src/irprep/shapefact.c:122]: (style) The scope of the variable 'i' can be reduced [src/irprep/shapefact.c:122]: (style) The scope of the variable 'j' can be reduced [src/irprep/shapefact.c:122]: (style) The scope of the variable 'k' can be reduced [src/irprep/shapefact.c:124]: (style) The scope of the variable 'denom' can be reduced [src/irprep/shapefact.c:125]: (style) The scope of the variable 'elev' can be reduced [src/irprep/shapefact.c:126]: (style) The scope of the variable 'az' can be reduced [src/irprep/shapefact.c:127]: (style) The scope of the variable 'rad' can be reduced [src/irprep/shapefact.c:129]: (style) The scope of the variable 'q' can be reduced [src/irprep/shapefact.c:130]: (style) The scope of the variable 'numreg' can be reduced [src/irprep/shapefact.c:132]: (style) The scope of the variable 'sf' can be reduced [src/irprep/shapefact.c:133]: (style) The scope of the variable 'dump' can be reduced [src/irprep/shapefact.c:142]: (style) The scope of the variable 'totalsf' can be reduced [src/irprep/shapefact.c:143]: (style) The scope of the variable 'totalnh' can be reduced [src/irprep/shapefact.c:147]: (style) The scope of the variable 'c' can be reduced [src/irprep/shapefact.c:148]: (style) The scope of the variable 'icnt' can be reduced [src/irprep/shapefact.c:152]: (style) The scope of the variable 'rnnnum' can be reduced [src/irprep/shapefact.c:155]: (style) The scope of the variable 'jcnt' can be reduced [src/irprep/shapefact.c:156]: (style) The scope of the variable 'equal' can be reduced [src/irprep/shapefact.c:157]: (style) The scope of the variable 'rcpi' can be reduced [src/irprep/shapefact.c:157]: (style) The scope of the variable 'rcpj' can be reduced [src/irprep/shapefact.c:158]: (style) The scope of the variable 'rcp_diff' can be reduced [src/irprep/shapefact.c:159]: (style) The scope of the variable 'rcp_pdiff' can be reduced [src/irprep/shapefact.c:160]: (style) The scope of the variable 'ret' can be reduced [src/irprep/shapefact.c:216]: (warning) scanf without field width limits can crash with huge input data [src/irprep/shapefact.c:236]: (warning) scanf without field width limits can crash with huge input data [src/irprep/shapefact.c:255]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:85]: (style) The scope of the variable 'idx' can be reduced [src/irprep/showtherm.c:89]: (style) The scope of the variable 'i' can be reduced [src/irprep/showtherm.c:89]: (style) The scope of the variable 'j' can be reduced [src/irprep/showtherm.c:89]: (style) The scope of the variable 'k' can be reduced [src/irprep/showtherm.c:92]: (style) The scope of the variable 'c' can be reduced [src/irprep/showtherm.c:106]: (style) The scope of the variable 'numreg_read' can be reduced [src/irprep/showtherm.c:108]: (style) The scope of the variable 'numreg_g' can be reduced [src/irprep/showtherm.c:112]: (style) The scope of the variable 'frst_line' can be reduced [src/irprep/showtherm.c:114]: (style) The scope of the variable 'last_line' can be reduced [src/irprep/showtherm.c:116]: (style) The scope of the variable 'full_line' can be reduced [src/irprep/showtherm.c:119]: (style) The scope of the variable 'radius' can be reduced [src/irprep/showtherm.c:124]: (style) The scope of the variable 'region_hit' can be reduced [src/irprep/showtherm.c:125]: (style) The scope of the variable 'high' can be reduced [src/irprep/showtherm.c:126]: (style) The scope of the variable 'deltaw' can be reduced [src/irprep/showtherm.c:126]: (style) The scope of the variable 'deltah' can be reduced [src/irprep/showtherm.c:128]: (style) The scope of the variable 'denom' can be reduced [src/irprep/showtherm.c:130]: (style) The scope of the variable 'alpha' can be reduced [src/irprep/showtherm.c:130]: (style) The scope of the variable 'beta' can be reduced [src/irprep/showtherm.c:131]: (style) The scope of the variable 'calpha' can be reduced [src/irprep/showtherm.c:131]: (style) The scope of the variable 'salpha' can be reduced [src/irprep/showtherm.c:132]: (style) The scope of the variable 'cbeta' can be reduced [src/irprep/showtherm.c:132]: (style) The scope of the variable 'sbeta' can be reduced [src/irprep/showtherm.c:133]: (style) The scope of the variable 'ret' can be reduced [src/irprep/showtherm.c:591]: (error) Resource leak: fpw [src/irprep/showtherm.c:151]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:168]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:197]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:206]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:237]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:256]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:271]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:286]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:296]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:297]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:298]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:299]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:301]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:303]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:305]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:307]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:328]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:337]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:344]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:362]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:485]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:506]: (warning) scanf without field width limits can crash with huge input data [src/irprep/showtherm.c:513]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2313]: (style) The scope of the variable 'menuval' can be reduced [src/lgt/do_options.c:753]: (style) Variable 'buf1' is not assigned a value [src/lgt/do_options.c:753]: (style) Variable 'buf2' is not assigned a value [src/lgt/do_options.c:814]: (style) Variable 'buf' is not assigned a value [src/lgt/do_options.c:1649]: (style) Variable 'buf' is not assigned a value [src/lgt/do_options.c:3525]: (style) Variable 'pid' is assigned a value that is never used [src/lgt/do_options.c:464]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:479]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:535]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:594]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:631]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:641]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:658]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:667]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:802]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:839]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1166]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1167]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1176]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1204]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1277]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1285]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1290]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1296]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1300]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1305]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1331]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1508]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1515]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1539]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1548]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1612]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1620]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1630]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1674]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1689]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1703]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1711]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1755]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1768]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1781]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1798]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1811]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1834]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1868]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1877]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1910]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1971]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:1991]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2020]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2023]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2143]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2144]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2156]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2180]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2201]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2207]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2226]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2227]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2228]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2239]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2333]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2445]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2446]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2462]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2477]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2507]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2516]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2623]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2659]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2668]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2691]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2700]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2715]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2752]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2762]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2806]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2807]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2820]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2845]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2846]: (warning) scanf without field width limits can crash with huge input data [src/lgt/do_options.c:2859]: (warning) scanf without field width limits can crash with huge input data [src/lgt/execshell.c:109]: (error) Resource leak: tmp_fd [src/lgt/hmenu.c:214]: (style) The scope of the variable 'bit' can be reduced [src/lgt/ir.c:65]: (warning) scanf without field width limits can crash with huge input data [src/lgt/ir.c:71]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:183]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:190]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:195]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:206]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:211]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:218]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:242]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:244]: (warning) scanf without field width limits can crash with huge input data [src/lgt/lgt_db.c:249]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:223]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:227]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:231]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:235]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:239]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:243]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:253]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:268]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:309]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:314]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:327]: (warning) scanf without field width limits can crash with huge input data [src/lgt/mat_db.c:335]: (warning) scanf without field width limits can crash with huge input data [src/lgt/reflect.c:747]: (style) The scope of the variable 'fahrenheit' can be reduced [src/lgt/reflect.c:841]: (style) The scope of the variable 'i' can be reduced [src/lgt/reflect.c:1226]: (style) The scope of the variable 'i' can be reduced [src/libanalyze/tests/density.c:70]: (error) Resource leak: fp [src/libbn/bntester.c:388]: (style) The scope of the variable 'result' can be reduced [src/libbn/bntester.c:415]: (style) The scope of the variable 'result' can be reduced [src/libbn/bntester.c:447]: (style) The scope of the variable 'result' can be reduced [src/libbn/bntester.c:450]: (style) The scope of the variable 't_fail' can be reduced [src/libbn/bntester.c:451]: (style) The scope of the variable 'u_fail' can be reduced [src/libbn/bntester.c:513]: (style) The scope of the variable 'result' can be reduced [src/libbn/bntester.c:515]: (style) The scope of the variable 'd0_fail' can be reduced [src/libbn/bntester.c:516]: (style) The scope of the variable 'd1_fail' can be reduced [src/libbn/list.c:117]: (style) The scope of the variable 'i' can be reduced [src/libbn/list.c:118]: (style) The scope of the variable 'counter' can be reduced [src/libbn/list.c:143]: (style) The scope of the variable 'i' can be reduced [src/libbn/list.c:144]: (style) The scope of the variable 'counter' can be reduced [src/libbn/mat.c:51]: (style) The scope of the variable 'i' can be reduced [src/libbn/msr.c:79]: (style) The scope of the variable 'i' can be reduced [src/libbn/msr.c:116]: (style) The scope of the variable 'i' can be reduced [src/libbn/noise.c:705]: (style) Variable 'noise_signal' is assigned a value that is never used [src/libbn/plane.c:1833]: (error) syntax error [src/libbn/plot3.c:373]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:395]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:421]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:443]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:465]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:489]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:512]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:550]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:570]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:596]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:615]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:638]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:657]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:680]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:699]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:722]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:742]: (style) The scope of the variable 'ret' can be reduced [src/libbn/plot3.c:563]: (error) fprintf format string has 6 parameters but only 2 are given [src/libbn/plot3.c:608]: (error) fprintf format string has 3 parameters but only 1 are given [src/libbn/plot3.c:650]: (error) fprintf format string has 3 parameters but only 1 are given [src/libbn/plot3.c:692]: (error) fprintf format string has 3 parameters but only 1 are given [src/libbn/plot3.c:735]: (error) fprintf format string has 6 parameters but only 2 are given [src/libbn/qmath.c:186]: (style) The scope of the variable 'omega' can be reduced [src/libbn/qmath.c:188]: (style) The scope of the variable 'invsin' can be reduced [src/libbn/tabdata.c:185] -> [src/libbn/tabdata.c:185]: (style) Same expression on both sides of '||'. [src/libbn/tabdata.c:776]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tabdata.c:786]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tabdata.c:913]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tabdata.c:779]: (style) Checking if unsigned variable 'nw' is less than zero. [src/libbn/tcl.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tcl.c:73]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tcl.c:87]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tcl.c:372]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_list.c:390]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_list.c:403]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:47]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:49]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:51]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:53]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:55]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect.c:59]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:48]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:50]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:52]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:54]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:60]: (warning) scanf without field width limits can crash with huge input data [src/libbn/tests/bn_tri_tri_isect_coplanar.c:61]: (warning) scanf without field width limits can crash with huge input data [src/libbn/vert_tree.c:317]: (style) The scope of the variable 'i' can be reduced [src/libbrep/PullbackCurve.cpp:1616]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:1618]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:1729]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:1731]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:1773]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:1775]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2100]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2112]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2114]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2122]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2125]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2249]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2251]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2286]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:2292]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/PullbackCurve.cpp:611]: (style) Variable 'bezier' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:989]: (style) The scope of the variable 'lastgood' can be reduced [src/libbrep/PullbackCurve.cpp:989]: (style) The scope of the variable 'lastbad' can be reduced [src/libbrep/PullbackCurve.cpp:1128]: (style) The scope of the variable 'lastgood' can be reduced [src/libbrep/PullbackCurve.cpp:1128]: (style) The scope of the variable 'lastbad' can be reduced [src/libbrep/PullbackCurve.cpp:176]: (style) Variable 'found' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:989]: (style) Variable 'lastgood' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:989]: (style) Variable 'lastbad' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:1128]: (style) Variable 'lastgood' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:1128]: (style) Variable 'lastbad' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:2052]: (style) Variable 'umid' is assigned a value that is never used [src/libbrep/PullbackCurve.cpp:2053]: (style) Variable 'vmid' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:544]: (style) The scope of the variable 'vdot' can be reduced [src/libbrep/opennurbs_ext.cpp:2399]: (style) Variable 'Ndot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:2419]: (style) Variable 'Xdot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:2440]: (style) Variable 'Ndot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:2452]: (style) Variable 'Xdot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:2471]: (style) Variable 'Ndot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:2483]: (style) Variable 'Xdot' is assigned a value that is never used [src/libbrep/opennurbs_ext.cpp:240]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:323]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:343]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:363]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:383]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:906]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:3264]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_ext.cpp:3294]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libbrep/opennurbs_fit.cpp:835] -> [src/libbrep/opennurbs_fit.cpp:835]: (style) Same expression on both sides of '&&'. [src/libbrep/opennurbs_fit.h:236]: (warning) Member variable 'NurbsSolve::m_xeig' is not initialized in the constructor. [src/libbrep/opennurbs_fit.h:236]: (warning) Member variable 'NurbsSolve::m_feig' is not initialized in the constructor. [src/libbu/backtrace.c:394]: (style) Variable 'moo' is assigned a value that is never used [src/libbu/brlcad_path.c:410]: (style) Variable 'path' is assigned a value that is never used [src/libbu/color.c:123]: (style) The scope of the variable 'hue_int' can be reduced [src/libbu/color.c:191]: (warning) scanf without field width limits can crash with huge input data [src/libbu/color.c:193]: (warning) scanf without field width limits can crash with huge input data [src/libbu/getcwd.c:42]: (style) Variable 'cwd' is assigned a value that is never used [src/libbu/getcwd.c:44]: (style) Variable 'rwd' is assigned a value that is never used [src/libbu/getcwd.c:46]: (style) Variable 'rbuf' is assigned a value that is never used [src/libbu/hist.c:149]: (style) Checking if unsigned variable 'mark_count' is less than zero. [src/libbu/hist.c:156]: (style) Checking if unsigned variable 'mark_count' is less than zero. [src/libbu/htond.c:360]: (style) Statements following return, break, continue, goto or throw will never be executed [src/libbu/htond.c:662]: (style) Statements following return, break, continue, goto or throw will never be executed [src/libbu/htond.c:445]: (style) Unused variable: fix [src/libbu/interrupt.c:103]: (warning) A boolean comparison with the string literal "signal number out of range" is always true. [src/libbu/interrupt.c:138]: (warning) A boolean comparison with the string literal "signal number out of range" is always true. [src/libbu/lex.c:186]: (warning) scanf without field width limits can crash with huge input data [src/libbu/lex.c:200]: (warning) scanf without field width limits can crash with huge input data [src/libbu/lex.c:213]: (warning) scanf without field width limits can crash with huge input data [src/libbu/lex.c:231]: (warning) scanf without field width limits can crash with huge input data [src/libbu/log.c:263]: (style) The scope of the variable 'ret' can be reduced [src/libbu/log.c:209]: (style) Checking if unsigned variable 'len' is less than zero. [src/libbu/malloc.c:115]: (style) Checking if unsigned variable 'bu_memdebug_len' is less than zero. [src/libbu/mappedfile.c:56]: (style) The scope of the variable 'readval' can be reduced [src/libbu/mappedfile.c:57]: (style) The scope of the variable 'bytes_to_go' can be reduced [src/libbu/mappedfile.c:57]: (style) The scope of the variable 'nbytes' can be reduced [src/libbu/parallel.c:122]: (style) struct or union member 'thread_data::cpu_id' is never used [src/libbu/parallel.c:123]: (style) struct or union member 'thread_data::counted' is never used [src/libbu/parallel.c:124]: (style) struct or union member 'thread_data::affinity' is never used [src/libbu/parallel.c]: (information) Interrupted checking because of too many #ifdef configurations. [src/libbu/parse.c:626]: (warning) scanf without field width limits can crash with huge input data [src/libbu/parse.c:2809]: (warning) scanf without field width limits can crash with huge input data [src/libbu/rb_diag.c:93]: (style) The scope of the variable 'i' can be reduced [src/libbu/realpath.c:33]: (style) Unused variable: dirpath [src/libbu/semaphore.c:171]: (warning) Redundant assignment of "i" to itself [src/libbu/semaphore.c:220]: (warning) Redundant assignment of "i" to itself [src/libbu/semaphore.c:79]: (style) The scope of the variable 'i' can be reduced [src/libbu/semaphore.c:81]: (style) Checking if unsigned variable 'nsemaphores' is less than zero. [src/libbu/semaphore.c:154]: (style) Checking if unsigned variable 'nsemaphores' is less than zero. [src/libbu/str.c:42]: (style) Checking if unsigned variable 'size' is less than zero. [src/libbu/str.c:98]: (style) Checking if unsigned variable 'size' is less than zero. [src/libbu/tcl.c:218]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tcl.c:219]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tcl.c:220]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tcl.c:268]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tcl.c:269]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tcl.c:270]: (warning) scanf without field width limits can crash with huge input data [src/libbu/temp.c:149]: (style) Checking if unsigned variable 'i' is positive is always true. [src/libbu/tests/bu_basename.c:38]: (style) Variable 'ans' is assigned a value that is never used [src/libbu/tests/bu_basename.c:39]: (style) Unused variable: buf_input [src/libbu/tests/bu_basename.c:40]: (style) Variable 'res' is assigned a value that is never used [src/libbu/tests/bu_bitv_to_hex.c:74]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_booleanize.c:31]: (style) The scope of the variable 'buf_len' can be reduced [src/libbu/tests/bu_escape.c:51]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_escape.c:52]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_hex_to_bitv.c:67]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_quote.c:91]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_str_isprint.c:60]: (warning) scanf without field width limits can crash with huge input data [src/libbu/tests/bu_vls_vprintf.c:124]: (warning) scanf without field width limits can crash with huge input data [src/libbu/vlb.c:44]: (style) Checking if unsigned variable 'initialSize' is less than zero. [src/libbu/vls.c:312]: (style) Checking if unsigned variable 'len' is less than zero. [src/libbu/vls.c:343]: (style) Checking if unsigned variable 'len' is less than zero. [src/libbu/vls.c:370]: (style) Checking if unsigned variable 'len' is less than zero. [src/libbu/vls.c:394]: (style) Checking if unsigned variable 'len' is less than zero. [src/libbu/vls.c:467]: (style) Checking if unsigned variable 'n' is less than zero. [src/libdm/dm-ogl.c:2160]: (style) The scope of the variable 'width' can be reduced [src/libdm/dm-ogl.c:2161]: (style) The scope of the variable 'height' can be reduced [src/libdm/dm-ogl.c:2162]: (style) The scope of the variable 'bytes_per_pixel' can be reduced [src/libdm/dm-ogl.c:2164]: (style) The scope of the variable 'pixel' can be reduced [src/libdm/dm-ogl.c:2168]: (style) The scope of the variable 'h' can be reduced [src/libdm/dm-ogl.c:2168]: (style) The scope of the variable 'w' can be reduced [src/libdm/dm-ps.c:677]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm-ps.c:687]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm-ps.c:695]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm-ps.c:705]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm-rtgl.c:1470]: (style) The scope of the variable 'i' can be reduced [src/libdm/dm-rtgl.c:1470]: (style) The scope of the variable 'last' can be reduced [src/libdm/dm_obj.c:354]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:371]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:378]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:396]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:414]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:426]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:438]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:538]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:608]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:631]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:638]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:655]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:772]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:784]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:796]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:808]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:822]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:834]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:853]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:872]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1075]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1215]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1272]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1282]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1413]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1496]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1569]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1638]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1703]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1763]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1863]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1914]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:1965]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2017]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2069]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2130]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2199]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2556]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2607]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2712]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2722]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2883]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:2896]: (warning) scanf without field width limits can crash with huge input data [src/libdm/dm_obj.c:272]: (warning) scanf without field width limits can crash with huge input data [src/libdm/query.c:111]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/libdm/query.c:176]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/libfb/asize.c:155]: (warning) scanf without field width limits can crash with huge input data [src/libfb/asize.c:188]: (style) Checking if unsigned variable 'npixels' is less than zero. [src/libfb/fb_generic.c:634]: (style) Checking if unsigned variable 'height' is less than zero. [src/libfb/fb_generic.c:639]: (style) Checking if unsigned variable 'height' is less than zero. [src/libfb/fb_obj.c:147]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:222]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:227]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:232]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:301]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:339]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:386]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:391]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:451]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:456]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:467]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:472]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:630]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:636]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:648]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:653]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:714]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fb_obj.c:719]: (warning) scanf without field width limits can crash with huge input data [src/libfb/fbserv_obj.c:820]: (style) The scope of the variable 'i' can be reduced [src/libfb/fbserv_obj.c:142]: (style) Variable 'on' is assigned a value that is never used [src/libfb/if_X.c:549]: (style) The scope of the variable 'alpha' can be reduced [src/libfb/if_X24.c:2525]: (style) The scope of the variable 'alpha' can be reduced [src/libfb/if_X24.c:3174]: (style) The scope of the variable 'n' can be reduced [src/libfb/if_X24.c:2933]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2936]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2939]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2942]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2945]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2948]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2951]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2954]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_X24.c:2424]: (style) Unused variable: shmid [src/libfb/if_X24.c:2425]: (style) Unused variable: i [src/libfb/if_debug.c:109]: (style) The scope of the variable 'i' can be reduced [src/libfb/if_debug.c:147]: (style) The scope of the variable 'i' can be reduced [src/libfb/if_debug.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_disk.c:200]: (style) Checking if unsigned variable 'bytes_read' is less than zero. [src/libfb/if_mem.c:214]: (style) The scope of the variable 'n' can be reduced [src/libfb/if_ogl.c:368]: (style) The scope of the variable 'y' can be reduced [src/libfb/if_ogl.c:369]: (style) The scope of the variable 'n' can be reduced [src/libfb/if_ogl.c:1114]: (style) The scope of the variable 'alpha' can be reduced [src/libfb/if_ogl.c:1478]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1481]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1484]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1487]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1490]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1493]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1496]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1499]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_ogl.c:1502]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_remote.c:686]: (style) The scope of the variable 'i' can be reduced [src/libfb/if_remote.c:387]: (style) Checking if unsigned variable 'num' is less than zero. [src/libfb/if_tk.c:367]: (style) The scope of the variable 'i' can be reduced [src/libfb/if_tk.c:279]: (error) Memory leak: buffer [src/libfb/if_tk.c:118]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:369]: (style) The scope of the variable 'y' can be reduced [src/libfb/if_wgl.c:370]: (style) The scope of the variable 'n' can be reduced [src/libfb/if_wgl.c:589]: (style) The scope of the variable 'alpha' can be reduced [src/libfb/if_wgl.c:1606]: (style) The scope of the variable 'i' can be reduced [src/libfb/if_wgl.c:566]: (style) Variable 'ret' is assigned a value that is never used [src/libfb/if_wgl.c:853]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:856]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:859]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:862]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:865]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:868]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:871]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:874]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:877]: (warning) scanf without field width limits can crash with huge input data [src/libfb/if_wgl.c:880]: (warning) scanf without field width limits can crash with huge input data [src/libfb/tcl.c:273]: (warning) scanf without field width limits can crash with huge input data [src/libfft/ditsplit.c:46]: (style) Variable 'irfft_adds' is assigned a value that is never used [src/libfft/ditsplit.c:46]: (style) Variable 'irfft_mults' is assigned a value that is never used [src/libgcv/test_bottess.c:166]: (style) The scope of the variable 'failure' can be reduced [src/libgcv/test_bottess.c:169]: (style) The scope of the variable 'failure' can be reduced [src/libgcv/test_bottess.c:177]: (style) The scope of the variable 'failure' can be reduced [src/libgcv/test_bottess.c:180]: (style) The scope of the variable 'failure' can be reduced [src/libgcv/test_bottess.c:166]: (error) printf format string has 10 parameters but only 4 are given [src/libgcv/test_bottess.c:169]: (error) printf format string has 10 parameters but only 4 are given [src/libgcv/test_bottess.c:177]: (error) printf format string has 10 parameters but only 4 are given [src/libgcv/test_bottess.c:180]: (error) printf format string has 10 parameters but only 4 are given [src/libged/adc.c:214]: (warning) scanf without field width limits can crash with huge input data [src/libged/ae2dir.c:68]: (warning) scanf without field width limits can crash with huge input data [src/libged/ae2dir.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/aet.c:88]: (warning) scanf without field width limits can crash with huge input data [src/libged/aet.c:93]: (warning) scanf without field width limits can crash with huge input data [src/libged/aet.c:99]: (warning) scanf without field width limits can crash with huge input data [src/libged/analyze.c:466]: (style) Variable 'tnd' is assigned a value that is never used [src/libged/arb.c:70]: (warning) scanf without field width limits can crash with huge input data [src/libged/arb.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/arot.c:62]: (warning) scanf without field width limits can crash with huge input data [src/libged/arot.c:67]: (warning) scanf without field width limits can crash with huge input data [src/libged/arot.c:72]: (warning) scanf without field width limits can crash with huge input data [src/libged/arot.c:77]: (warning) scanf without field width limits can crash with huge input data [src/libged/attr.c:207]: (style) The scope of the variable 'tabs1' can be reduced [src/libged/autoview.c:73]: (warning) scanf without field width limits can crash with huge input data [src/libged/bb.c:57]: (style) The scope of the variable 'vol' can be reduced [src/libged/bigE.c:118]: (style) The scope of the variable 'solid_is_plate_mode_bot' can be reduced [src/libged/bo.c:40]: (style) The scope of the variable 'minor_type' can be reduced [src/libged/bot_dump.c:577]: (style) The scope of the variable 'ret' can be reduced [src/libged/bot_dump.c:1056]: (style) The scope of the variable 'i' can be reduced [src/libged/bot_dump.c:1131]: (style) The scope of the variable 'i' can be reduced [src/libged/bot_dump.c:1208]: (style) The scope of the variable 'i' can be reduced [src/libged/bot_dump.c:299]: (error) fprintf format string has 7 parameters but only 5 are given [src/libged/bot_dump.c:301]: (error) fprintf format string has 7 parameters but only 5 are given [src/libged/bot_dump.c:303]: (error) fprintf format string has 7 parameters but only 5 are given [src/libged/bot_dump.c:340]: (error) fprintf format string has 10 parameters but only 6 are given [src/libged/bot_dump.c:440]: (error) fprintf format string has 3 parameters but only 1 are given [src/libged/bot_dump.c:493]: (error) fprintf format string has 3 parameters but only 1 are given [src/libged/bot_fuse.c:159]: (style) The scope of the variable 'open_cnt' can be reduced [src/libged/brep.c:196]: (style) The scope of the variable 'ret' can be reduced [src/libged/center.c:72]: (warning) scanf without field width limits can crash with huge input data [src/libged/center.c:77]: (warning) scanf without field width limits can crash with huge input data [src/libged/center.c:82]: (warning) scanf without field width limits can crash with huge input data [src/libged/clone.c:165]: (style) The scope of the variable 'i' can be reduced [src/libged/clone.c:165]: (style) The scope of the variable 'j' can be reduced [src/libged/clone.c:707]: (style) The scope of the variable 'i' can be reduced [src/libged/clone.c:125]: (style) struct or union member 'spline::n_segs' is never used [src/libged/clone.c:229]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/clone.c:234]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/clone.c:237]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/color.c:193]: (warning) scanf without field width limits can crash with huge input data [src/libged/color.c:220]: (warning) scanf without field width limits can crash with huge input data [src/libged/comb_color.c:65]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:572]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:573]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:574]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:575]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:576]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:577]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:578]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:579]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:580]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:581]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:582]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:583]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:584]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:670]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:671]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:672]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:673]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:674]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:675]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:758]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:759]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:760]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:761]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:762]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:763]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:764]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:835]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:836]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:837]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:904]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:905]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:906]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:907]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:908]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:909]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:910]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:1018]: (warning) scanf without field width limits can crash with huge input data [src/libged/combmem.c:1029]: (warning) scanf without field width limits can crash with huge input data [src/libged/concat.c:492]: (warning) scanf without field width limits can crash with huge input data [src/libged/copyeval.c:47]: (style) The scope of the variable 'i' can be reduced [src/libged/dag.cpp:453]: (style) The scope of the variable 'object_id' can be reduced [src/libged/dag.cpp:149]: (style) Variable 'parent_x' is assigned a value that is never used [src/libged/dag.cpp:149]: (style) Variable 'parent_x1' is assigned a value that is never used [src/libged/dag.cpp:149]: (style) Variable 'parent_y1' is assigned a value that is never used [src/libged/dag.cpp:217]: (performance) Possible inefficient checking for 'children' emptiness. [src/libged/dag.cpp:228]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libged/debugbu.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/debuglib.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/debugnmg.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/decompose.c:134]: (style) The scope of the variable 'end_prefix' can be reduced [src/libged/dg_obj.c:1768]: (style) The scope of the variable 'i' can be reduced [src/libged/dg_obj.c:1152]: (warning) scanf without field width limits can crash with huge input data [src/libged/dg_obj.c:3229]: (warning) scanf without field width limits can crash with huge input data [src/libged/dg_obj.c:3300]: (warning) scanf without field width limits can crash with huge input data [src/libged/dg_obj.c:1524]: (error) fprintf format string has 4 parameters but only 1 are given [src/libged/dg_obj.c:2389]: (style) Unused variable: ret [src/libged/dir2ae.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/dir2ae.c:70]: (warning) scanf without field width limits can crash with huge input data [src/libged/dir2ae.c:71]: (warning) scanf without field width limits can crash with huge input data [src/libged/edcodes.c:70]: (style) The scope of the variable 'ret' can be reduced [src/libged/edcomb.c:59]: (warning) scanf without field width limits can crash with huge input data [src/libged/edcomb.c:63]: (warning) scanf without field width limits can crash with huge input data [src/libged/edcomb.c:67]: (warning) scanf without field width limits can crash with huge input data [src/libged/edcomb.c:71]: (warning) scanf without field width limits can crash with huge input data [src/libged/edit.c:939] -> [src/libged/edit.c:939]: (style) Same expression on both sides of '&'. [src/libged/editit.c:257]: (style) The scope of the variable 'ret' can be reduced [src/libged/editit.c:228]: (style) Statements following return, break, continue, goto or throw will never be executed [src/libged/editit.c:59]: (style) Variable 'terminal_opt' is assigned a value that is never used [src/libged/editit.c:187]: (style) Unused variable: editor_basename [src/libged/edpipe.c:552]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:565]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:577]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:646]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:752]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:838]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:842]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:843]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:844]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:928]: (warning) scanf without field width limits can crash with huge input data [src/libged/edpipe.c:933]: (warning) scanf without field width limits can crash with huge input data [src/libged/exists.c:297]: (style) The scope of the variable 'nn' can be reduced [src/libged/exists.c:298]: (style) The scope of the variable 'res' can be reduced [src/libged/exists.c:356]: (style) Variable 'opnd2' is assigned a value that is never used [src/libged/eye.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/eye.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/eye.c:86]: (warning) scanf without field width limits can crash with huge input data [src/libged/eye_pos.c:68]: (warning) scanf without field width limits can crash with huge input data [src/libged/eye_pos.c:73]: (warning) scanf without field width limits can crash with huge input data [src/libged/eye_pos.c:78]: (warning) scanf without field width limits can crash with huge input data [src/libged/ged.c:62]: (warning) scanf without field width limits can crash with huge input data [src/libged/ged.c:284]: (warning) scanf without field width limits can crash with huge input data [src/libged/get_comb.c:43]: (style) The scope of the variable 'i' can be reduced [src/libged/get_comb.c:44]: (style) The scope of the variable 'node_count' can be reduced [src/libged/get_comb.c:45]: (style) The scope of the variable 'actual_count' can be reduced [src/libged/get_obj_bounds.c:171]: (style) The scope of the variable 'i' can be reduced [src/libged/gqa.c:1727]: (style) The scope of the variable 'val' can be reduced [src/libged/gqa.c:1969]: (style) The scope of the variable 'all_hit' can be reduced [src/libged/gqa.c:1970]: (style) The scope of the variable 'hits' can be reduced [src/libged/gqa.c:2302]: (style) The scope of the variable 'is_overlap_only_hit' can be reduced [src/libged/gqa.c:416]: (warning) scanf without field width limits can crash with huge input data [src/libged/gqa.c:558]: (warning) scanf without field width limits can crash with huge input data [src/libged/gqa.c:565]: (warning) scanf without field width limits can crash with huge input data [src/libged/gqa.c:625]: (warning) scanf without field width limits can crash with huge input data [src/libged/gqa.c:650]: (warning) scanf without field width limits can crash with huge input data [src/libged/grid.c:180]: (warning) scanf without field width limits can crash with huge input data [src/libged/grid2model_lu.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libged/grid2model_lu.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/grid2view_lu.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libged/grid2view_lu.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:972]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:978]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:984]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1637]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1664]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1670]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1684]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1692]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1699]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1711]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1723]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1741]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1749]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:1909]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/libged/human.c:969]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:975]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:981]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1297]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1304]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1311]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1318]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1325]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1332]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1339]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1346]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1353]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1360]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1367]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1374]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1381]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1388]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1395]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1402]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1409]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1416]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1423]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1430]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1437]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1444]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1451]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1458]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1465]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1622]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1626]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1630]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1674]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1716]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1735]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1745]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1777]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1782]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1787]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1792]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1797]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1803]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1808]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1813]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1818]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1823]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1828]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1833]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1838]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1843]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1849]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1854]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1859]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1864]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1870]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1875]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1880]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1885]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1890]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1895]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:1900]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:2169]: (warning) scanf without field width limits can crash with huge input data [src/libged/human.c:2176]: (warning) scanf without field width limits can crash with huge input data [src/libged/joint.c:174]: (warning) scanf without field width limits can crash with huge input data [src/libged/keypoint.c:70]: (warning) scanf without field width limits can crash with huge input data [src/libged/keypoint.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/keypoint.c:80]: (warning) scanf without field width limits can crash with huge input data [src/libged/list.c:40]: (style) The scope of the variable 'id' can be reduced [src/libged/loadview.c:155]: (warning) scanf without field width limits can crash with huge input data [src/libged/lookat.c:72]: (warning) scanf without field width limits can crash with huge input data [src/libged/lookat.c:77]: (warning) scanf without field width limits can crash with huge input data [src/libged/lookat.c:82]: (warning) scanf without field width limits can crash with huge input data [src/libged/lt.c:39]: (style) The scope of the variable 'i' can be reduced [src/libged/m2v_point.c:67]: (warning) scanf without field width limits can crash with huge input data [src/libged/m2v_point.c:72]: (warning) scanf without field width limits can crash with huge input data [src/libged/m2v_point.c:77]: (warning) scanf without field width limits can crash with huge input data [src/libged/make.c:97]: (warning) scanf without field width limits can crash with huge input data [src/libged/make.c:107]: (warning) scanf without field width limits can crash with huge input data [src/libged/make.c:668]: (error) sprintf format string has 3 parameters but only 1 are given [src/libged/make_name.c:63]: (warning) scanf without field width limits can crash with huge input data [src/libged/make_pnts.c:115]: (style) The scope of the variable 'idx' can be reduced [src/libged/make_pnts.c:116]: (style) The scope of the variable 'format_string_length' can be reduced [src/libged/make_pnts.c:177]: (style) The scope of the variable 'tmp_value' can be reduced [src/libged/mater.c:157]: (warning) scanf without field width limits can crash with huge input data [src/libged/mater.c:177]: (warning) scanf without field width limits can crash with huge input data [src/libged/mater.c:197]: (warning) scanf without field width limits can crash with huge input data [src/libged/mirror.c:68]: (warning) scanf without field width limits can crash with huge input data [src/libged/mirror.c:82]: (warning) scanf without field width limits can crash with huge input data [src/libged/mirror.c:96]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2grid_lu.c:60]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2grid_lu.c:61]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2grid_lu.c:62]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view.c:62]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view.c:63]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view.c:64]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view_lu.c:54]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view_lu.c:55]: (warning) scanf without field width limits can crash with huge input data [src/libged/model2view_lu.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libged/move_all.c:127]: (style) The scope of the variable 'done' can be reduced [src/libged/move_arb_edge.c:111]: (warning) scanf without field width limits can crash with huge input data [src/libged/move_arb_edge.c:119]: (warning) scanf without field width limits can crash with huge input data [src/libged/move_arb_face.c:141]: (warning) scanf without field width limits can crash with huge input data [src/libged/move_arb_face.c:150]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:147]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:148]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:149]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:466]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:496]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:609]: (warning) scanf without field width limits can crash with huge input data [src/libged/nirt.c:610]: (warning) scanf without field width limits can crash with huge input data [src/libged/ocenter.c:94]: (warning) scanf without field width limits can crash with huge input data [src/libged/ocenter.c:99]: (warning) scanf without field width limits can crash with huge input data [src/libged/ocenter.c:104]: (warning) scanf without field width limits can crash with huge input data [src/libged/orient.c:71]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:71]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:106]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:111]: (warning) scanf without field width limits can crash with huge input data [src/libged/orotate.c:116]: (warning) scanf without field width limits can crash with huge input data [src/libged/oscale.c:73]: (warning) scanf without field width limits can crash with huge input data [src/libged/oscale.c:96]: (warning) scanf without field width limits can crash with huge input data [src/libged/oscale.c:101]: (warning) scanf without field width limits can crash with huge input data [src/libged/oscale.c:106]: (warning) scanf without field width limits can crash with huge input data [src/libged/otranslate.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/otranslate.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/otranslate.c:86]: (warning) scanf without field width limits can crash with huge input data [src/libged/overlay.c:61]: (warning) scanf without field width limits can crash with huge input data [src/libged/perspective.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/png.c:426]: (warning) scanf without field width limits can crash with huge input data [src/libged/png.c:453]: (warning) scanf without field width limits can crash with huge input data [src/libged/pov.c:79]: (warning) scanf without field width limits can crash with huge input data [src/libged/pov.c:89]: (warning) scanf without field width limits can crash with huge input data [src/libged/protate.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/ps.c:347]: (warning) scanf without field width limits can crash with huge input data [src/libged/ps.c:379]: (warning) scanf without field width limits can crash with huge input data [src/libged/ps.c:398]: (warning) scanf without field width limits can crash with huge input data [src/libged/ps.c:406]: (warning) scanf without field width limits can crash with huge input data [src/libged/pscale.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/ptranslate.c:80]: (warning) scanf without field width limits can crash with huge input data [src/libged/put_comb.c:457]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:250]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:281]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:282]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:283]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:316]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:317]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:318]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:351]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:352]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:353]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:386]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:387]: (warning) scanf without field width limits can crash with huge input data [src/libged/qray.c:388]: (warning) scanf without field width limits can crash with huge input data [src/libged/quat.c:63]: (warning) scanf without field width limits can crash with huge input data [src/libged/quat.c:64]: (warning) scanf without field width limits can crash with huge input data [src/libged/quat.c:65]: (warning) scanf without field width limits can crash with huge input data [src/libged/quat.c:66]: (warning) scanf without field width limits can crash with huge input data [src/libged/qvrot.c:84]: (warning) scanf without field width limits can crash with huge input data [src/libged/qvrot.c:89]: (warning) scanf without field width limits can crash with huge input data [src/libged/qvrot.c:94]: (warning) scanf without field width limits can crash with huge input data [src/libged/qvrot.c:99]: (warning) scanf without field width limits can crash with huge input data [src/libged/rcodes.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/rect.c:314]: (warning) scanf without field width limits can crash with huge input data [src/libged/red.c:561]: (error) Possible null pointer dereference: comb - otherwise it is redundant to check if comb is null at line 557 [src/libged/red.c:217]: (style) The scope of the variable 'gedret' can be reduced [src/libged/red.c:740]: (style) The scope of the variable 'counter' can be reduced [src/libged/red.c:742]: (style) The scope of the variable 'have_tmp_name' can be reduced [src/libged/regdef.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libged/regdef.c:66]: (warning) scanf without field width limits can crash with huge input data [src/libged/regdef.c:79]: (warning) scanf without field width limits can crash with huge input data [src/libged/regdef.c:88]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:82]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:83]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:89]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:94]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:116]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:117]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:133]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:134]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:150]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:151]: (warning) scanf without field width limits can crash with huge input data [src/libged/rfarb.c:166]: (warning) scanf without field width limits can crash with huge input data [src/libged/rmater.c:72]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot.c:81]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot.c:86]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot_point.c:70]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot_point.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/rot_point.c:80]: (warning) scanf without field width limits can crash with huge input data [src/libged/rotate_arb_face.c:58]: (style) The scope of the variable 'pnt5' can be reduced [src/libged/rotate_arb_face.c:110]: (warning) scanf without field width limits can crash with huge input data [src/libged/rotate_arb_face.c:126]: (warning) scanf without field width limits can crash with huge input data [src/libged/rotate_arb_face.c:143]: (warning) scanf without field width limits can crash with huge input data [src/libged/rt.c:310]: (style) The scope of the variable 'i' can be reduced [src/libged/rt.c:76]: (error) fprintf format string has 4 parameters but only 1 are given [src/libged/rtwizard.c:57]: (style) The scope of the variable 'i' can be reduced [src/libged/scale.c:40]: (style) The scope of the variable 'args_read' can be reduced [src/libged/scale.c:62]: (warning) scanf without field width limits can crash with huge input data [src/libged/scale.c:68]: (warning) scanf without field width limits can crash with huge input data [src/libged/scale.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/scale.c:82]: (warning) scanf without field width limits can crash with huge input data [src/libged/search.c:103]: (style) The scope of the variable 'i' can be reduced [src/libged/select.c:322]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:346]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:347]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:348]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:367]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:368]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:369]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:370]: (warning) scanf without field width limits can crash with huge input data [src/libged/select.c:451]: (warning) scanf without field width limits can crash with huge input data [src/libged/set_transparency.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/setview.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/setview.c:74]: (warning) scanf without field width limits can crash with huge input data [src/libged/setview.c:79]: (warning) scanf without field width limits can crash with huge input data [src/libged/shaded_mode.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/simulate/simcollisionalgo.cpp:91]: (style) The scope of the variable 'i' can be reduced [src/libged/simulate/simcollisionalgo.h:61]: (warning) Member variable 'btRTCollisionAlgorithm::m_ownManifold' is not initialized in the constructor. [src/libged/simulate/simcollisionalgo.h:61]: (warning) Member variable 'btRTCollisionAlgorithm::m_manifoldPtr' is not initialized in the constructor. [src/libged/simulate/simphysics.cpp:406] -> [src/libged/simulate/simphysics.cpp:406]: (style) Same expression on both sides of '&&'. [src/libged/simulate/simphysics.cpp:401]: (style) The scope of the variable 'rv' can be reduced [src/libged/simulate/simphysics.cpp:58]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simphysics.cpp:60]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simphysics.cpp:63]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simphysics.cpp:67]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simphysics.cpp:69]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simphysics.cpp:72]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/simulate/simrt.c:346]: (style) The scope of the variable 'i' can be reduced [src/libged/simulate/simutils.c:184]: (style) The scope of the variable 'argc' can be reduced [src/libged/simulate/simutils.c:114]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/libged/size.c:59]: (warning) scanf without field width limits can crash with huge input data [src/libged/slew.c:73]: (warning) scanf without field width limits can crash with huge input data [src/libged/slew.c:78]: (warning) scanf without field width limits can crash with huge input data [src/libged/slew.c:84]: (warning) scanf without field width limits can crash with huge input data [src/libged/solids_on_ray.c:220]: (warning) scanf without field width limits can crash with huge input data [src/libged/solids_on_ray.c:221]: (warning) scanf without field width limits can crash with huge input data [src/libged/tables.c:122]: (style) The scope of the variable 'k' can be reduced [src/libged/tire.c:1875]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1879]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1887]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1891]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1895]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1899]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1903]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1907]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1911]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1915]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1919]: (warning) scanf without field width limits can crash with huge input data [src/libged/tire.c:1923]: (warning) scanf without field width limits can crash with huge input data [src/libged/tol.c:142]: (warning) scanf without field width limits can crash with huge input data [src/libged/tops.c:161]: (style) The scope of the variable 'i' can be reduced [src/libged/tra.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/tra.c:80]: (warning) scanf without field width limits can crash with huge input data [src/libged/tra.c:85]: (warning) scanf without field width limits can crash with huge input data [src/libged/v2m_point.c:69]: (warning) scanf without field width limits can crash with huge input data [src/libged/v2m_point.c:74]: (warning) scanf without field width limits can crash with huge input data [src/libged/v2m_point.c:79]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:173]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:213]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:264]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:316]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:372]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:480]: (warning) scanf without field width limits can crash with huge input data [src/libged/vdraw.c:587]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2grid_lu.c:58]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2grid_lu.c:59]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2grid_lu.c:60]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_lu.c:55]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_lu.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_lu.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_vec.c:55]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_vec.c:56]: (warning) scanf without field width limits can crash with huge input data [src/libged/view2model_vec.c:57]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:210]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:338]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:343]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:349]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:491]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:496]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:501]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:790]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:916]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:921]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:926]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:994]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:999]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1004]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1072]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1077]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1082]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1155]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1225]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1235]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1309]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1583]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1588]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1593]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1698]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1703]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1708]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1784]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1789]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1795]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:1997]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2002]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2007]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2080]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2085]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2090]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2150]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2155]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2160]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2168]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2215]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2220]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2225]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2282]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2287]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2292]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2349]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2358]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2367]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2435]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2444]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2453]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2518]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2527]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2536]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2626]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2740]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2741]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2751]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2752]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2829]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2830]: (warning) scanf without field width limits can crash with huge input data [src/libged/view_obj.c:2831]: (warning) scanf without field width limits can crash with huge input data [src/libged/voxelize.c:126]: (warning) scanf without field width limits can crash with huge input data [src/libged/voxelize.c:143]: (warning) scanf without field width limits can crash with huge input data [src/libged/voxelize.c:150]: (warning) scanf without field width limits can crash with huge input data [src/libged/wcodes.c:79]: (style) The scope of the variable 'i' can be reduced [src/libged/wdb_bigE.c:131]: (style) The scope of the variable 'solid_is_plate_mode_bot' can be reduced [src/libged/wdb_nirt.c:166]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:167]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:168]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:499]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:524]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:619]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_nirt.c:620]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:555]: (style) The scope of the variable 'id' can be reduced [src/libged/wdb_obj.c:849]: (style) The scope of the variable 'i' can be reduced [src/libged/wdb_obj.c:3978]: (style) The scope of the variable 'done' can be reduced [src/libged/wdb_obj.c:5963]: (style) The scope of the variable 'i' can be reduced [src/libged/wdb_obj.c:9115]: (style) The scope of the variable 'minor_type' can be reduced [src/libged/wdb_obj.c:5760]: (error) Array index -1 is out of bounds [src/libged/wdb_obj.c:1160]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1173]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1337]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1363]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1493]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1519]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1546]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:1650]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:5780]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:6452]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_obj.c:5780]: (warning) sscanf format string has 1 parameters but 2 are given [src/libged/wdb_qray.c:269]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:304]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:305]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:306]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:346]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:347]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:348]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:384]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:385]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:386]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:422]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:423]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_qray.c:424]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:164]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:198]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:245]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:297]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:346]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:453]: (warning) scanf without field width limits can crash with huge input data [src/libged/wdb_vdraw.c:553]: (warning) scanf without field width limits can crash with huge input data [src/libged/which.c:98]: (warning) scanf without field width limits can crash with huge input data [src/libged/which.c:98]: (warning) sscanf format string has 1 parameters but 2 are given [src/libged/ypr.c:74]: (warning) scanf without field width limits can crash with huge input data [src/libged/ypr.c:75]: (warning) scanf without field width limits can crash with huge input data [src/libged/ypr.c:76]: (warning) scanf without field width limits can crash with huge input data [src/libged/zoom/zoom.c:62]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/liboslrend.cpp:33]: (style) C-style pointer casting [src/liboptical/liboslrend.cpp:244]: (style) The scope of the variable 'p' can be reduced [src/liboptical/oslexec_pvt.h:216]: (warning) Member variable 'ShaderMaster::m_firstparam' is not initialized in the constructor. [src/liboptical/oslexec_pvt.h:216]: (warning) Member variable 'ShaderMaster::m_lastparam' is not initialized in the constructor. [src/liboptical/oslexec_pvt.h:216]: (warning) Member variable 'ShaderMaster::m_maincodebegin' is not initialized in the constructor. [src/liboptical/oslexec_pvt.h:216]: (warning) Member variable 'ShaderMaster::m_maincodeend' is not initialized in the constructor. [src/liboptical/liboslrend.cpp:29]: (warning) Member variable 'OSLRenderer::handle' is not initialized in the constructor. [src/liboptical/oslexec_pvt.h:475]: (warning) A boolean comparison with the string literal "should not append to optimized group" is always true. [src/liboptical/photonmap.c:177]: (style) The scope of the variable 'i' can be reduced [src/liboptical/photonmap.c:177]: (style) The scope of the variable 'MaxInd' can be reduced [src/liboptical/photonmap.c:229]: (style) The scope of the variable 'i' can be reduced [src/liboptical/photonmap.c:350]: (style) The scope of the variable 'i' can be reduced [src/liboptical/photonmap.c:1162]: (style) The scope of the variable 'ret' can be reduced [src/liboptical/photonmap.c:1164]: (style) The scope of the variable 'i' can be reduced [src/liboptical/photonmap.c:1283]: (style) The scope of the variable 'ret' can be reduced [src/liboptical/photonmap.c:1347]: (style) The scope of the variable 'i' can be reduced [src/liboptical/photonmap.c:1348]: (style) The scope of the variable 'ratio' can be reduced [src/liboptical/refract.c:389]: (style) The scope of the variable 'code' can be reduced [src/liboptical/sh_brdf.c:247]: (style) The scope of the variable 'exponent' can be reduced [src/liboptical/sh_light.c:1303]: (style) The scope of the variable 'radius' can be reduced [src/liboptical/sh_light.c:1304]: (style) The scope of the variable 'angle' can be reduced [src/liboptical/sh_light.c:1305]: (style) The scope of the variable 'cos_angle' can be reduced [src/liboptical/sh_light.c:1305]: (style) The scope of the variable 'x' can be reduced [src/liboptical/sh_light.c:1305]: (style) The scope of the variable 'y' can be reduced [src/liboptical/sh_light.c:1310]: (style) The scope of the variable 'idx' can be reduced [src/liboptical/sh_light.c:1311]: (style) The scope of the variable 'k' can be reduced [src/liboptical/sh_light.c:1313]: (style) The scope of the variable 'tryagain' can be reduced [src/liboptical/sh_light.c:1314]: (style) The scope of the variable 'VisRayvsLightN' can be reduced [src/liboptical/sh_light.c:1315]: (style) The scope of the variable 'VisRayvsSurfN' can be reduced [src/liboptical/sh_osl.cpp:285]: (style) Unused variable: retval [src/liboptical/sh_osl.cpp:435]: (style) Variable 'osl_sp' is assigned a value that is never used [src/liboptical/sh_osl.cpp:462]: (style) Unused variable: hitp [src/liboptical/sh_osl.cpp:538]: (style) Unused variable: nsamples [src/liboptical/sh_plastic.c:298]: (style) The scope of the variable 'i' can be reduced [src/liboptical/sh_points.c:133]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/sh_stxt.c:120]: (style) Variable 'rdd' is assigned a value that is never used [src/liboptical/sh_toon.c:182]: (style) Variable 'lp' is assigned a value that is never used [src/liboptical/sh_toyota.c:1519]: (style) The scope of the variable 'j' can be reduced [src/liboptical/sh_toyota.c:194]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/sh_toyota.c:201]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/sh_toyota.c:1803]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/sh_toyota.c:1811]: (warning) scanf without field width limits can crash with huge input data [src/liboptical/sh_wood.c:413]: (style) The scope of the variable 'i' can be reduced [src/liboptical/sh_wood.c:591]: (style) The scope of the variable 'mixture' can be reduced [src/liboptical/shade.c:290]: (error) Possible null pointer dereference: mfp - otherwise it is redundant to check if mfp is null at line 363 [src/liboptical/shade.c:57]: (style) The scope of the variable 'i' can be reduced [src/liboptical/wray.c:48]: (style) struct or union member 'vldray::oy' is never used [src/liboptical/wray.c:49]: (style) struct or union member 'vldray::oz' is never used [src/liboptical/wray.c:51]: (style) struct or union member 'vldray::ry' is never used [src/liboptical/wray.c:52]: (style) struct or union member 'vldray::rz' is never used [src/libpc/pcConstraint.cpp:63]: (style) C-style pointer casting [src/libpc/pcVCSet.h:52]: (style) The class 'VCSet' does not have a constructor. [src/libpc/pcVariable.h:516]: (performance) Function parameter 't' should be passed by reference. [src/libpc/pcVariable.h:221]: (performance) Function parameter 't' should be passed by reference. [src/libpc/pcConstraint.cpp:179]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:225]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:327]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:340]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:385]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:427]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:438]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:459]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:471]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:589]: (style) C-style pointer casting [src/libpc/pcVariable.h:627]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVariable.h:657]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:33]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:47]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:52]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:122]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:135]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:146]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:155]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:191]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:196]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcVCSet.cpp:201]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/solver_test.cpp:46]: (style) C-style pointer casting [src/libpc/solver_test.cpp:47]: (style) C-style pointer casting [src/libpc/solver_test.cpp:55]: (style) C-style pointer casting [src/libpc/solver_test.cpp:56]: (style) C-style pointer casting [src/libpc/solver_test.cpp:65]: (style) C-style pointer casting [src/libpc/solver_test.cpp:66]: (style) C-style pointer casting [src/libpc/solver_test.cpp:75]: (style) C-style pointer casting [src/libpc/solver_test.cpp:76]: (style) C-style pointer casting [src/libpc/pcSolver.h:271]: (warning) Member variable 'BackTrackSolver<double>::vcs' is not initialized in the constructor. [src/libpc/pcSolver.h:102]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpc/pcSolver.h:104]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/libpkg/example/server.c:187]: (error) Resource leak: fp [src/libpkg/pkg.c:904]: (style) The scope of the variable 'j' can be reduced [src/libpkg/pkg.c:1465]: (style) The scope of the variable 'i' can be reduced [src/libpkg/pkg.c:873]: (style) Checking if unsigned variable 'len' is less than zero. [src/libpkg/pkg.c:1054]: (style) Checking if unsigned variable 'len' is less than zero. [src/libpkg/pkg.c]: (information) Interrupted checking because of too many #ifdef configurations. [src/libpkg/tpkg.c:284]: (error) Resource leak: fp [src/librt/bundle.c:541]: (style) Variable 'pp' is assigned a value that is never used [src/librt/comb/comb.c:739]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:943]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:956]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:965]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:974]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:983]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:992]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:1003]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:1035]: (warning) scanf without field width limits can crash with huge input data [src/librt/comb/comb.c:648]: (style) Checking if unsigned variable 'mi' is less than zero. [src/librt/comb/db_comb.c:246]: (warning) Found calculation inside sizeof() [src/librt/comb/db_comb.c:530]: (style) Checking if unsigned variable 'len' is less than zero. [src/librt/cut.c:83]: (style) The scope of the variable 'slice' can be reduced [src/librt/cut.c:1214]: (style) The scope of the variable 'k' can be reduced [src/librt/cut.c:887]: (style) The scope of the variable 'i' can be reduced [src/librt/db5_io.c:1005]: (warning) scanf without field width limits can crash with huge input data [src/librt/db5_scan.c:44]: (style) The scope of the variable 'got' can be reduced [src/librt/db5_scan.c:374]: (warning) scanf without field width limits can crash with huge input data [src/librt/db5_types.c:511]: (style) The scope of the variable 'ret' can be reduced [src/librt/db5_types.c:512]: (style) The scope of the variable 'i' can be reduced [src/librt/db5_types.c:604]: (warning) scanf without field width limits can crash with huge input data [src/librt/db_alloc.c:58]: (style) Checking if unsigned variable 'count' is less than zero. [src/librt/db_anim.c:260]: (style) The scope of the variable 'i' can be reduced [src/librt/db_tree.c:1122]: (error) Possible null pointer dereference: curtree - otherwise it is redundant to check if curtree is null at line 1123 [src/librt/db_tree.c:48]: (style) The scope of the variable 'i' can be reduced [src/librt/db_walk.c:95]: (style) The scope of the variable 'i' can be reduced [src/librt/db_walk.c:207]: (style) The scope of the variable 'i' can be reduced [src/librt/namegen.c:137]: (style) The scope of the variable 'i' can be reduced [src/librt/namegen.c:200]: (style) struct or union member 'increment_data::numerval' is never used [src/librt/namegen.c:209]: (style) struct or union member 'object_name_data::object_type' is never used [src/librt/pr.c:496]: (style) The scope of the variable 'return_length' can be reduced [src/librt/prep.c:844]: (style) The scope of the variable 'counter' can be reduced [src/librt/primitives/arb8/arb8.c:701]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/arbn/arbn.c:1159]: (style) The scope of the variable 'val' can be reduced [src/librt/primitives/bot/g_bot_include.c:1378]: (error) Possible null pointer dereference: ptr - otherwise it is redundant to check if ptr is null at line 1379 [src/librt/primitives/bot/g_bot_include.c:57]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/bot/g_bot_include.c:269]: (style) The scope of the variable 'default_normal' can be reduced [src/librt/primitives/bot/bot.c:1892]: (style) The scope of the variable 'li' can be reduced [src/librt/primitives/bot/bot.c:4951]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/bot/bot.c:558]: (style) Variable 'short_spaces' is assigned a value that is never used [src/librt/primitives/bot/bot.c:3455]: (style) Array index i is used before limits check [src/librt/primitives/bot/bot.c:798]: (error) fprintf format string has 3 parameters but only 1 are given [src/librt/primitives/bot/bot.c:829]: (error) fprintf format string has 5 parameters but only 2 are given [src/librt/primitives/brep/brep.cpp:2911]: (style) Variable 'removeedgepoints' is assigned a value that is never used [src/librt/primitives/brep/brep.cpp:3493]: (style) Variable 'max_dist' is assigned a value that is never used [src/librt/primitives/brep/brep.cpp:4438]: (error) Mismatching allocation and deallocation: s [src/librt/primitives/brep/brep.cpp:1108]: (performance) Possible inefficient checking for 'inters' emptiness. [src/librt/primitives/brep/brep.cpp:1286]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep.cpp:1293]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep.cpp:1375]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep.cpp:1453]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep.cpp:1485]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep.cpp:1750]: (warning) Missing bounds check for extra iterator increment in loop. [src/librt/primitives/brep/brep.cpp:1115]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1164]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1174]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1185]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1215]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1231]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1240]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1259]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1334]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1343]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1353]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1361]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1371]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1750]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:2089]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:2175]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:2318]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:3142]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:3194]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:3543]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:4164]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep.cpp:1741]: (performance) Possible inefficient checking for 'hits' emptiness. [src/librt/primitives/brep/brep_debug.cpp:2538]: (style) The scope of the variable 'startindex' can be reduced [src/librt/primitives/brep/brep_debug.cpp:2539]: (style) The scope of the variable 'endindex' can be reduced [src/librt/primitives/brep/brep_debug.cpp:2349]: (error) Possible null pointer dereference: comb [src/librt/primitives/brep/brep_debug.cpp:2585]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:2590]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:2595]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:2600]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:2605]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:2610]: (style) Clarify calculation precedence for - and ? [src/librt/primitives/brep/brep_debug.cpp:122]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:177]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:219]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:1683]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:1738]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:1815]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:1942]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:2132]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/primitives/brep/brep_debug.cpp:426]: (style) Unused variable: width [src/librt/primitives/brep/brep_debug.cpp:426]: (style) Unused variable: height [src/librt/primitives/bspline/bspline.cpp:1359]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/bspline/bspline.cpp:1359]: (style) The scope of the variable 'j' can be reduced [src/librt/primitives/bspline/bspline.cpp:1359]: (style) The scope of the variable 'k' can be reduced [src/librt/primitives/bspline/bspline.cpp:1360]: (style) The scope of the variable 'coords' can be reduced [src/librt/primitives/bspline/nurb_c2.c:52]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/bspline/nurb_knot.c:278]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/cline/cline.c:440]: (error) Possible null pointer dereference: stp - otherwise it is redundant to check if stp is null at line 442 [src/librt/primitives/cline/cline.c:409]: (error) Possible null pointer dereference: hitp - otherwise it is redundant to check if hitp is null at line 403 [src/librt/primitives/cline/cline.c:1018]: (error) sprintf format string has 8 parameters but only 4 are given [src/librt/primitives/cline/cline.c:1021]: (error) sprintf format string has 7 parameters but only 3 are given [src/librt/primitives/dsp/dsp.c:4290]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4296]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4298]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4299]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4300]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4301]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4306 [src/librt/primitives/dsp/dsp.c:4419]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:4424]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:4426]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:4432]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:4434]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:4441]: (error) Possible null pointer dereference: dsp_ip - otherwise it is redundant to check if dsp_ip is null at line 4442 [src/librt/primitives/dsp/dsp.c:1650]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/librt/primitives/dsp/dsp.c:4080]: (style) The scope of the variable 'count' can be reduced [src/librt/primitives/dsp/dsp.c:4137]: (style) The scope of the variable 'got' can be reduced [src/librt/primitives/dsp/dsp.c:170]: (style) struct or union member 'bbox_isect::in_surf' is never used [src/librt/primitives/dsp/dsp.c:171]: (style) struct or union member 'bbox_isect::out_surf' is never used [src/librt/primitives/ebm/ebm.c:76]: (style) struct or union member 'ebm_hit_private::x_cell' is never used [src/librt/primitives/ebm/ebm.c:77]: (style) struct or union member 'ebm_hit_private::y_cell' is never used [src/librt/primitives/extrude/extrude.c:2566]: (error) sprintf format string has 12 parameters but only 4 are given [src/librt/primitives/grip/grip.c:468]: (error) sprintf format string has 3 parameters but only 1 are given [src/librt/primitives/half/half.c:781]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/hf/hf.c:1510]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/metaball/metaball.c:966]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/metaball/metaball.c:982]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/nmg/nmg.c:2684]: (style) The scope of the variable 'ndouble' can be reduced [src/librt/primitives/nmg/nmg.c:636]: (style) struct or union member 'disk_double_array::ndouble' is never used [src/librt/primitives/nmg/nmg.c:637]: (style) struct or union member 'disk_double_array::vals' is never used [src/librt/primitives/nmg/nmg_ck.c:871]: (style) The scope of the variable 'edgeuse_num' can be reduced [src/librt/primitives/nmg/nmg_class.c:932]: (style) The scope of the variable 'class' can be reduced [src/librt/primitives/nmg/nmg_class.c:2242]: (style) The scope of the variable 'share_edges' can be reduced [src/librt/primitives/nmg/nmg_class.c:2243]: (style) The scope of the variable 'lu1_eu_count' can be reduced [src/librt/primitives/nmg/nmg_class.c:2244]: (style) The scope of the variable 'lu2_eu_count' can be reduced [src/librt/primitives/nmg/nmg_extrude.c:645]: (style) The scope of the variable 'eu_no' can be reduced [src/librt/primitives/nmg/nmg_fcut.c:671]: (style) The scope of the variable 'j' can be reduced [src/librt/primitives/nmg/nmg_fcut.c:1531]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/nmg/nmg_fuse.c:587]: (style) The scope of the variable 'coords' can be reduced [src/librt/primitives/nmg/nmg_junk.c:92]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/nmg/nmg_junk.c:111]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/nmg/nmg_junk.c:125]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/nmg/nmg_junk.c:140]: (warning) scanf without field width limits can crash with huge input data [src/librt/primitives/nmg/nmg_mesh.c:565]: (style) Variable 'count' is assigned a value that is never used [src/librt/primitives/nmg/nmg_misc.c:5269]: (style) The scope of the variable 'ret_val' can be reduced [src/librt/primitives/nmg/nmg_misc.c:7827]: (style) The scope of the variable 'found' can be reduced [src/librt/primitives/nmg/nmg_misc.c:8157]: (style) The scope of the variable 'done' can be reduced [src/librt/primitives/nmg/nmg_misc.c:8326]: (style) The scope of the variable 'orientation' can be reduced [src/librt/primitives/nmg/nmg_misc.c:1069]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses [src/librt/primitives/nmg/nmg_misc.c:1108]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses [src/librt/primitives/nmg/nmg_mk.c:2295]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/nmg/nmg_mod.c:1154]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/nmg/nmg_mod.c:1232]: (style) The scope of the variable 'i' can be reduced [src/librt/primitives/nmg/nmg_plot.c:1655]: (style) The scope of the variable 'red' can be reduced [src/librt/primitives/nmg/nmg_plot.c:1655]: (style) The scope of the variable 'green' can be reduced [src/librt/primitives/nmg/nmg_plot.c:1655]: (style) The scope of the variable 'blue' can be reduced [src/librt/primitives/nmg/nmg_tri.c:4085]: (style) The scope of the variable 'on_vertex' can be reduced [src/librt/primitives/nmg/nmg_tri.c:4329]: (style) The scope of the variable 'result1' can be reduced [src/librt/primitives/nmg/nmg_tri.c:4331]: (style) The scope of the variable 'result_tmp' can be reduced [src/librt/primitives/nmg/nmg_tri.c:4334]: (style) The scope of the variable 'orientation_tmp_a' can be reduced [src/librt/primitives/nmg/nmg_tri.c:4334]: (style) The scope of the variable 'orientation_tmp_b' can be reduced [src/librt/primitives/nmg/nmg_tri.c:1762]: (error) sprintf format string has 6 parameters but only 2 are given [src/librt/primitives/nmg/nmg_tri.c:3345]: (error) fprintf format string has 8 parameters but only 6 are given [src/librt/primitives/pipe/pipe.c:785]: (error) sprintf format string has 3 parameters but only 1 are given [src/librt/primitives/rec/rec.c:169]: (style) Variable 'magsq_h' is assigned a value that is never used [src/librt/primitives/sketch/sketch.c:759]: (style) The scope of the variable 'j' can be reduced [src/librt/primitives/sketch/sketch.c:1781]: (error) sprintf format string has 10 parameters but only 4 are given [src/librt/primitives/sketch/sketch.c:1794]: (error) sprintf format string has 3 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1823]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1827]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1845]: (error) sprintf format string has 2 parameters but only 1 are given [src/librt/primitives/sketch/sketch.c:1848]: (error) sprintf format string has 2 parameters but only 1 are given [src/librt/primitives/sketch/sketch.c:1863]: (error) sprintf format string has 2 parameters but only 1 are given [src/librt/primitives/sketch/sketch.c:1866]: (error) sprintf format string has 2 parameters but only 1 are given [src/librt/primitives/sketch/sketch.c:1906]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1910]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1937]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/sketch/sketch.c:1941]: (error) sprintf format string has 4 parameters but only 2 are given [src/librt/primitives/superell/superell.c:749]: (style) struct or union member 'superell_vert_strip::nverts_per_strip' is never used [src/librt/primitives/superell/superell.c:750]: (style) struct or union member 'superell_vert_strip::nverts' is never used [src/librt/primitives/superell/superell.c:753]: (style) struct or union member 'superell_vert_strip::nfaces' is never used [src/librt/primitives/xxx/xxx.c:161]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary [src/librt/search.c:220]: (style) The scope of the variable 'i' can be reduced [src/librt/search.c:490]: (style) The scope of the variable 'i' can be reduced [src/librt/search.c:491]: (style) The scope of the variable 'state' can be reduced [src/librt/search.c:1586]: (style) Variable 'error_return' is assigned a value that is never used [src/librt/shoot.c:76]: (style) The scope of the variable 'i' can be reduced [src/librt/tcl.c:562]: (warning) scanf without field width limits can crash with huge input data [src/librt/test_bot2nurbs.cpp:365]: (style) The scope of the variable 'plotres' can be reduced [src/librt/test_bot2nurbs.cpp:1193]: (style) The scope of the variable 'prev_trim_rev' can be reduced [src/librt/test_bot2nurbs.cpp:1193]: (style) Variable 'prev_trim_rev' is assigned a value that is never used [src/librt/test_bot2nurbs.cpp:262]: (performance) Possible inefficient checking for 'faces' emptiness. [src/librt/test_bot2nurbs.cpp:556]: (performance) Possible inefficient checking for 'faces' emptiness. [src/librt/test_bot2nurbs.cpp:557]: (performance) Possible inefficient checking for 'faces' emptiness. [src/librt/test_bot2nurbs.cpp:638]: (performance) Possible inefficient checking for 'faces' emptiness. [src/librt/test_bot2nurbs.cpp:1294]: (performance) Possible inefficient checking for 'curr_edges' emptiness. [src/librt/test_bot2nurbs.cpp:136]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:145]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:172]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:175]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:191]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:197]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:205]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:268]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:273]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:301]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:309]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:331]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:337]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:349]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:353]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:402]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:445]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:448]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:453]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:474]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:477]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:491]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:525]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:527]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:536]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:546]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:573]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:611]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:628]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:655]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:670]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:672]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:680]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:693]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:782]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:804]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:827]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:880]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:897]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:924]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:932]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:970]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:979]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:991]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:999]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1060]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1125]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1129]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1141]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1167]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1273]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1281]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1314]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1341]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1363]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1368]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1421]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1441]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1577]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_bot2nurbs.cpp:1587]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:77]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:100]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:319]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:330]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:390]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:397]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:404]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:492]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/test_root3-subd.cpp:534]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/tests/nurbs_tests.cpp:93]: (style) The scope of the variable 'all_tests' can be reduced [src/librt/tests/test_dvec.cpp:76]: (style) Variable 'total' is assigned a value that is never used [src/librt/timer-nt.c:51]: (style) The scope of the variable 'percent' can be reduced [src/librt/timerhep.c:55]: (warning) sprintf format string has 5 parameters but 6 are given [src/librt/timerunix.c:66]: (style) The scope of the variable 'percent' can be reduced [src/librt/tree.c:448]: (style) The scope of the variable 'i' can be reduced [src/librt/uvpoints.cpp:498]: (performance) Prefer prefix ++/-- operators for non-primitive types. [src/librt/vlist.c:607]: (warning) scanf without field width limits can crash with huge input data [src/librt/vlist.c:614]: (warning) scanf without field width limits can crash with huge input data [src/librt/vlist.c:626]: (warning) scanf without field width limits can crash with huge input data [src/librtserver/rtserver.c:564]: (style) The scope of the variable 'numPartitions' can be reduced [src/librtserver/rtserver.c:894]: (style) Variable 'id' is assigned a value that is never used [src/librtserver/rtserver.c:551]: (error) fprintf format string has 6 parameters but only 2 are given [src/librtserver/rtserverTest.c:245]: (style) The scope of the variable 'hitCount' can be reduced [src/libtclcad/tclcad_obj.c:3616]: (style) The scope of the variable 'i' can be reduced [src/libtclcad/tclcad_obj.c:3700]: (style) The scope of the variable 'i' can be reduced [src/libtclcad/tclcad_obj.c:3777]: (style) The scope of the variable 'i' can be reduced [src/libtclcad/tclcad_obj.c:4027]: (style) The scope of the variable 'i' can be reduced [src/libtclcad/tclcad_obj.c:4027]: (style) The scope of the variable 'j' can be reduced [src/libtclcad/tclcad_obj.c:4027]: (style) The scope of the variable 'k' can be reduced [src/libtclcad/tclcad_obj.c:7241]: (style) The scope of the variable 'ret' can be reduced [src/libtclcad/tclcad_obj.c:7908]: (style) The scope of the variable 'ac' can be reduced [src/libtclcad/tclcad_obj.c:7154]: (warning) scanf without field width limits can crash with huge input data [src/libtermio/termio.c:481]: (style) Unused variable: i [src/libwdb/arbn.c:53]: (style) Checking if unsigned variable 'neqn' is less than zero. [src/mged/attach.c]: (information) Interrupted checking because of too many #ifdef configurations. [src/mged/bodyio.c:361]: (error) Resource leak: fd [src/mged/bodyio.c:73]: (warning) scanf without field width limits can crash with huge input data [src/mged/bool_rewrite.c:227]: (style) Variable 'lisp' is assigned a value that is never used [src/mged/cad_boundp.c:180]: (warning) scanf without field width limits can crash with huge input data [src/mged/cad_boundp.c:745]: (warning) scanf without field width limits can crash with huge input data [src/mged/cad_parea.c:165]: (warning) scanf without field width limits can crash with huge input data [src/mged/chgview.c:1030]: (style) The scope of the variable 'a_new_match' can be reduced [src/mged/chgview.c:4066]: (style) The scope of the variable 'save_edobj' can be reduced [src/mged/chgview.c:4067]: (style) The scope of the variable 'ret' can be reduced [src/mged/chgview.c:949]: (warning) scanf without field width limits can crash with huge input data [src/mged/clone.c:174]: (style) The scope of the variable 'i' can be reduced [src/mged/clone.c:174]: (style) The scope of the variable 'j' can be reduced [src/mged/clone.c:701]: (style) The scope of the variable 'i' can be reduced [src/mged/clone.c:242]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/mged/clone.c:1049]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/mged/clone.c:949]: (warning) scanf without field width limits can crash with huge input data [src/mged/clone.c:1052]: (warning) scanf without field width limits can crash with huge input data [src/mged/dm-generic.c:84]: (style) The scope of the variable 'status' can be reduced [src/mged/dm-generic.c:310]: (style) The scope of the variable 'save_edflag' can be reduced [src/mged/dm-generic.c:555]: (style) The scope of the variable 'width' can be reduced [src/mged/dm-generic.c:555]: (style) The scope of the variable 'height' can be reduced [src/mged/dm-generic.c:634]: (warning) scanf without field width limits can crash with huge input data [src/mged/dm-generic.c:635]: (warning) scanf without field width limits can crash with huge input data [src/mged/dm-generic.c:636]: (warning) scanf without field width limits can crash with huge input data [src/mged/dodraw.c:600]: (style) The scope of the variable 'failed' can be reduced [src/mged/edarb.c:702]: (style) The scope of the variable 'i' can be reduced [src/mged/edars.c:56]: (style) Variable 'pt_no' is assigned a value that is never used [src/mged/edsol.c:2492]: (style) The scope of the variable 'type' can be reduced [src/mged/edsol.c:4287]: (style) The scope of the variable 'face_no' can be reduced [src/mged/edsol.c:6948]: (style) The scope of the variable 'ret_tcl' can be reduced [src/mged/edsol.c:6984]: (warning) scanf without field width limits can crash with huge input data [src/mged/edsol.c:6908]: (error) sprintf format string has 4 parameters but only 2 are given [src/mged/edsol.c:6937]: (error) sprintf format string has 6 parameters but only 2 are given [src/mged/facedef.c:391]: (style) The scope of the variable 'i' can be reduced [src/mged/facedef.c:391]: (style) The scope of the variable 'temp' can be reduced [src/mged/fbserv.c:1017]: (style) The scope of the variable 'i' can be reduced [src/mged/fbserv.c:70]: (style) Variable 'on' is assigned a value that is never used [src/mged/mged.c:1734]: (style) The scope of the variable 'count' can be reduced [src/mged/mged.c:1735]: (style) The scope of the variable 'ch' can be reduced [src/mged/mged.c:1883]: (style) The scope of the variable 'i' can be reduced [src/mged/mged.c:1108]: (warning) scanf without field width limits can crash with huge input data [src/mged/mged.c:1111]: (warning) scanf without field width limits can crash with huge input data [src/mged/mged.c]: (information) Interrupted checking because of too many #ifdef configurations. [src/mged/plot.c:52]: (style) Variable 'result' is assigned a value that is never used [src/mged/plot.c:53]: (style) Variable 'tol_str' is assigned a value that is never used [src/mged/plot.c:54]: (style) Variable 'is_empty' is assigned a value that is never used [src/mged/predictor.c:94] -> [src/mged/predictor.c:94]: (style) Same expression on both sides of '||'. [src/mged/red.c:82]: (style) struct or union member 'line_list::line' is never used [src/mged/rtif.c:154]: (warning) scanf without field width limits can crash with huge input data [src/mged/rtif.c:156]: (warning) scanf without field width limits can crash with huge input data [src/mged/rtif.c:158]: (warning) scanf without field width limits can crash with huge input data [src/mged/rtif.c:160]: (warning) scanf without field width limits can crash with huge input data [src/mged/rtif.c:163]: (warning) scanf without field width limits can crash with huge input data [src/mged/solids_on_ray.c:58]: (style) struct or union member 'sol_name_dist::name' is never used [src/mged/tedit.c:877]: (style) The scope of the variable 'count' can be reduced [src/mged/tedit.c:374]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:382]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:390]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:397]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:407]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:415]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:423]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:431]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:439]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:447]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:462]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:470]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:478]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:486]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:499]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:526]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:536]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:544]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:554]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:562]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:570]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:577]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:588]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:596]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:604]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:612]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:621]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:629]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:637]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:645]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:652]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:661]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:669]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:677]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:685]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:692]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:701]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:709]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:717]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:725]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:732]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:739]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:748]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:756]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:764]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:772]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:779]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:789]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:797]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:805]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:813]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:820]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:832]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:840]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:848]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:856]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:864]: (warning) scanf without field width limits can crash with huge input data [src/mged/tedit.c:264]: (error) fprintf format string has 4 parameters but only 2 are given [src/mged/tedit.c:272]: (error) fprintf format string has 4 parameters but only 2 are given [src/mged/titles.c:223]: (style) The scope of the variable 'x' can be reduced [src/mged/titles.c:224]: (style) The scope of the variable 'y' can be reduced [src/mged/titles.c:226]: (style) The scope of the variable 'yloc' can be reduced [src/mged/titles.c:227]: (style) The scope of the variable 'xloc' can be reduced [src/mged/titles.c:228]: (style) The scope of the variable 'scroll_ybot' can be reduced [src/mged/update.c:56]: (warning) scanf without field width limits can crash with huge input data [src/mged/usepen.c:363]: (style) The scope of the variable 'isave' can be reduced [src/mged/utility1.c:268]: (style) The scope of the variable 'i' can be reduced [src/mged/utility1.c:61]: (style) struct or union member 'identt::i_index' is never used [src/mged/utility1.c:62]: (style) struct or union member 'identt::i_name' is never used [src/mged/utility1.c:364]: (style) struct or union member 'id_to_names::id' is never used [src/nirt/command.c:536]: (style) The scope of the variable 'k' can be reduced [src/nirt/command.c:590]: (warning) scanf without field width limits can crash with huge input data [src/nirt/command.c:616]: (warning) scanf without field width limits can crash with huge input data [src/nirt/nirt.c:438]: (warning) scanf without field width limits can crash with huge input data [src/nirt/nirt.c:441]: (warning) scanf without field width limits can crash with huge input data [src/nirt/nirt.c:444]: (warning) scanf without field width limits can crash with huge input data [src/nirt/nirt.c:451]: (warning) scanf without field width limits can crash with huge input data [src/nirt/nirt.c:495]: (warning) scanf without field width limits can crash with huge input data [src/nirt/parse_fmt.c:532]: (style) The scope of the variable 'len' can be reduced [src/nirt/read_mat.c:108] -> [src/nirt/read_mat.c:108]: (style) Same expression on both sides of '|'. [src/nirt/read_mat.c:67]: (warning) scanf without field width limits can crash with huge input data [src/nirt/read_mat.c:75]: (warning) scanf without field width limits can crash with huge input data [src/nirt/read_mat.c:88]: (warning) scanf without field width limits can crash with huge input data [src/nirt/showshot.c:73]: (warning) scanf without field width limits can crash with huge input data [src/nirt/showshot.c:119]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/brickwall.c:93]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/brickwall.c:99]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/contours.c:48]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/contours.c:59]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/lens.c:228]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/lens.c:232]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/lens.c:236]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/lens.c:240]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/lens.c:244]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:127]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:203]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:249]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:260]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:289]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/masonry.c:329]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/molecule.c:51]: (style) struct or union member 'atoms::a_id' is never used [src/proc-db/molecule.c:118]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/molecule.c:122]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/molecule.c:132]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/molecule.c:135]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/molecule.c:138]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/pipe.c:125]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/pipe.c:708]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/pipe.c:719]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:292]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:307]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:320]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:333]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:346]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:361]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:374]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:390]: (error) fflush() called on input stream "stdin" may result in undefined behaviour [src/proc-db/sphflake.c:271]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:303]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:317]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:330]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:343]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:384]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:436]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/sphflake.c:450]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/surfaceintersect.cpp:432] -> [src/proc-db/surfaceintersect.cpp:427]: (style) Found duplicate if expressions. [src/proc-db/tube.c:388]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/tube.c:405]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/tube.c:455]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/tube.c:336]: (style) Variable 'last_read_time' is assigned a value that is never used [src/proc-db/tube.c:337]: (style) Variable 'dx' is assigned a value that is never used [src/proc-db/tube.c:355]: (warning) scanf without field width limits can crash with huge input data [src/proc-db/vegetation.c:419]: (style) The scope of the variable 'totalSegments' can be reduced [src/proc-db/vegetation.c:420]: (style) The scope of the variable 'segmentProbability' can be reduced [src/proc-db/vegetation.c:809]: (style) The scope of the variable 'i' can be reduced [src/remrt/remrt.c:520]: (style) The scope of the variable 'done' can be reduced [src/remrt/remrt.c:1441]: (style) The scope of the variable 'fd' can be reduced [src/remrt/remrt.c:1189]: (warning) scanf without field width limits can crash with huge input data [src/remrt/remrt.c:1191]: (warning) scanf without field width limits can crash with huge input data [src/remrt/remrt.c:2859]: (warning) scanf without field width limits can crash with huge input data [src/remrt/remrt.c:3042]: (warning) scanf without field width limits can crash with huge input data [src/remrt/rtsrv.c:172]: (warning) scanf without field width limits can crash with huge input data [src/remrt/rtsrv.c:175]: (warning) scanf without field width limits can crash with huge input data [src/remrt/rtsrv.c:710]: (warning) scanf without field width limits can crash with huge input data [src/rt/do.c:585]: (style) The scope of the variable 'npix' can be reduced [src/rt/do.c:743]: (style) The scope of the variable 'fd' can be reduced [src/rt/do.c:744]: (style) The scope of the variable 'ret' can be reduced [src/rt/heatgraph.c:142]: (style) The scope of the variable 'i' can be reduced [src/rt/heatgraph.c:143]: (style) The scope of the variable 'w' can be reduced [src/rt/opt.c:206]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:245]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:317]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:324]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:345]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:362]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:372]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:375]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:378]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:496]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:541]: (warning) scanf without field width limits can crash with huge input data [src/rt/opt.c:275]: (style) Unused variable: buf [src/rt/read-rtlog.c:189]: (warning) scanf without field width limits can crash with huge input data [src/rt/read-rtlog.c:200]: (warning) scanf without field width limits can crash with huge input data [src/rt/read-rtlog.c:211]: (warning) scanf without field width limits can crash with huge input data [src/rt/read-rtlog.c:221]: (warning) scanf without field width limits can crash with huge input data [src/rt/read-rtlog.c:204]: (error) fprintf format string has 4 parameters but only 1 are given [src/rt/read-rtlog.c:214]: (error) fprintf format string has 3 parameters but only 1 are given [src/rt/read-rtlog.c:267]: (error) fprintf format string has 4 parameters but only 1 are given [src/rt/read-rtlog.c:268]: (error) fprintf format string has 3 parameters but only 1 are given [src/rt/rtscale.c:209]: (style) The scope of the variable 'tickno' can be reduced [src/rt/rtscale.c:371]: (error) fprintf format string has 5 parameters but only 3 are given [src/rt/rtshot.c:559]: (style) The scope of the variable 'i' can be reduced [src/rt/rtshot.c:718]: (style) The scope of the variable 'i' can be reduced [src/rt/rtshot.c:199]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:207]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:214]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:219]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:225]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:231]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtshot.c:237]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtwalk.c:103]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtwalk.c:107]: (warning) scanf without field width limits can crash with huge input data [src/rt/rtwalk.c:450]: (error) fprintf format string has 3 parameters but only 1 are given [src/rt/rtwalk.c:451]: (error) fprintf format string has 3 parameters but only 1 are given [src/rt/view.c:311]: (style) The scope of the variable 'npix' can be reduced [src/rt/viewcheck.c:269]: (style) The scope of the variable 'object_counter' can be reduced [src/rt/viewdir.c:130]: (style) Unused variable: posp [src/rt/viewg3.c:664]: (error) fprintf format string has 12 parameters but only 6 are given [src/rt/viewscat.c:193]: (style) Unused variable: cpu_num [src/rt/viewscat.c:193]: (style) Unused variable: cpus [src/rt/viewsil.c:127]: (style) The scope of the variable 'ret' can be reduced [src/rt/viewweight.c:329]: (style) The scope of the variable 'max_item' can be reduced [src/rt/viewweight.c:337]: (style) The scope of the variable 'id' can be reduced [src/rt/viewweight.c:338]: (style) The scope of the variable 'nregions' can be reduced [src/rt/viewweight.c:339]: (style) The scope of the variable 'ridx' can be reduced [src/rt/viewweight.c:249]: (warning) scanf without field width limits can crash with huge input data [src/rt/viewxray.c:170]: (style) The scope of the variable 'i' can be reduced [src/shapes/bolt.c:114]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:137]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:152]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:167]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:182]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:256]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:278]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:281]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:290]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:293]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:302]: (warning) scanf without field width limits can crash with huge input data [src/shapes/bolt.c:305]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:348]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:352]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:356]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:364]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:368]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:372]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:376]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:380]: (warning) scanf without field width limits can crash with huge input data [src/shapes/coil.c:385]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:724]: (style) The scope of the variable 'poleerrors' can be reduced [src/shapes/fence.c:725]: (style) The scope of the variable 'mesherrors' can be reduced [src/shapes/fence.c:966]: (style) The scope of the variable 'count' can be reduced [src/shapes/fence.c:967]: (style) The scope of the variable 'count2' can be reduced [src/shapes/fence.c:969]: (style) The scope of the variable 'step' can be reduced [src/shapes/fence.c:970]: (style) The scope of the variable 'dx' can be reduced [src/shapes/fence.c:971]: (style) The scope of the variable 'dy' can be reduced [src/shapes/fence.c:972]: (style) The scope of the variable 'dz' can be reduced [src/shapes/fence.c:1824]: (style) The scope of the variable 'len' can be reduced [src/shapes/fence.c:695]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/shapes/fence.c:696]: (error) Undefined behavior: variable is used as parameter and destination in s [n]printf(). [src/shapes/fence.c:336]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:362]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:467]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:480]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:1889]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:1906]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:1923]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:1983]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2034]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2050]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2066]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2114]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2165]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2181]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2229]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2280]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2296]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2344]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2376]: (warning) scanf without field width limits can crash with huge input data [src/shapes/fence.c:2392]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:121]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:134]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:150]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:203]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:206]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:208]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:210]: (warning) scanf without field width limits can crash with huge input data [src/shapes/gastank.c:212]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:122]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:135]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:148]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:158]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:210]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:227]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:228]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:244]: (warning) scanf without field width limits can crash with huge input data [src/shapes/handle.c:245]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:116]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:129]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:145]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:199]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:202]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:204]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:206]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window.c:208]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:119]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:132]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:148]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:158]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:212]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:215]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:217]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:219]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:221]: (warning) scanf without field width limits can crash with huge input data [src/shapes/window_frame.c:223]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:159]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:171]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:191]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:200]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:210]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:219]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:236]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:245]: (warning) scanf without field width limits can crash with huge input data [src/shapes/wire.c:167]: (warning) Expression always evaluates to false. Did you intend to use || instead? [src/sig/a-d.c:43]: (style) The scope of the variable 'i' can be reduced [src/sig/a-d.c:74]: (warning) scanf without field width limits can crash with huge input data [src/sig/dfft.c:126]: (style) The scope of the variable 'j' can be reduced [src/sig/dfft.c:128]: (style) The scope of the variable 'ret' can be reduced [src/sig/dfft.c:206]: (style) The scope of the variable 'value' can be reduced [src/sig/dfft.c:206]: (style) The scope of the variable 'dB' can be reduced [src/sig/fhor.c:209]: (style) The scope of the variable 'x' can be reduced [src/sig/fhor.c:209]: (style) The scope of the variable 'y' can be reduced [src/sig/fhor.c:210]: (style) The scope of the variable 'slope' can be reduced [src/sig/fhor.c:234]: (style) The scope of the variable 'ysign' can be reduced [src/sig/fhor.c:235]: (style) The scope of the variable 'slope' can be reduced [src/sig/fhor.c:260]: (style) Statements following return, break, continue, goto or throw will never be executed [src/sig/smod.c:195]: (style) Checking if unsigned variable 'j' is less than zero. [src/sig/u-bw.c:36]: (style) The scope of the variable 'num' can be reduced [src/sig/u-bw.c:36]: (style) The scope of the variable 'i' can be reduced [src/tab/script-tab.c:166]: (error) printf format string has 9 parameters but only 4 are given [src/tab/scriptsort.c:326]: (style) The scope of the variable 'count' can be reduced [src/tab/tabinterp.c:317]: (style) The scope of the variable 'ch' can be reduced [src/tab/tabinterp.c:318]: (style) The scope of the variable 'i' can be reduced [src/tab/tabinterp.c:248]: (warning) scanf without field width limits can crash with huge input data [src/tab/tabinterp.c:261]: (warning) scanf without field width limits can crash with huge input data [src/util/asc-pl.c:104]: (warning) scanf without field width limits can crash with huge input data [src/util/asc-pl.c:108]: (warning) scanf without field width limits can crash with huge input data [src/util/asc-pl.c:112]: (warning) sscanf format string has 0 parameters but 1 are given [src/util/azel.c:269]: (error) Resource leak: outPtr [src/util/azel.c:99]: (warning) scanf without field width limits can crash with huge input data [src/util/azel.c:148]: (warning) scanf without field width limits can crash with huge input data [src/util/azel.c:155]: (warning) scanf without field width limits can crash with huge input data [src/util/azel.c:162]: (warning) scanf without field width limits can crash with huge input data [src/util/bary.c:160]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:197]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:205]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:225]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:230]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:235]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:240]: (warning) scanf without field width limits can crash with huge input data [src/util/bwcrop.c:201]: (style) Checking if unsigned variable 'len' is less than zero. [src/util/bwrect.c:94]: (error) Resource leak: ofp [src/util/bwrect.c:60]: (warning) scanf without field width limits can crash with huge input data [src/util/bwrect.c:65]: (warning) scanf without field width limits can crash with huge input data [src/util/bwrect.c:70]: (warning) scanf without field width limits can crash with huge input data [src/util/bwthresh.c:62]: (warning) scanf without field width limits can crash with huge input data [src/util/decimate.c:88]: (style) Checking if unsigned variable 'iwidth' is less than zero. [src/util/decimate.c:88]: (style) Checking if unsigned variable 'iheight' is less than zero. [src/util/decimate.c:92]: (style) Checking if unsigned variable 'owidth' is less than zero. [src/util/decimate.c:92]: (style) Checking if unsigned variable 'oheight' is less than zero. [src/util/fix_polysolids.c:81]: (warning) scanf without field width limits can crash with huge input data [src/util/fix_polysolids.c:85]: (warning) scanf without field width limits can crash with huge input data [src/util/imgdims.c:64]: (warning) scanf without field width limits can crash with huge input data [src/util/imgdims.c:121]: (warning) scanf without field width limits can crash with huge input data [src/util/orle-pix.c:57]: (style) The scope of the variable 'scan_ln' can be reduced [src/util/orle-pix.c:130]: (style) The scope of the variable 'pix' can be reduced [src/util/pix-bw3.c:78]: (error) Resource leak: rfp [src/util/pix-bw3.c:78]: (error) Resource leak: bfp [src/util/pix-bw3.c:78]: (error) Resource leak: gfp [src/util/pix-sun.c:50]: (style) struct or union member 'rasterfile::ras_depth' is never used [src/util/pix-sun.c:52]: (style) struct or union member 'rasterfile::ras_type' is never used [src/util/pix-sun.c:53]: (style) struct or union member 'rasterfile::ras_maptype' is never used [src/util/pix-sun.c:54]: (style) struct or union member 'rasterfile::ras_maplength' is never used [src/util/pixbackgnd.c:112]: (style) The scope of the variable 'm' can be reduced [src/util/pixbackgnd.c:112]: (style) The scope of the variable 'n' can be reduced [src/util/pixbackgnd.c:112]: (style) The scope of the variable 'k' can be reduced [src/util/pixbackgnd.c:113]: (style) The scope of the variable 'h' can be reduced [src/util/pixbackgnd.c:113]: (style) The scope of the variable 's' can be reduced [src/util/pixbackgnd.c:113]: (style) The scope of the variable 'v' can be reduced [src/util/pixbackgnd.c:114]: (style) The scope of the variable 'f' can be reduced [src/util/pixbackgnd.c:250]: (style) The scope of the variable 'i' can be reduced [src/util/pixblend.c:210]: (style) Checking if unsigned variable 'len' is less than zero. [src/util/pixborder.c:208]: (style) The scope of the variable 'hue_int' can be reduced [src/util/pixborder.c:93]: (warning) scanf without field width limits can crash with huge input data [src/util/pixborder.c:220]: (error) fprintf format string has 3 parameters but only 1 are given [src/util/pixclump.c:284]: (error) Resource leak: infp [src/util/pixclump.c:284]: (error) Resource leak: outfp [src/util/pixclump.c:201]: (warning) scanf without field width limits can crash with huge input data [src/util/pixcolors.c:145]: (error) Resource leak: fd [src/util/pixcount.c:255]: (error) Resource leak: infp [src/util/pixcount.c:190]: (warning) scanf without field width limits can crash with huge input data [src/util/pixcut.c:78]: (warning) scanf without field width limits can crash with huge input data [src/util/pixdiff.c:140]: (error) Resource leak: f1 [src/util/pixdiff.c:140]: (error) Resource leak: f2 [src/util/pixdsplit.c:206]: (error) Resource leak: infd [src/util/pixdsplit.c:206]: (error) Resource leak: cfd [src/util/pixdsplit.c:206]: (error) Resource leak: dfd [src/util/pixdsplit.c:93]: (warning) scanf without field width limits can crash with huge input data [src/util/pixdsplit.c:94]: (warning) scanf without field width limits can crash with huge input data [src/util/pixdsplit.c:95]: (warning) scanf without field width limits can crash with huge input data [src/util/pixembed.c:136]: (style) Checking if unsigned variable 'xin' is less than zero. [src/util/pixembed.c:136]: (style) Checking if unsigned variable 'yin' is less than zero. [src/util/pixembed.c:136]: (style) Checking if unsigned variable 'xout' is less than zero. [src/util/pixembed.c:136]: (style) Checking if unsigned variable 'yout' is less than zero. [src/util/pixfields.c:150]: (error) Memory leak: line1 [src/util/pixmatte.c:267]: (style) Checking if unsigned variable 'len' is less than zero. [src/util/pixmorph.c:430]: (error) Resource leak: picA [src/util/pixmorph.c:435]: (error) Resource leak: picB [src/util/pixmorph.c:545]: (error) Resource leak: linesfile [src/util/pixmorph.c:283]: (warning) scanf without field width limits can crash with huge input data [src/util/pixmorph.c:339]: (warning) scanf without field width limits can crash with huge input data [src/util/pixmorph.c:501]: (error) fprintf format string has 2 parameters but only 1 are given [src/util/pixmorph.c:506]: (error) fprintf format string has 2 parameters but only 1 are given [src/util/pixmorph.c:467]: (style) Checking if unsigned variable 'pa_width' is less than zero. [src/util/pixmorph.c:467]: (style) Checking if unsigned variable 'pa_height' is less than zero. [src/util/pixrect.c:130]: (warning) scanf without field width limits can crash with huge input data [src/util/pixrect.c:135]: (warning) scanf without field width limits can crash with huge input data [src/util/pixrect.c:140]: (warning) scanf without field width limits can crash with huge input data [src/util/pl-dm.c:425]: (style) The scope of the variable 'status' can be reduced [src/util/plcolor.c:41]: (style) The scope of the variable 'c' can be reduced [src/util/plline2.c:43]: (style) The scope of the variable 'c' can be reduced [src/util/plrot.c:609]: (error) Buffer access out-of-bounds: buf [src/util/plrot.c:226]: (warning) scanf without field width limits can crash with huge input data [src/util/plrot.c:281]: (warning) scanf without field width limits can crash with huge input data [src/util/png-bw.c:72]: (style) The scope of the variable 'value' can be reduced [src/util/png_info.c:58]: (style) Unused variable: white_x [src/util/png_info.c:58]: (style) Unused variable: white_y [src/util/png_info.c:58]: (style) Unused variable: red_x [src/util/png_info.c:58]: (style) Unused variable: red_y [src/util/png_info.c:58]: (style) Unused variable: green_x [src/util/png_info.c:58]: (style) Unused variable: green_y [src/util/png_info.c:58]: (style) Unused variable: blue_x [src/util/png_info.c:58]: (style) Unused variable: blue_y [src/util/terrain.c:660]: (style) The scope of the variable 'in_cookie' can be reduced [src/util/terrain.c:660]: (style) The scope of the variable 'out_cookie' can be reduced [src/util/terrain.c:374]: (style) Variable 'weight' is assigned a value that is never used [src/util/terrain.c:608]: (warning) scanf without field width limits can crash with huge input data [src/util/terrain.c:611]: (warning) scanf without field width limits can crash with huge input data [src/util/texturescale.c:72]: (warning) scanf without field width limits can crash with huge input data [src/util/ttcp.c:612]: (style) The scope of the variable 'cnt' can be reduced [src/util/xyz-pl.c:59]: (warning) scanf without field width limits can crash with huge input data
(information) Cppcheck cannot find all the include files (use --check-config for details)