From b9f269418066f9b31bdaf4976f88ab781a25eeb4 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 28 Apr 2004 22:06:07 +0000 Subject: [PATCH] Modifiche dalla versione Linux sulla 2.1 git-svn-id: svn://10.65.10.50/trunk@12029 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/ve3100.cpp | 4 ++-- ve/ve3200.cpp | 2 +- ve/ve3300.cpp | 2 +- ve/ve3300.uml | 6 +----- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ve/ve3100.cpp b/ve/ve3100.cpp index 494d22baf..bd480c498 100755 --- a/ve/ve3100.cpp +++ b/ve/ve3100.cpp @@ -41,7 +41,7 @@ void TForm_sconti::compact(const bool what) togli = 5; TPrint_section& b = section('B',odd_page); const word fields = b.fields(); - const word height = b.height(); +// const word height = b.height(); qui verificare const word max = fields - togli; int y = 1; // first coordinate of first field for (word i = 1; i <= fields; i++) @@ -160,7 +160,7 @@ bool TStampa_sconti::menu(MENU_TAG) bool gotcha= FALSE; TConfig prassid(CONFIG_DITTA, "ve"); TString16 scorigakey; - TMask *mask; + TMask *mask = NULL; switch (_sconti[0]) { case 'D': // sconti documento diff --git a/ve/ve3200.cpp b/ve/ve3200.cpp index b0d3b5259..3da39d5cd 100755 --- a/ve/ve3200.cpp +++ b/ve/ve3200.cpp @@ -96,7 +96,7 @@ bool TStampa_condizioni_vendita::tipo_handler(TMask_field& f, KEY k) bool TStampa_condizioni_vendita::user_create() { bool gotcha= FALSE; // booleano di avvenuta inizializzazione - int indice; // indice delle variabili di configurazione per le abilitazioni + int indice = 0; // indice delle variabili di configurazione per le abilitazioni _condven= "*"; // inizializzazione dell'indicatore del tipo di archivio if (argc()>2) _condven= argv(2); // se c'è, prende il tipo di archivio dalla linea di comando else { diff --git a/ve/ve3300.cpp b/ve/ve3300.cpp index d669ccb72..091dbb6d8 100755 --- a/ve/ve3300.cpp +++ b/ve/ve3300.cpp @@ -106,7 +106,7 @@ bool TStampa_LCO_sintetica::create() _form = new TLCO_form("ve3300a"); bool gotcha = FALSE; - int indice; + int indice = 0; _condven= "*"; if (argc()>2) _condven= argv(2); diff --git a/ve/ve3300.uml b/ve/ve3300.uml index fa5e6c1b5..e666a122b 100755 --- a/ve/ve3300.uml +++ b/ve/ve3300.uml @@ -1,6 +1,4 @@ -#include "VE3300.H" - -// #define LF_SCONTI +#include "ve3300.h" TOOLBAR "" 0 20 60 2 #include @@ -13,13 +11,11 @@ BEGIN PROMPT 0 0 "" ITEM "I|" FLAG "H" -// FIELD LF_SCONTI->TIPO END STRING F_CODCAT 2 BEGIN PROMPT 3 2 "Categoria vendita " -// FIELD LF_SCONTI->CODART[1,2] USE CVE FLAG "U" INPUT CODTAB F_CODCAT