Fix a gcc-3.1+ warning.

warning: deprecated use of label at end of compound statement

ie: you cannot do this anymore:
switch(foo) {
....

default:
}
This commit is contained in:
Peter Wemm 2002-03-19 11:02:06 +00:00
parent 3ba30c18a2
commit 30171114b3
7 changed files with 16 additions and 0 deletions

View File

@ -75,6 +75,7 @@ AcpiOsReadPort (
break;
default:
/* debug trap goes here */
break;
}
return(AE_OK);
@ -98,6 +99,7 @@ AcpiOsWritePort (
break;
default:
/* debug trap goes here */
break;
}
return(AE_OK);
@ -129,6 +131,7 @@ AcpiOsReadPciConfiguration (
break;
default:
/* debug trap goes here */
break;
}

View File

@ -118,6 +118,7 @@ AcpiOsReadMemory (
break;
default:
/* debug trap goes here */
break;
}
AcpiOsUnmapMemory(LogicalAddress, Width / 8);
@ -152,6 +153,7 @@ AcpiOsWriteMemory (
break;
default:
/* debug trap goes here */
break;
}
AcpiOsUnmapMemory(LogicalAddress, Width / 8);

View File

@ -158,6 +158,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -274,6 +275,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -326,6 +328,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
return (0);
default:
break;
}
}
/*

View File

@ -878,6 +878,7 @@ loadav(void *arg)
nrun++;
}
nextproc:
continue;
}
}
sx_sunlock(&allproc_lock);

View File

@ -158,6 +158,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -274,6 +275,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -326,6 +328,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
return (0);
default:
break;
}
}
/*

View File

@ -158,6 +158,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -274,6 +275,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
break;
default:
break;
}
}
@ -326,6 +328,7 @@ vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid,
return (0);
default:
break;
}
}
/*

View File

@ -585,6 +585,7 @@ int action;
vmspace_free(vm);
}
nextproc:
continue;
}
sx_sunlock(&allproc_lock);
/*