chore(bkgpslog):Remove unsetting of superfluous vars
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:47:45 +0000 (01:47 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:47:45 +0000 (01:47 +0000)
Variables were removed in streamlining of buffer processing.

exec/bkgpslog

index 215dd7bbf8effe98a81e91e062d1aaaf69d4fcfd..aed0e9076409753a5017c49dcc90f5247dd2c172 100755 (executable)
@@ -254,7 +254,7 @@ main() {
            echo "$buffer" | gpsbabel -i nmea -f - -o kml -F - > "$DIROUT"/"$FILEOUT_KML"  & # Save KML format
            vbm "DEBUG:Completed buffer session $debugCounter ." 1>&2;
            # Reset buffer and filenames
            echo "$buffer" | gpsbabel -i nmea -f - -o kml -F - > "$DIROUT"/"$FILEOUT_KML"  & # Save KML format
            vbm "DEBUG:Completed buffer session $debugCounter ." 1>&2;
            # Reset buffer and filenames
-           unset buffer buffer_GPX buffer_KML FILEOUT_BASENAME FILEOUT_NMEA FILEOUT_GPX FILEOUT_KML;
+           unset buffer FILEOUT_BASENAME FILEOUT_NMEA FILEOUT_GPX FILEOUT_KML;
        done
     fi
 } # Main function.
        done
     fi
 } # Main function.