summaryrefslogtreecommitdiff
path: root/app/lib/params/mkcarpart.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
commit8dc8048d2cd4996825470bbfcb1e09e2a2630035 (patch)
tree9804282102f8c40d27407b9c94119b35eeb5013c /app/lib/params/mkcarpart.c
parentc9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff)
parentb6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/lib/params/mkcarpart.c')
-rw-r--r--app/lib/params/mkcarpart.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/lib/params/mkcarpart.c b/app/lib/params/mkcarpart.c
index 1d2bf9f..21a46d1 100644
--- a/app/lib/params/mkcarpart.c
+++ b/app/lib/params/mkcarpart.c
@@ -13,7 +13,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stdio.h>
@@ -272,10 +272,10 @@ void processFile(
char desc[256];
long color;
char scale[256];
- double length;
- double width;
- double couplerLength;
- double truckCenter;
+ double length = 0.0;
+ double width = 0.0;
+ double couplerLength = 0.0;
+ double truckCenter = 0.0;
double ratio = 0.0;
int option = 0;
int type = 30100;
@@ -436,8 +436,6 @@ void processFile(
int main ( int argc, char * argv[] )
{
- char *exename = argv[ 0 ];
-
argv++;
argc--;