From: Alexandru C. <cs...@us...> - 2003-03-26 08:41:32
|
Update of /cvsroot/groundstation/grig/src In directory sc8-pr-cvs1:/tmp/cvs-serv21101 Modified Files: gnome-hamlib-rig.c Log Message: Cleaned up deprecated code. Index: gnome-hamlib-rig.c =================================================================== RCS file: /cvsroot/groundstation/grig/src/gnome-hamlib-rig.c,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** gnome-hamlib-rig.c 26 Mar 2003 08:36:57 -0000 1.34 --- gnome-hamlib-rig.c 26 Mar 2003 08:41:26 -0000 1.35 *************** *** 546,550 **** case 2: pbwidth = rig_passband_narrow (GNOME_HAMLIB_RIG (ghr)->rig, mode); break; ! default: /* THIS SHOULD NEVER HAVE HAPPENED ERROR */ } retcode = rig_set_mode (GNOME_HAMLIB_RIG (ghr)->rig, RIG_VFO_CURR, mode, pbwidth); --- 546,551 ---- case 2: pbwidth = rig_passband_narrow (GNOME_HAMLIB_RIG (ghr)->rig, mode); break; ! default: ! break; } retcode = rig_set_mode (GNOME_HAMLIB_RIG (ghr)->rig, RIG_VFO_CURR, mode, pbwidth); *************** *** 1418,1422 **** case 2: pbwidth = rig_passband_narrow (ghr->rig, mode); break; ! default: /* THIS SHOULD NEVER HAVE HAPPENED ERROR */ } retcode = rig_set_mode (ghr->rig, RIG_VFO_CURR, mode, pbwidth); --- 1419,1424 ---- case 2: pbwidth = rig_passband_narrow (ghr->rig, mode); break; ! default: ! break; } retcode = rig_set_mode (ghr->rig, RIG_VFO_CURR, mode, pbwidth); |