From 5df9421eb28836e72d112da635fdabbc59ad7185 Mon Sep 17 00:00:00 2001 From: Attila Veghelyi Date: Tue, 30 Jan 2024 19:24:17 +0100 Subject: Follow version 0.12.2 --- progP16.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'progP16.c') diff --git a/progP16.c b/progP16.c index 3871494..54d6727 100644 --- a/progP16.c +++ b/progP16.c @@ -1,6 +1,6 @@ /** * \file progP16.c - algorithms to program the PIC16 (14 bit word) family of microcontrollers - * Copyright (C) 2009-2022 Alberto Maccioni + * Copyright (C) 2009-2023 Alberto Maccioni * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1146,7 +1146,7 @@ void Read16F18xxx(int dim,int dim2,int dim3,int options) PrintMessage(strings[S_noV33reg]); //Can't find 3.3V expansion board return; } - char s[256],t[256],*aux; + char s[256],t[256]; if(dim>0x8000||dim<0){ PrintMessage(strings[S_CodeLim]); //"Code size exceeds limits\r\n" return; @@ -6280,7 +6280,7 @@ void Write16F18xxx(int dim,int dim2,int options) PrintStatusSetup(); if(saveLog) fprintf(logfile,"%s\n",strings[S_StartCodeProg]); fflush(logfile); - int valid,inc; + int valid; for(;dim>0&&memCODE_W[dim-1]>=0x3fff;dim--); //skip empty space at end if(dim%rowN) dim+=rowN-dim%rowN; //grow to 32 word multiple for(i=k=0,j=0;i