Fix a pile of double semicolons

This commit is contained in:
Bill Currie 2021-01-09 20:42:23 +09:00
parent 06d45cff0d
commit 0c1699fdbb
15 changed files with 17 additions and 17 deletions

View File

@ -392,7 +392,7 @@ bi_set_first (progs_t *pr)
res->set_iters->prev = &set_iter->next;
res->set_iters = set_iter;
set_iter->iter = iter;;
set_iter->iter = iter;
R_INT (pr) = res_set_iter_index (res, set_iter);
}

View File

@ -321,7 +321,7 @@ cmemalloc (memsuper_t *super, size_t size)
memblock_t *block = init_block (super, mem, super->page_size);
line = block->free_lines;
}
return alloc_line (line, size);;
return alloc_line (line, size);
} else {
void *mem = 0;
memsline_t **sline = &super->last_freed[ind];

View File

@ -41,9 +41,9 @@
*/
#ifndef WORDS_BIGENDIAN
VISIBLE qboolean bigendien = false;;
VISIBLE qboolean bigendien = false;
#else
VISIBLE qboolean bigendien = true;;
VISIBLE qboolean bigendien = true;
#endif

View File

@ -190,7 +190,7 @@ GL_DrawAliasFrameMulti (vert_order_t *vo)
static void
GL_DrawAliasShadowTri (const aliashdr_t *paliashdr, const vert_order_t *vo)
{
int count = vo->count;;
int count = vo->count;
const blended_vert_t *verts = vo->verts;
float height, lheight;
vec3_t point;

View File

@ -519,7 +519,7 @@ GLSL_SubpicUpdate (subpic_t *subpic, byte *data, int batch)
void
GLSL_ScrapFlush (scrap_t *scrap)
{
vrect_t *rect = scrap->batch;;
vrect_t *rect = scrap->batch;
if (!rect)
return;

View File

@ -89,7 +89,7 @@ R_ClearEfrags (void)
if (!efrag_list)
efrag_list = calloc (1, sizeof (t_efrag_list));
r_free_efrags = efrag_list->efrags;;
r_free_efrags = efrag_list->efrags;
for (efl = efrag_list; efl; efl = efl->next) {
init_efrag_list (efl);
if (efl->next)

View File

@ -43,7 +43,7 @@ QFV_CreateSwapchain (vulkan_ctx_t *ctx, VkSwapchainKHR old_swapchain)
uint32_t numModes;
VkPresentModeKHR *modes;
VkPresentModeKHR useMode = VK_PRESENT_MODE_FIFO_KHR;;
VkPresentModeKHR useMode = VK_PRESENT_MODE_FIFO_KHR;
ifuncs->vkGetPhysicalDeviceSurfacePresentModesKHR (physDev,
ctx->surface,
&numModes, 0);

View File

@ -531,7 +531,7 @@ parse_player_delta (qmsg_t *msg, plent_state_t *from, plent_state_t *to)
if (flags & PF_SKINNUM)
to->skinnum = MSG_ReadByte (msg);
if (flags & PF_EFFECTS)
to->effects = (to->effects & 0xff00) | MSG_ReadByte (msg);;
to->effects = (to->effects & 0xff00) | MSG_ReadByte (msg);
if (flags & PF_WEAPONFRAME)
to->weaponframe = MSG_ReadByte (msg);
if (flags & PF_QF) {

View File

@ -672,14 +672,14 @@ render_map (bsp_t *bsp)
vertexlist[i].X = -vertexlist[i].X;
tempf = vertexlist[i].Z;
vertexlist[i].Z = vertexlist[i].Y;
vertexlist[i].Y = tempf;;
vertexlist[i].Y = tempf;
break;
case 2: /* +Y -- (-x <--> +x; +y out of screen,
+z up) */
tempf = vertexlist[i].Z;
vertexlist[i].Z = -vertexlist[i].Y;
vertexlist[i].Y = tempf;;
vertexlist[i].Y = tempf;
break;
case -3: /* -Z -- negate X and Z (ie. 180 rotate

View File

@ -89,7 +89,7 @@ typedef struct dag_s {
int num_topo; ///< number of nodes in topo (may be <
///< num_nodes after dead node removal)
daglabel_t **labels; ///< array of all daglabels in this dag
int num_labels;;
int num_labels;
struct set_s *roots; ///< set of root nodes
struct flownode_s *flownode;///< flow node this dag represents
} dag_t;

View File

@ -1563,7 +1563,7 @@ class_finish_module (void)
save_storage = current_storage;
current_storage = sc_static;
current_func = begin_function (init_sym, 0, current_symtab, 1);
build_code_function (init_sym, 0, init_expr);;
build_code_function (init_sym, 0, init_expr);
current_func = 0;
current_storage = save_storage;
}

View File

@ -500,7 +500,7 @@ static int
dag_def_kill_aliases_visit (def_t *def, void *_l)
{
daglabel_t *l = (daglabel_t *) _l;
dagnode_t *node = l->dagnode;;
dagnode_t *node = l->dagnode;
daglabel_t *label;
if (def == l->op->o.def)

View File

@ -189,7 +189,7 @@ InitData (void)
pr.entity_data = defspace_new (ds_virtual);
pr.entity_fields = new_symtab (0, stab_global);
pr.entity_fields->space = pr.entity_data;;
pr.entity_fields->space = pr.entity_data;
clear_functions ();
clear_frame_macros ();

View File

@ -5,5 +5,5 @@ id obj;
integer foo (void)
{
[obj message];
return bar () + baz ();;
return bar () + baz ();
}

View File

@ -183,7 +183,7 @@ LoadEntities (void)
// start parsing
num_entities = PL_A_NumObjects (entity_list);
entities = malloc (num_entities * sizeof (entity_t));;
entities = malloc (num_entities * sizeof (entity_t));
// go through all the entities
for (i = 0; i < num_entities; i++) {