X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmetar%2FDcdmtrmk.cpp;h=849d40a4b2bdf6045b46339bef23ded2eff5890a;hb=adb5fb3bee7fd6672aa8285bac262c4817475d53;hp=3b345980dce7d58dc875ffbae948e79dfccd5dc7;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/simgear/metar/Dcdmtrmk.cpp b/simgear/metar/Dcdmtrmk.cpp index 3b345980..849d40a4 100644 --- a/simgear/metar/Dcdmtrmk.cpp +++ b/simgear/metar/Dcdmtrmk.cpp @@ -1,12 +1,11 @@ +#include + #include "Local.h" /* standard header file */ #include "Metar.h" #define SKY1_len 50 float fracPart( char * ); -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isTS_LOC */ @@ -46,7 +45,6 @@ float fracPart( char * ); /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isTS_LOC( char **string, Decoded_METAR *Mptr, int *NDEX ) @@ -132,9 +130,6 @@ static bool isTS_LOC( char **string, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isDVR */ @@ -156,7 +151,6 @@ static bool isTS_LOC( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isDVR( char *token, Decoded_METAR *Mptr, int *NDEX ) { @@ -215,9 +209,6 @@ static bool isDVR( char *token, Decoded_METAR *Mptr, int *NDEX ) } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isTornadicActiv */ @@ -258,7 +249,6 @@ static bool isDVR( char *token, Decoded_METAR *Mptr, int *NDEX ) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isTornadicActiv( char **string, Decoded_METAR *Mptr, int *NDEX ) @@ -529,9 +519,6 @@ static bool isTornadicActiv( char **string, Decoded_METAR *Mptr, } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPartObscur */ @@ -574,7 +561,6 @@ static bool isTornadicActiv( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPartObscur( char **string, Decoded_METAR *Mptr, int ndex, int *NDEX ) { @@ -675,9 +661,6 @@ static bool isPartObscur( char **string, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isA0indicator */ @@ -718,7 +701,6 @@ static bool isPartObscur( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isA0indicator( char *indicator, Decoded_METAR *Mptr, int *NDEX ) @@ -761,9 +743,6 @@ static bool isA0indicator( char *indicator, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPeakWind */ @@ -803,7 +782,6 @@ static bool isA0indicator( char *indicator, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPeakWind( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -896,9 +874,6 @@ static bool isPeakWind( char **string, Decoded_METAR *Mptr, else return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isWindShift */ @@ -938,7 +913,6 @@ static bool isPeakWind( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isWindShift( char **string, Decoded_METAR *Mptr, int *NDEX) { @@ -1028,9 +1002,6 @@ static bool isWindShift( char **string, Decoded_METAR *Mptr, return FALSE; } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isTowerVsby */ @@ -1069,7 +1040,6 @@ static bool isWindShift( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isTowerVsby( char **token, Decoded_METAR *Mptr, int *NDEX) { @@ -1184,9 +1154,6 @@ static bool isTowerVsby( char **token, Decoded_METAR *Mptr, int *NDEX) } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isSurfaceVsby */ @@ -1225,7 +1192,6 @@ static bool isTowerVsby( char **token, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isSurfaceVsby( char **token, Decoded_METAR *Mptr, int *NDEX) { @@ -1342,9 +1308,6 @@ static bool isSurfaceVsby( char **token, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isVariableVsby */ @@ -1384,7 +1347,6 @@ static bool isSurfaceVsby( char **token, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isVariableVsby( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -1393,9 +1355,9 @@ static bool isVariableVsby( char **string, Decoded_METAR *Mptr, /* DECLARE LOCAL VARIABLES */ /***************************/ - char *slash, - *slash1, - *slash2, + char *slash = NULL, + *slash1 = NULL, + *slash2 = NULL, buf[ 5 ], *V_char; float minimumVsby, @@ -1594,9 +1556,6 @@ static bool isVariableVsby( char **string, Decoded_METAR *Mptr, } return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isVsby2ndSite */ @@ -1640,7 +1599,6 @@ static bool isVariableVsby( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isVsby2ndSite( char **token, Decoded_METAR *Mptr, int *NDEX) { @@ -1799,9 +1757,6 @@ static bool isVsby2ndSite( char **token, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isLTGfreq */ @@ -1845,7 +1800,6 @@ static bool isVsby2ndSite( char **token, Decoded_METAR *Mptr, /* */ /* */ /********************************************************************/ -#pragma page(1) bool static isLTGfreq( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -2086,16 +2040,8 @@ bool static isLTGfreq( char **string, Decoded_METAR *Mptr, int *NDEX ) -#pragma comment (compiler) -//#pragma comment (date) -//#pragma comment (timestamp) -#pragma pagesize(80) - #include "Metar.h" /* standard header file */ -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isRecentWx */ @@ -2139,7 +2085,6 @@ bool static isLTGfreq( char **string, Decoded_METAR *Mptr, int *NDEX ) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isRecentWX( char **token, Decoded_METAR *Mptr, int *NDEX ) { @@ -2476,9 +2421,6 @@ static bool isRecentWX( char **token, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isVariableCIG */ @@ -2509,7 +2451,6 @@ static bool isRecentWX( char **token, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isVariableCIG( char **token, Decoded_METAR *Mptr, int *NDEX ) { @@ -2542,9 +2483,6 @@ static bool isVariableCIG( char **token, Decoded_METAR *Mptr, else return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isCeil2ndSite */ @@ -2579,7 +2517,6 @@ static bool isVariableCIG( char **token, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isCIG2ndSite( char **token, Decoded_METAR *Mptr, int *NDEX) { @@ -2618,9 +2555,6 @@ static bool isCIG2ndSite( char **token, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPRESFR */ @@ -2669,7 +2603,6 @@ static bool isCIG2ndSite( char **token, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPRESFR( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -2686,9 +2619,6 @@ static bool isPRESFR( char *string, Decoded_METAR *Mptr, int *NDEX) } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPRESRR */ @@ -2737,7 +2667,6 @@ static bool isPRESFR( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPRESRR( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -2755,9 +2684,6 @@ static bool isPRESRR( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isSLP */ @@ -2779,7 +2705,6 @@ static bool isPRESRR( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isSLP( char **token, Decoded_METAR *Mptr, int *NDEX ) { @@ -2788,8 +2713,8 @@ static bool isSLP( char **token, Decoded_METAR *Mptr, int *NDEX ) /* DECLARE LOCAL VARIABLES */ /***************************/ - int pressure, - ndex; + int pressure; + // int ndex; /*************************/ /* BEGIN BODY OF ROUTINE */ @@ -2853,7 +2778,6 @@ static bool isSLP( char **token, Decoded_METAR *Mptr, int *NDEX ) } } -#pragma page(1) static bool isSectorVsby( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -2861,7 +2785,7 @@ static bool isSectorVsby( char **string, Decoded_METAR *Mptr, /* DECLARE LOCAL VARIABLES */ /***************************/ - float vsby; + float vsby = 0.0f; char dd[3], *slash; @@ -2931,9 +2855,6 @@ static bool isSectorVsby( char **string, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isGR */ @@ -2982,7 +2903,6 @@ static bool isSectorVsby( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isGR( char **string, Decoded_METAR *Mptr, int *NDEX) { char *slash; @@ -3065,9 +2985,6 @@ static bool isGR( char **string, Decoded_METAR *Mptr, int *NDEX) } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isVIRGA */ @@ -3116,7 +3033,6 @@ static bool isGR( char **string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isVIRGA( char **string, Decoded_METAR *Mptr, int *NDEX) { @@ -3152,7 +3068,6 @@ static bool isVIRGA( char **string, Decoded_METAR *Mptr, int *NDEX) } -#pragma page(1) static bool isSfcObscuration( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3240,7 +3155,6 @@ static bool isSfcObscuration( char *string, Decoded_METAR *Mptr, } -#pragma page(1) static bool isCeiling( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3280,7 +3194,6 @@ static bool isCeiling( char *string, Decoded_METAR *Mptr, int *NDEX ) } } -#pragma page(1) static bool isVrbSky( char **string, Decoded_METAR *Mptr, int *NDEX ) { static char *cldPtr[] = {"FEW", "SCT", "BKN", "OVC", NULL }; @@ -3384,7 +3297,6 @@ static bool isVrbSky( char **string, Decoded_METAR *Mptr, int *NDEX ) } -#pragma page(1) static bool isObscurAloft( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3468,7 +3380,6 @@ static bool isObscurAloft( char **string, Decoded_METAR *Mptr, } } -#pragma page(1) static bool isNOSPECI( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3483,7 +3394,6 @@ static bool isNOSPECI( char *string, Decoded_METAR *Mptr, int *NDEX ) return TRUE; } } -#pragma page(1) static bool isLAST( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3498,9 +3408,6 @@ static bool isLAST( char *string, Decoded_METAR *Mptr, int *NDEX ) return TRUE; } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isSynopClouds */ @@ -3522,7 +3429,6 @@ static bool isLAST( char *string, Decoded_METAR *Mptr, int *NDEX ) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isSynopClouds( char *token, Decoded_METAR *Mptr, int *NDEX ) { @@ -3555,7 +3461,6 @@ static bool isSynopClouds( char *token, Decoded_METAR *Mptr, return FALSE; } -#pragma page(1) static bool isSNINCR( char **string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3594,9 +3499,6 @@ static bool isSNINCR( char **string, Decoded_METAR *Mptr, int *NDEX ) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isSnowDepth */ @@ -3618,7 +3520,6 @@ static bool isSNINCR( char **string, Decoded_METAR *Mptr, int *NDEX ) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isSnowDepth( char *token, Decoded_METAR *Mptr, int *NDEX ) { @@ -3642,7 +3543,6 @@ static bool isSnowDepth( char *token, Decoded_METAR *Mptr, return FALSE; } -#pragma page(1) static bool isWaterEquivSnow( char *string, Decoded_METAR *Mptr, int *NDEX ) @@ -3664,7 +3564,6 @@ static bool isWaterEquivSnow( char *string, } } -#pragma page(1) static bool isSunshineDur( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -3690,9 +3589,6 @@ static bool isSunshineDur( char *string, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isHourlyPrecip */ @@ -3741,7 +3637,6 @@ static bool isSunshineDur( char *string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isHourlyPrecip( char **string, Decoded_METAR *Mptr, int *NDEX) @@ -3788,9 +3683,6 @@ static bool isHourlyPrecip( char **string, Decoded_METAR *Mptr, } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isP6Precip */ @@ -3839,7 +3731,6 @@ static bool isHourlyPrecip( char **string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isP6Precip( char *string, Decoded_METAR *Mptr, int *NDEX ) @@ -3867,9 +3758,6 @@ static bool isP6Precip( char *string, Decoded_METAR *Mptr, } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isP24Precip */ @@ -3918,7 +3806,6 @@ static bool isP6Precip( char *string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isP24Precip( char *string, Decoded_METAR *Mptr, int *NDEX ) @@ -3944,9 +3831,6 @@ static bool isP24Precip( char *string, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isTTdTenths */ @@ -3995,7 +3879,6 @@ static bool isP24Precip( char *string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isTTdTenths( char *token, Decoded_METAR *Mptr, int *NDEX) { @@ -4056,9 +3939,6 @@ static bool isTTdTenths( char *token, Decoded_METAR *Mptr, int *NDEX) } } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isMaxTemp */ @@ -4080,7 +3960,6 @@ static bool isTTdTenths( char *token, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isMaxTemp(char *string, Decoded_METAR *Mptr, int *NDEX) { char buf[ 6 ]; @@ -4120,9 +3999,6 @@ static bool isMaxTemp(char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isMinTemp */ @@ -4144,7 +4020,6 @@ static bool isMaxTemp(char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isMinTemp(char *string, Decoded_METAR *Mptr, int *NDEX) { char buf[ 6 ]; @@ -4183,9 +4058,6 @@ static bool isMinTemp(char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isT24MaxMinTemp */ @@ -4207,7 +4079,6 @@ static bool isMinTemp(char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isT24MaxMinTemp( char *string, Decoded_METAR *Mptr, int *NDEX ) { @@ -4263,9 +4134,6 @@ static bool isT24MaxMinTemp( char *string, Decoded_METAR *Mptr, return FALSE; } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPtendency */ @@ -4287,7 +4155,6 @@ static bool isT24MaxMinTemp( char *string, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4298,7 +4165,7 @@ static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX) if(strlen(string) != 5) return FALSE; - else if(*string == '5' && ('0' <= *(string+1) <= '8') && + else if(*string == '5' && ('0' <= *(string+1) && *(string+1) <= '8') && (nisdigit(string+2,3) || strncmp(string+2,"///",3) == 0) ) { @@ -4328,9 +4195,6 @@ static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPWINO */ @@ -4352,7 +4216,6 @@ static bool isPtendency(char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPWINO( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4371,9 +4234,6 @@ static bool isPWINO( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isPNO */ @@ -4395,7 +4255,6 @@ static bool isPWINO( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isPNO( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4414,9 +4273,6 @@ static bool isPNO( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isRVRNO */ @@ -4438,7 +4294,6 @@ static bool isPNO( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isRVRNO( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4456,9 +4311,6 @@ static bool isRVRNO( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isCHINO */ @@ -4480,7 +4332,6 @@ static bool isRVRNO( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isCHINO( char **string, Decoded_METAR *Mptr, int *NDEX) { @@ -4518,9 +4369,6 @@ static bool isCHINO( char **string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isVISNO */ @@ -4542,7 +4390,6 @@ static bool isCHINO( char **string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isVISNO( char **string, Decoded_METAR *Mptr, int *NDEX) { @@ -4579,9 +4426,6 @@ static bool isVISNO( char **string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isFZRANO */ @@ -4603,7 +4447,6 @@ static bool isVISNO( char **string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isFZRANO( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4622,9 +4465,6 @@ static bool isFZRANO( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isTSNO */ @@ -4673,7 +4513,6 @@ static bool isFZRANO( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isTSNO( char *string, Decoded_METAR *Mptr, int *NDEX) { @@ -4691,9 +4530,6 @@ static bool isTSNO( char *string, Decoded_METAR *Mptr, int *NDEX) } -#pragma subtitle(" ") -#pragma page(1) -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: isDollarSign */ @@ -4715,7 +4551,6 @@ static bool isTSNO( char *string, Decoded_METAR *Mptr, int *NDEX) /* None. */ /* */ /********************************************************************/ -#pragma page(1) static bool isDollarSign( char *indicator, Decoded_METAR *Mptr, int *NDEX ) @@ -4734,9 +4569,6 @@ static bool isDollarSign( char *indicator, Decoded_METAR *Mptr, } } -#pragma page(1) -#pragma subtitle(" ") -#pragma subtitle("subtitle - description ") /********************************************************************/ /* */ /* Title: DcdMTRmk */ @@ -4766,7 +4598,6 @@ static bool isDollarSign( char *indicator, Decoded_METAR *Mptr, /* None. */ /* */ /********************************************************************/ -#pragma page(1) void DcdMTRmk( char **token, Decoded_METAR *Mptr ) { @@ -4791,18 +4622,18 @@ void DcdMTRmk( char **token, Decoded_METAR *Mptr ) FZRANO = 0, TSNO = 0, maintIndicator = 0, CHINO = 0, RVRNO = 0, VISNO = 0, PNO = 0, DVR = 0; - int NDEX, - ndex, - i; - char *slash, - *tokenX, - *V_char, - *temp_token; + int NDEX; + // int ndex; + int i; + // char *slash; + // char *tokenX; + // char *V_char; + // char *temp_token; - bool extra_token, - IS_NOT_RMKS; + // bool extra_token; + bool IS_NOT_RMKS; - float T_vsby; + // float T_vsby; /*************************/ /* START BODY OF ROUTINE */