Skip to content

Commit

Permalink
Fix warnings with GCC 13
Browse files Browse the repository at this point in the history
Those were not actual bugs
  • Loading branch information
Novum committed Apr 30, 2023
1 parent fa31bfd commit 19d7658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/gl_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ glheapallocation_t *GL_HeapAllocate (glheap_t *heap, VkDeviceSize size, VkDevice

if (size < heap->segment_size)
{
allocinfo_t alloc_info;
ZEROED_STRUCT (allocinfo_t, alloc_info);
const VkDeviceSize size_alignment_max = q_max (size, alignment);
alloc_info.is_small_alloc = size_alignment_max <= heap->page_size / 2;
if (alloc_info.is_small_alloc)
Expand Down
1 change: 1 addition & 0 deletions Quake/sv_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ int SV_FlyMove (edict_t *ent, float time, trace_t *steptrace)
blocked = 0;
VectorCopy (ent->v.velocity, original_velocity);
VectorCopy (ent->v.velocity, primal_velocity);
VectorCopy (ent->v.velocity, new_velocity);
numplanes = 0;

time_left = time;
Expand Down

0 comments on commit 19d7658

Please sign in to comment.