mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +00:00
Fix a pile of double semicolons
This commit is contained in:
parent
06d45cff0d
commit
0c1699fdbb
15 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 ();
|
||||
|
|
|
@ -5,5 +5,5 @@ id obj;
|
|||
integer foo (void)
|
||||
{
|
||||
[obj message];
|
||||
return bar () + baz ();;
|
||||
return bar () + baz ();
|
||||
}
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue