splint src/client/cl_console.c src/client/cl_game.c src/client/cl_game_campaign.c src/client/cl_game_multiplayer.c src/client/cl_game_skirmish.c src/client/cl_http.c src/client/cl_inventory.c src/client/cl_inventory_callbacks.c src/client/cl_irc.c src/client/cl_language.c src/client/cl_main.c src/client/cl_menu.c src/client/cl_screen.c src/client/cl_sequence.c src/client/cl_team.c src/client/cl_tip.c src/client/cl_tutorials.c src/client/cl_ugv.c src/client/cl_video.c src/client/input/cl_input.c src/client/input/cl_joystick.c src/client/input/cl_keys.c src/client/cinematic/cl_cinematic.c src/client/cinematic/cl_cinematic_roq.c src/client/cinematic/cl_cinematic_ogm.c src/client/battlescape/cl_actor.c src/client/battlescape/cl_battlescape.c src/client/battlescape/cl_camera.c src/client/battlescape/cl_hud.c src/client/battlescape/cl_hud_callbacks.c src/client/battlescape/cl_localentity.c src/client/battlescape/cl_parse.c src/client/battlescape/cl_particle.c src/client/battlescape/cl_ugv.c src/client/battlescape/cl_view.c src/client/battlescape/cl_spawn.c src/client/battlescape/events/e_main.c src/client/battlescape/events/e_parse.c src/client/battlescape/events/e_server.c src/client/battlescape/events/e_time.c src/client/battlescape/events/event/actor/e_event_actoradd.c src/client/battlescape/events/event/actor/e_event_actorappear.c src/client/battlescape/events/event/actor/e_event_actordie.c src/client/battlescape/events/event/actor/e_event_actordooraction.c src/client/battlescape/events/event/actor/e_event_actormove.c src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c src/client/battlescape/events/event/actor/e_event_actorreservationchange.c src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c src/client/battlescape/events/event/actor/e_event_actorshoot.c src/client/battlescape/events/event/actor/e_event_actorshoothidden.c src/client/battlescape/events/event/actor/e_event_actorstartshoot.c src/client/battlescape/events/event/actor/e_event_actorstatechange.c src/client/battlescape/events/event/actor/e_event_actorstats.c src/client/battlescape/events/event/actor/e_event_actorthrow.c src/client/battlescape/events/event/actor/e_event_actorturn.c src/client/battlescape/events/event/inventory/e_event_invadd.c src/client/battlescape/events/event/inventory/e_event_invammo.c src/client/battlescape/events/event/inventory/e_event_invdel.c src/client/battlescape/events/event/inventory/e_event_invreload.c src/client/battlescape/events/event/player/e_event_centerview.c src/client/battlescape/events/event/player/e_event_doendround.c src/client/battlescape/events/event/player/e_event_endroundannounce.c src/client/battlescape/events/event/player/e_event_reset.c src/client/battlescape/events/event/player/e_event_results.c src/client/battlescape/events/event/player/e_event_startgame.c src/client/battlescape/events/event/world/e_event_addbrushmodel.c src/client/battlescape/events/event/world/e_event_addedict.c src/client/battlescape/events/event/world/e_event_doorclose.c src/client/battlescape/events/event/world/e_event_dooropen.c src/client/battlescape/events/event/world/e_event_entappear.c src/client/battlescape/events/event/world/e_event_entdestroy.c src/client/battlescape/events/event/world/e_event_entperish.c src/client/battlescape/events/event/world/e_event_explode.c src/client/battlescape/events/event/world/e_event_particleappear.c src/client/battlescape/events/event/world/e_event_particlespawn.c src/client/sound/s_music.c src/client/sound/s_main.c src/client/sound/s_mix.c src/client/sound/s_sample.c src/client/campaign/cp_aircraft.c src/client/campaign/cp_aircraft_callbacks.c src/client/campaign/cp_alien_interest.c src/client/campaign/cp_base.c src/client/campaign/cp_base_callbacks.c src/client/campaign/cp_basedefence_callbacks.c src/client/campaign/cp_hospital.c src/client/campaign/cp_hospital_callbacks.c src/client/campaign/cp_messages.c src/client/campaign/cp_missions.c src/client/campaign/cp_mission_triggers.c src/client/campaign/cp_nations.c src/client/campaign/cp_parse.c src/client/campaign/cp_rank.c src/client/campaign/cp_team.c src/client/campaign/cp_team_callbacks.c src/client/campaign/cp_time.c src/client/campaign/cp_xvi.c src/client/campaign/cp_alienbase.c src/client/campaign/cp_aliencont.c src/client/campaign/cp_aliencont_callbacks.c src/client/campaign/cp_airfight.c src/client/campaign/cp_campaign.c src/client/campaign/cp_event.c src/client/campaign/cp_employee.c src/client/campaign/cp_employee_callbacks.c src/client/campaign/cp_installation.c src/client/campaign/cp_installation_callbacks.c src/client/campaign/cp_market.c src/client/campaign/cp_market_callbacks.c src/client/campaign/cp_map.c src/client/campaign/cp_mapfightequip.c src/client/campaign/cp_nation.c src/client/campaign/cp_produce.c src/client/campaign/cp_produce_callbacks.c src/client/campaign/cp_radar.c src/client/campaign/cp_research.c src/client/campaign/cp_research_callbacks.c src/client/campaign/cp_save.c src/client/campaign/cp_transfer.c src/client/campaign/cp_transfer_callbacks.c src/client/campaign/cp_ufo.c src/client/campaign/cp_ufopedia.c src/client/campaign/cp_uforecovery.c src/client/campaign/cp_uforecovery_callbacks.c src/client/campaign/cp_messageoptions.c src/client/campaign/cp_messageoptions_callbacks.c src/client/campaign/cp_popup.c src/client/campaign/cp_fightequip_callbacks.c src/client/campaign/missions/cp_mission_baseattack.c src/client/campaign/missions/cp_mission_buildbase.c src/client/campaign/missions/cp_mission_harvest.c src/client/campaign/missions/cp_mission_intercept.c src/client/campaign/missions/cp_mission_recon.c src/client/campaign/missions/cp_mission_supply.c src/client/campaign/missions/cp_mission_terror.c src/client/campaign/missions/cp_mission_xvi.c src/client/multiplayer/mp_callbacks.c src/client/multiplayer/mp_serverlist.c src/client/multiplayer/mp_chatmessages.c src/client/multiplayer/mp_team.c src/client/menu/m_actions.c src/client/menu/m_components.c src/client/menu/m_data.c src/client/menu/m_dragndrop.c src/client/menu/m_draw.c src/client/menu/m_expression.c src/client/menu/m_font.c src/client/menu/m_icon.c src/client/menu/m_input.c src/client/menu/m_main.c src/client/menu/m_nodes.c src/client/menu/m_parse.c src/client/menu/m_popup.c src/client/menu/m_render.c src/client/menu/m_timer.c src/client/menu/m_tooltip.c src/client/menu/m_windows.c src/client/menu/node/m_node_abstractnode.c src/client/menu/node/m_node_abstractvalue.c src/client/menu/node/m_node_abstractoption.c src/client/menu/node/m_node_abstractscrollbar.c src/client/menu/node/m_node_abstractscrollable.c src/client/menu/node/m_node_bar.c src/client/menu/node/m_node_base.c src/client/menu/node/m_node_button.c src/client/menu/node/m_node_checkbox.c src/client/menu/node/m_node_cinematic.c src/client/menu/node/m_node_container.c src/client/menu/node/m_node_controls.c src/client/menu/node/m_node_custombutton.c src/client/menu/node/m_node_editor.c src/client/menu/node/m_node_ekg.c src/client/menu/node/m_node_image.c src/client/menu/node/m_node_item.c src/client/menu/node/m_node_keybinding.c src/client/menu/node/m_node_linechart.c src/client/menu/node/m_node_map.c src/client/menu/node/m_node_material_editor.c src/client/menu/node/m_node_model.c src/client/menu/node/m_node_messagelist.c src/client/menu/node/m_node_optionlist.c src/client/menu/node/m_node_optiontree.c src/client/menu/node/m_node_panel.c src/client/menu/node/m_node_radar.c src/client/menu/node/m_node_radiobutton.c src/client/menu/node/m_node_rows.c src/client/menu/node/m_node_selectbox.c src/client/menu/node/m_node_string.c src/client/menu/node/m_node_special.c src/client/menu/node/m_node_spinner.c src/client/menu/node/m_node_tab.c src/client/menu/node/m_node_tbar.c src/client/menu/node/m_node_text.c src/client/menu/node/m_node_textlist.c src/client/menu/node/m_node_textentry.c src/client/menu/node/m_node_todo.c src/client/menu/node/m_node_vscrollbar.c src/client/menu/node/m_node_window.c src/client/menu/node/m_node_zone.c src/client/mxml/mxml-attr.c src/client/mxml/mxml-entity.c src/client/mxml/mxml-file.c src/client/mxml/mxml-index.c src/client/mxml/mxml-node.c src/client/mxml/mxml-private.c src/client/mxml/mxml-search.c src/client/mxml/mxml-set.c src/client/mxml/mxml-string.c src/client/mxml/mxml_ufoai.c src/common/cmd.c src/common/http.c src/common/ioapi.c src/common/unzip.c src/common/cmodel.c src/common/common.c src/common/cvar.c src/common/files.c src/common/md4.c src/common/md5.c src/common/mem.c src/common/msg.c src/common/net.c src/common/netpack.c src/common/dbuffer.c src/common/pqueue.c src/common/scripts.c src/common/tracing.c src/common/routing.c src/server/sv_ccmds.c src/server/sv_game.c src/server/sv_init.c src/server/sv_main.c src/server/sv_rma.c src/server/sv_send.c src/server/sv_user.c src/server/sv_world.c src/client/renderer/r_array.c src/client/renderer/r_bsp.c src/client/renderer/r_draw.c src/client/renderer/r_corona.c src/client/renderer/r_entity.c src/client/renderer/r_font.c src/client/renderer/r_flare.c src/client/renderer/r_framebuffer.c src/client/renderer/r_image.c src/client/renderer/r_light.c src/client/renderer/r_lightmap.c src/client/renderer/r_main.c src/client/renderer/r_material.c src/client/renderer/r_matrix.c src/client/renderer/r_misc.c src/client/renderer/r_mesh.c src/client/renderer/r_mesh_anim.c src/client/renderer/r_model.c src/client/renderer/r_model_alias.c src/client/renderer/r_model_brush.c src/client/renderer/r_model_dpm.c src/client/renderer/r_model_md2.c src/client/renderer/r_model_md3.c src/client/renderer/r_model_obj.c src/client/renderer/r_overlay.c src/client/renderer/r_particle.c src/client/renderer/r_program.c src/client/renderer/r_sdl.c src/client/renderer/r_surface.c src/client/renderer/r_state.c src/client/renderer/r_sphere.c src/client/renderer/r_thread.c src/shared/byte.c src/shared/mathlib.c src/shared/utf8.c src/shared/images.c src/shared/infostring.c src/shared/parse.c src/shared/shared.c src/game/q_shared.c src/game/inv_shared.c src/game/inventory.c src/ports/linux/linux_main.c src/ports/unix/unix_console.c src/ports/unix/unix_main.c src/ports/unix/unix_glob.c src/game/g_actor.c src/game/g_ai.c src/game/g_ai_lua.c src/game/g_client.c src/game/g_combat.c src/game/g_cmds.c src/game/g_edicts.c src/game/g_events.c src/game/g_func.c src/game/g_inventory.c src/game/g_main.c src/game/g_match.c src/game/g_mission.c src/game/g_morale.c src/game/g_move.c src/game/g_phys.c src/game/g_reaction.c src/game/g_round.c src/game/g_stats.c src/game/g_spawn.c src/game/g_svcmds.c src/game/g_trigger.c src/game/g_utils.c src/game/g_vis.c src/game/lua/lapi.c src/game/lua/lauxlib.c src/game/lua/lbaselib.c src/game/lua/lcode.c src/game/lua/ldblib.c src/game/lua/ldebug.c src/game/lua/ldo.c src/game/lua/ldump.c src/game/lua/lfunc.c src/game/lua/lgc.c src/game/lua/linit.c src/game/lua/liolib.c src/game/lua/llex.c src/game/lua/lmathlib.c src/game/lua/lmem.c src/game/lua/loadlib.c src/game/lua/lobject.c src/game/lua/lopcodes.c src/game/lua/loslib.c src/game/lua/lparser.c src/game/lua/lstate.c src/game/lua/lstring.c src/game/lua/lstrlib.c src/game/lua/ltable.c src/game/lua/ltablib.c src/game/lua/ltm.c src/game/lua/lundump.c src/game/lua/lvm.c src/game/lua/lzio.c src/game/lua/print.c src/shared/mathlib.c src/shared/shared.c src/shared/parse.c src/shared/infostring.c src/game/q_shared.c src/game/inv_shared.c src/game/inventory.c src/common/cmd.c src/common/http.c src/common/ioapi.c src/common/unzip.c src/common/cmodel.c src/common/common.c src/common/cvar.c src/common/files.c src/common/md4.c src/common/md5.c src/common/mem.c src/common/msg.c src/common/dbuffer.c src/common/net.c src/common/netpack.c src/common/pqueue.c src/common/scripts.c src/common/tracing.c src/common/routing.c src/server/sv_ccmds.c src/server/sv_game.c src/server/sv_init.c src/server/sv_main.c src/server/sv_rma.c src/server/sv_send.c src/server/sv_user.c src/server/sv_world.c src/server/sv_clientstub.c src/shared/byte.c src/shared/infostring.c src/shared/mathlib.c src/shared/parse.c src/shared/shared.c src/game/q_shared.c src/game/inv_shared.c src/ports/linux/linux_main.c src/ports/unix/unix_console.c src/ports/unix/unix_curses.c src/ports/unix/unix_main.c src/ports/unix/unix_glob.c -badflag -g -O2 -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DSHARED_EXT=\"so\" -DHAVE_CONFIG_H -DUSE_SIGNALS=1 -Wall -pipe -Winline -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -std=c99 -ggdb -O0 -DDEBUG -fno-inline -DLUA_USE_APICHECK -DCOMPILE_UFO -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/shared/shared.h:49:1: Macro __attribute__ already defined /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/game/q_shared.h:48: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. Header name matches a POSIX header, but the POSIX library is not selected. (Use -warnposixheaders to inhibit warning) src/game/q_shared.h:49: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/common/dbuffer.h:23: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/client/cl_irc.c:37: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/client/cl_irc.c:39: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/client/cl_irc.c:40: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/client/mxml/mxml-file.c:61: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/common/net.c:32: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/common/net.c:56: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/common/net.c:57: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/common/net.c:59: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/common/net.c:61: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/client/renderer/r_thread.c:27: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/ports/linux/linux_main.c:25: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/ports/unix/unix_main.c:25: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/ports/unix/unix_main.c:28: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/ports/unix/unix_main.c:29: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/ports/unix/unix_main.c:30: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. src/ports/unix/unix_main.c:32: Include file matches the name of a POSIX library, but the POSIX library is not being used. Consider using +posixlib or +posixstrictlib to select the POSIX library, or -warnposix to suppress this message. /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ /usr/include/sys/cdefs.h:200: Previous definition of __attribute__ src/shared/mathlib.h:178:28: Function parameter veca declared as manifest array (size constant is meaningless) A formal parameter is declared as an array with size. The size of the array is ignored in this context, since the array formal parameter is treated as a pointer. (Use -fixedformalarray to inhibit warning) src/shared/mathlib.h:178:66: Function parameter vecb declared as manifest array (size constant is meaningless) src/shared/mathlib.h:178:79: Function parameter outVector declared as manifest array (size constant is meaningless) src/shared/mathlib.h:179:27: Function parameter veca declared as manifest array (size constant is meaningless) src/shared/mathlib.h:179:59: Function parameter vecb declared as manifest array (size constant is meaningless) src/shared/mathlib.h:179:72: Function parameter vecc declared as manifest array (size constant is meaningless) src/shared/mathlib.h:180:29: Function parameter v1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:180:46: Function parameter v2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:180:74: Function parameter out declared as manifest array (size constant is meaningless) src/shared/mathlib.h:182:34: Function parameter a declared as manifest array (size constant is meaningless) src/shared/mathlib.h:182:53: Function parameter b declared as manifest array (size constant is meaningless) src/shared/mathlib.h:182:66: Function parameter c declared as manifest array (size constant is meaningless) src/shared/mathlib.h:183:36: Function parameter origin declared as manifest array (size constant is meaningless) src/shared/mathlib.h:183:57: Function parameter angles declared as manifest array (size constant is meaningless) src/shared/mathlib.h:184:35: Function parameter a declared as manifest array (size constant is meaningless) src/shared/mathlib.h:184:54: Function parameter b declared as manifest array (size constant is meaningless) src/shared/mathlib.h:184:67: Function parameter c declared as manifest array (size constant is meaningless) src/shared/mathlib.h:185:36: Function parameter m declared as manifest array (size constant is meaningless) src/shared/mathlib.h:185:56: Function parameter in declared as manifest array (size constant is meaningless) src/shared/mathlib.h:185:67: Function parameter out declared as manifest array (size constant is meaningless) src/shared/mathlib.h:186:26: Function parameter m declared as manifest array (size constant is meaningless) src/shared/mathlib.h:186:45: Function parameter va declared as manifest array (size constant is meaningless) src/shared/mathlib.h:186:56: Function parameter vb declared as manifest array (size constant is meaningless) src/shared/mathlib.h:188:25: Function parameter mins declared as manifest array (size constant is meaningless) src/shared/mathlib.h:188:38: Function parameter maxs declared as manifest array (size constant is meaningless) src/shared/mathlib.h:189:36: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:189:46: Function parameter mins declared as manifest array (size constant is meaningless) src/shared/mathlib.h:189:59: Function parameter maxs declared as manifest array (size constant is meaningless) src/shared/mathlib.h:190:35: Function parameter v1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:190:52: Function parameter v2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:191:36: Function parameter v1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:191:53: Function parameter v2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:191:70: Function parameter comp declared as manifest array (size constant is meaningless) src/shared/mathlib.h:192:33: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:193:32: Function parameter v1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:193:49: Function parameter v2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:193:60: Function parameter cross declared as manifest array (size constant is meaningless) src/shared/mathlib.h:194:30: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:195:37: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:195:47: Function parameter out declared as manifest array (size constant is meaningless) src/shared/mathlib.h:196:27: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:197:34: Function parameter point1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:197:55: Function parameter point2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:197:70: Function parameter midpoint declared as manifest array (size constant is meaningless) src/shared/mathlib.h:200:39: Function parameter pos1 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:200:58: Function parameter pos2 declared as manifest array (size constant is meaningless) src/shared/mathlib.h:202:44: Function parameter mins declared as manifest array (size constant is meaningless) src/shared/mathlib.h:202:63: Function parameter maxs declared as manifest array (size constant is meaningless) src/shared/mathlib.h:202:76: Function parameter center declared as manifest array (size constant is meaningless) src/shared/mathlib.h:204:31: Function parameter vec declared as manifest array (size constant is meaningless) src/shared/mathlib.h:204:43: Function parameter angles declared as manifest array (size constant is meaningless) src/shared/mathlib.h:206:32: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:207:32: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:209:30: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:209:40: Function parameter a declared as manifest array (size constant is meaningless) src/shared/mathlib.h:210:30: Function parameter a declared as manifest array (size constant is meaningless) src/shared/mathlib.h:210:40: Function parameter v declared as manifest array (size constant is meaningless) src/shared/mathlib.h:212:46: Function parameter angles declared as manifest array (size constant is meaningless) src/shared/mathlib.h:212:61: Function parameter matrix declared as manifest array (size constant is meaningless) src/shared/mathlib.h:213:31: Function parameter point declared as manifest array (size constant is meaningless) src/shared/mathlib.h:213:45: Function parameter matrix declared as manifest array (size constant is meaningless) src/shared/mathlib.h:215:32: Function parameter angles declared as manifest array (size constant is meaningless) src/shared/mathlib.h:215:47: Function parameter forward declared as manifest array (size constant is meaningless) src/shared/mathlib.h:215:63: Function parameter right declared as manifest array (size constant is meaningless) src/shared/mathlib.h:215:77: Function parameter up declared as manifest array (size constant is meaningless) src/shared/mathlib.h:221:34: Function parameter origin declared as manifest array (size constant is meaningless) src/shared/mathlib.h:221:64: Function parameter point declared as manifest array (size constant is meaningless) src/shared/mathlib.h:223:33: Function parameter dst declared as manifest array (size constant is meaningless) src/shared/mathlib.h:223:51: Function parameter src declared as manifest array (size constant is meaningless) src/shared/mathlib.h:224:37: Function parameter dst declared as manifest array (size constant is meaningless) src/shared/mathlib.h:224:55: Function parameter dir declared as manifest array (size constant is meaningless) src/shared/mathlib.h:224:73: Function parameter point declared as manifest array (size constant is meaningless) src/shared/mathlib.h:231:35: Function parameter in declared as manifest array (size constant is meaningless) src/shared/mathlib.h:231:46: Function parameter out declared as manifest array (size constant is meaningless) src/shared/mathlib.h:233:34: Function parameter normal declared as manifest array (size constant is meaningless) src/shared/mathlib.h:233:55: Function parameter sdir declared as manifest array (size constant is meaningless) src/shared/mathlib.h:233:74: Function parameter tdir declared as manifest array (size constant is meaningless) src/shared/mathlib.h:233:87: Function parameter tangent declared as manifest array (size constant is meaningless) src/shared/mathlib.h:233:103: Function parameter binormal declared as manifest array (size constant is meaningless) src/common/tracing.h:113:36: Function parameter mins declared as manifest array (size constant is meaningless) src/common/tracing.h:113:55: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/tracing.h:114:53: Function parameter mins declared as manifest array (size constant is meaningless) src/common/tracing.h:114:72: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/tracing.h:118:68: Function parameter start declared as manifest array (size constant is meaningless) src/common/tracing.h:118:88: Function parameter end declared as manifest array (size constant is meaningless) src/common/tracing.h:118:106: Function parameter mins declared as manifest array (size constant is meaningless) src/common/tracing.h:118:125: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/tracing.h:118:208: Function parameter origin declared as manifest array (size constant is meaningless) src/common/tracing.h:118:229: Function parameter angles declared as manifest array (size constant is meaningless) src/common/tracing.h:118:250: Function parameter rmaShift declared as manifest array (size constant is meaningless) src/common/tracing.h:125:42: Function parameter start declared as manifest array (size constant is meaningless) src/common/tracing.h:125:62: Function parameter end declared as manifest array (size constant is meaningless) src/common/tracing.h:125:80: Function parameter mins declared as manifest array (size constant is meaningless) src/common/tracing.h:125:99: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/tracing.h:128:35: Function parameter start declared as manifest array (size constant is meaningless) src/common/tracing.h:128:55: Function parameter stop declared as manifest array (size constant is meaningless) src/common/tracing.h:129:37: Function parameter start declared as manifest array (size constant is meaningless) src/common/tracing.h:129:57: Function parameter stop declared as manifest array (size constant is meaningless) src/common/tracing.h:129:70: Function parameter end declared as manifest array (size constant is meaningless) src/common/pqueue.h:50:45: Function parameter item declared as manifest array (size constant is meaningless) src/common/pqueue.h:51:44: Function parameter item declared as manifest array (size constant is meaningless) src/common/cmodel.h:37:66: Function parameter origin declared as manifest array (size constant is meaningless) src/common/cmodel.h:37:87: Function parameter angles declared as manifest array (size constant is meaningless) src/common/cmodel.h:48:46: Function parameter mins declared as manifest array (size constant is meaningless) src/common/cmodel.h:48:65: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:42: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:62: Function parameter end declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:80: Function parameter mins declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:99: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:175: Function parameter origin declared as manifest array (size constant is meaningless) src/common/cmodel.h:49:196: Function parameter angles declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:67: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:87: Function parameter end declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:105: Function parameter mins declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:124: Function parameter maxs declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:208: Function parameter origin declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:229: Function parameter angles declared as manifest array (size constant is meaningless) src/common/cmodel.h:50:250: Function parameter rmaShift declared as manifest array (size constant is meaningless) src/common/cmodel.h:51:42: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:51:62: Function parameter stop declared as manifest array (size constant is meaningless) src/common/cmodel.h:52:44: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:52:64: Function parameter stop declared as manifest array (size constant is meaningless) src/common/cmodel.h:52:77: Function parameter end declared as manifest array (size constant is meaningless) src/common/cmodel.h:53:38: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:53:58: Function parameter stop declared as manifest array (size constant is meaningless) src/common/cmodel.h:54:40: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:54:60: Function parameter stop declared as manifest array (size constant is meaningless) src/common/cmodel.h:54:73: Function parameter end declared as manifest array (size constant is meaningless) src/common/cmodel.h:55:45: Function parameter start declared as manifest array (size constant is meaningless) src/common/cmodel.h:55:65: Function parameter end declared as manifest array (size constant is meaningless) src/common/cmodel.h:68:57: Function parameter min declared as manifest array (size constant is meaningless) src/common/cmodel.h:68:75: Function parameter max declared as manifest array (size constant is meaningless) src/common/cmodel.h:71:105: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:72:105: Function parameter from declared as manifest array (size constant is meaningless) src/common/cmodel.h:74:59: Function parameter to declared as manifest array (size constant is meaningless) src/common/cmodel.h:75:55: Function parameter toPos declared as manifest array (size constant is meaningless) src/common/cmodel.h:76:85: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:77:95: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:78:84: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:79:87: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:81:85: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:82:85: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:83:88: Function parameter pos declared as manifest array (size constant is meaningless) src/common/cmodel.h:83:100: Function parameter vec declared as manifest array (size constant is meaningless) src/common/cmodel.h:90:38: Function parameter from declared as manifest array (size constant is meaningless) src/common/cmodel.h:90:57: Function parameter at declared as manifest array (size constant is meaningless) src/common/cmodel.h:90:117: Function parameter v0 declared as manifest array (size constant is meaningless) src/common/netpack.h:40:53: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:41:48: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:42:54: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:45:53: Function parameter vector declared as manifest array (size constant is meaningless) src/common/netpack.h:69:46: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:70:47: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:71:47: Function parameter pos declared as manifest array (size constant is meaningless) src/common/netpack.h:74:46: Function parameter vector declared as manifest array (size constant is meaningless) src/client/renderer/r_entity.h:97:59: Function parameter in declared as manifest array (size constant is meaningless) src/client/renderer/r_entity.h:97:70: Function parameter out declared as manifest array (size constant is meaningless) src/client/cl_renderer.h:234:27: Function parameter rgba declared as manifest array (size constant is meaningless) src/client/sound/s_main.h:83:32: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_camera.h:57:34: Function parameter from declared as manifest array (size constant is meaningless) src/client/battlescape/cl_camera.h:57:53: Function parameter target declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:174:37: Initial value of player_mins[0] is type int, expects vec_t: -9 Types are incompatible. (Use -type to inhibit warning) src/client/battlescape/cl_localentity.h:174:41: Initial value of player_mins[1] is type int, expects vec_t: -9 src/client/battlescape/cl_localentity.h:174:46: Initial value of player_mins[2] is type int, expects vec_t: -24 src/client/battlescape/cl_localentity.h:175:37: Initial value of player_maxs[0] is type int, expects vec_t: 9 src/client/battlescape/cl_localentity.h:175:40: Initial value of player_maxs[1] is type int, expects vec_t: 9 src/client/battlescape/cl_localentity.h:175:43: Initial value of player_maxs[2] is type int, expects vec_t: 20 src/client/battlescape/cl_localentity.h:176:42: Initial value of player_dead_maxs[0] is type int, expects vec_t: 9 src/client/battlescape/cl_localentity.h:176:45: Initial value of player_dead_maxs[1] is type int, expects vec_t: 9 src/client/battlescape/cl_localentity.h:176:49: Initial value of player_dead_maxs[2] is type int, expects vec_t: -12 src/client/battlescape/cl_localentity.h:181:37: Function parameter impact declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:183:68: Function parameter muzzle declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:183:89: Function parameter impact declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:184:65: Function parameter muzzle declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:184:86: Function parameter v0 declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:185:57: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:186:39: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:187:54: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:187:72: Function parameter oldPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:218:81: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:218:102: Function parameter angles declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:218:162: Function parameter scale declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:238:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:239:46: Function parameter org declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:240:34: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:246:31: Function parameter start declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:246:51: Function parameter end declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:246:69: Function parameter mins declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.h:246:88: Function parameter maxs declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_container.h:49:56: Function parameter org declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_container.h:49:115: Function parameter scale declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_container.h:49:135: Function parameter color declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_text.h:59:27: Incompatible types for * (boolean, int): ((offsetof(textExtraData_t,super) == 0) != 0) * 2 To make bool and int types equivalent, use +boolint. src/client/renderer/r_draw.h:30:45: Function parameter texcoords declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:30:71: Function parameter verts declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:33:58: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:34:58: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:35:82: Function parameter rotate declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:36:38: Function parameter screenPos declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:37:66: Function parameter rotate declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:37:87: Function parameter pos declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:44:26: Function parameter mid declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:44:58: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:45:77: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:50:37: Function parameter mins declared as manifest array (size constant is meaningless) src/client/renderer/r_draw.h:50:56: Function parameter maxs declared as manifest array (size constant is meaningless) src/client/cl_console.c: (in function Con_DisplayString) src/client/cl_console.c:69:9: Test expression for while not boolean, type char: *s Test expression type is not boolean. (Use -predboolothers to inhibit warning) src/client/cl_console.c:70:20: Function R_DrawChar expects arg 3 to be int gets char: *s To make char and int types equivalent, use +charint. src/client/cl_console.c: (in function Key_ClearTyping) src/client/cl_console.c:78:2: Assignment of int to char: keyLines[editLine][1] = 0 src/client/cl_console.c: (in function Con_Clear_f) src/client/cl_console.c:112:19: Function memset expects arg 2 to be int gets char: ' ' A character constant is used as an int. Use +charintliteral to allow character constants to be used as ints. (This is safe since the actual type of a char constant is int.) src/client/cl_console.c: (in function Con_MessageModeSay_f) src/client/cl_console.c:142:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! to be used on pointers. (Use -boolops to inhibit warning) src/client/cl_console.c:142:29: Right operand of || is non-boolean (int): !CL_OnBattlescape() || (cls.gametype & (1 << 0)) src/client/cl_console.c: (in function Con_MessageModeSayTeam_f) src/client/cl_console.c:152:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/cl_console.c:152:29: Right operand of || is non-boolean (int): !CL_OnBattlescape() || (cls.gametype & (1 << 0)) src/client/cl_console.c: (in function Con_CheckResize) src/client/cl_console.c:166:37: Right operand of >> may be negative (int): viddef.width >> con_fontShift The right operand to a shift operator may be negative (behavior undefined). (Use -shiftnegative to inhibit warning) src/client/cl_console.c:166:20: Variable width initialized to type unsigned int, expects int: (viddef.width >> con_fontShift) To ignore signs in type comparisons use +ignoresigns src/client/cl_console.c:186:19: Function memset expects arg 2 to be int gets char: ' ' src/client/cl_console.c: (in function Con_LoadConsoleHistory) src/client/cl_console.c:209:7: Operand of ! is non-boolean (int): !con_history->integer src/client/cl_console.c:214:2: Return value (type int) ignored: FS_OpenFile("his... Result returned by function call is not used. If this is intended, can cast result to (void) to eliminate message. (Use -retvalint to inhibit warning) src/client/cl_console.c:216:10: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) A storage leak due to incomplete deallocation of a structure or deep pointer is suspected. Unshared storage that is reachable from a reference that is being deallocated has not yet been deallocated. Splint assumes when an object is passed as an out only void pointer that the outer object will be deallocated, but the inner objects will not. (Use -compdestroy to inhibit warning) src/client/cl_console.c:221:4: Assignment of int to char: line[strlen(line) - 1] = 0 src/client/cl_console.c:225:3: Assignment of int to char: keyLines[editLine][1] = 0 src/client/cl_console.c:229:2: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cl_console.c:229:2: Only storage f.f (type FILE *) derived from variable declared in this scope is not released (memory leak) src/client/cl_console.c: (in function Con_SaveConsoleHistory) src/client/cl_console.c:242:23: Operand of ! is non-boolean (int): !con_history->integer src/client/cl_console.c:245:25: Passed storage f contains 5 undefined fields: z, f, name, filepos, size Storage derivable from a parameter, return value or global is not defined. Use /*@out@*/ to denote passed or returned storage which need not be defined. (Use -compdef to inhibit warning) src/client/cl_console.c:245:2: Return value (type int) ignored: FS_OpenFile("his... src/client/cl_console.c:248:10: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cl_console.c:252:20: Operand of ! is non-boolean (int): !strncmp(lastLine, &(keyLines[i][1]), 256 - 1) src/client/cl_console.c:252:7: Left operand of && is non-boolean (char *): lastLine && !strncmp(lastLine, &(keyLines[i][1]), 256 - 1) src/client/cl_console.c:256:7: Test expression for if not boolean, type char: *lastLine src/client/cl_console.c:257:23: Function FS_Write expects arg 2 to be int gets size_t: strlen(lastLine) To allow arbitrary integral types to match any integral type, use +matchanyintegral. src/client/cl_console.c:257:4: Return value (type int) ignored: FS_Write(lastLin... src/client/cl_console.c:258:4: Return value (type int) ignored: FS_Write("\n", 1... src/client/cl_console.c:262:2: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cl_console.c:262:2: Only storage f.f (type FILE *) derived from variable declared in this scope is not released (memory leak) src/client/cl_console.c: (in function Con_Init) src/client/cl_console.c:269:2: Only storage assigned to unqualified static: con_notifytime = Cvar_Get("con_notifytime", "10", 1, "How many seconds console messages should be shown before they fade away") The only reference to this storage is transferred to another reference (e.g., by returning it) that does not have the only annotation. This may lead to a memory leak, since the new reference is not necessarily released. (Use -onlytrans to inhibit warning) src/client/cl_console.c:270:2: Only storage assigned to unqualified static: con_history = Cvar_Get("con_history", "1", 1, "Permanent console history") src/client/cl_console.c:271:2: Only storage assigned to unqualified static: con_background = Cvar_Get("con_background", "1", 1, "Console is rendered with background image") src/client/cl_console.c:273:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Bring up the in-game console") A memory leak has been detected. Storage allocated locally is not released before the last reference to it is lost. (Use -mustfreefresh to inhibit warning) src/client/cl_console.c:274:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) A possibly null pointer is passed as a parameter corresponding to a formal parameter with no /*@null@*/ annotation. If NULL may be used for this parameter, add a /*@null@*/ annotation to the function parameter declaration. (Use -nullpass to inhibit warning) src/client/cl_console.c:275:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Send a message to all players") src/client/cl_console.c:276:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Send a message to allied team members") src/client/cl_console.c:284:2: Assignment of arbitrary unsigned integral type to int: con.totalLines = sizeof((con.text)) / con.lineWidth src/client/cl_console.c: (in function Con_Linefeed) src/client/cl_console.c:297:71: Function memset expects arg 2 to be int gets char: ' ' src/client/cl_console.c:297:76: Function memset expects arg 3 to be size_t gets int: con.lineWidth src/client/cl_console.c: (in function Con_Print) src/client/cl_console.c:313:7: Operand of ! is non-boolean (qboolean): !con.initialized src/client/cl_console.c:316:6: Operands of == have incompatible types (char, int): txt[0] == 1 src/client/cl_console.c:316:21: Operands of == have incompatible types (char, int): txt[0] == 2 src/client/cl_console.c:322:10: Assignment of char to int: c = *txt src/client/cl_console.c:334:7: Test expression for if not boolean, type int: cr Test expression type is not boolean or int. (Use -predboolint to inhibit warning) src/client/cl_console.c:339:8: Operand of ! is non-boolean (int): !con.pos src/client/cl_console.c:343:5: Assignment of int to float: con.times[con.currentLine % 8] = cls.realtime To allow all numeric types to match, use +relaxtypes. src/client/cl_console.c:358:4: Assignment of int to char: con.text[y * con.lineWidth + con.pos] = c | mask src/client/cl_console.c: (in function Con_DrawInput) src/client/cl_console.c:394:19: Passed storage editlinecopy not completely defined (*editlinecopy is undefined): Q_strncpyzDebug (editlinecopy, ...) src/client/cl_console.c:396:2: Assignment of size_t to int: y = strlen(text) src/client/cl_console.c:399:12: Left operand of >> may be negative (int): cls.realtime >> 8 The left operand to a shift operator may be negative (behavior is implementation-defined). (Use -shiftimplementation to inhibit warning) src/client/cl_console.c:399:6: Test expression for if not boolean, type int: (int)(cls.realtime >> 8) & 1 src/client/cl_console.c:400:3: Assignment of int to char: text[keyLinePos] = 11 | 128 src/client/cl_console.c:417:25: Right operand of << may be negative (int): (i + 1) << con_fontShift src/client/cl_console.c:417:14: Left operand of << may be negative (int): (i + 1) << con_fontShift src/client/cl_console.c:417:47: Function R_DrawChar expects arg 3 to be int gets char: text[i] src/client/cl_console.c: (in function Con_DrawNotify) src/client/cl_console.c:429:10: Variable v initialized to type float, expects int: 60 * viddef.rx src/client/cl_console.c:430:16: Variable l initialized to type float, expects int: 120 * viddef.ry src/client/cl_console.c:436:3: Assignment of float to int: time = con.times[i % 8] src/client/cl_console.c:446:8: Operands of || are non-booleans (int, char): developer->integer || text[x] & 128 src/client/cl_console.c:447:26: Right operand of << may be negative (int): x << con_fontShift src/client/cl_console.c:447:21: Left operand of << may be negative (int): x << con_fontShift src/client/cl_console.c:447:45: Function R_DrawChar expects arg 3 to be int gets char: text[x] src/client/cl_console.c:451:7: Test expression for if not boolean, type qboolean: draw src/client/cl_console.c:457:7: Variable x shadows outer declaration An outer declaration is shadowed by the local declaration. (Use -shadow to inhibit warning) src/client/cl_console.c:428:21: Previous definition of x: int src/client/cl_console.c:467:39: Right operand of >> may be negative (int): viddef.width >> con_fontShift src/client/cl_console.c:467:7: Operands of > have incompatible types (size_t, unsigned int): msgBufferLen > (viddef.width >> con_fontShift) - (skip + 1) src/client/cl_console.c:468:42: Right operand of >> may be negative (int): viddef.width >> con_fontShift src/client/cl_console.c:471:10: Test expression for while not boolean, type char: s[x] src/client/cl_console.c:472:34: Right operand of << may be negative (int): (x + skip) << con_fontShift src/client/cl_console.c:472:20: Left operand of << may be negative (int): (x + skip) << con_fontShift src/client/cl_console.c:472:53: Function R_DrawChar expects arg 3 to be int gets char: s[x] src/client/cl_console.c:475:33: Right operand of << may be negative (int): (x + skip) << con_fontShift src/client/cl_console.c:475:19: Left operand of << may be negative (int): (x + skip) << con_fontShift src/client/cl_console.c:475:59: Left operand of >> may be negative (int): cls.realtime >> 8 src/client/cl_console.c: (in function Con_DrawConsole) src/client/cl_console.c:491:2: Assignment of unsigned int to int: lines = viddef.height * frac src/client/cl_console.c:495:6: Operands of > have incompatible types (int, unsigned int): lines > viddef.height src/client/cl_console.c:496:3: Assignment of unsigned int to int: lines = viddef.height src/client/cl_console.c:499:6: Test expression for if not boolean, type int: con_background->integer src/client/cl_console.c:500:25: Function R_DrawStretchImage expects arg 2 to be float gets int: viddef.virtualHeight * (frac - 1) src/client/cl_console.c:500:104: New fresh storage (type image_t *) passed as implicitly temp (not released): R_FindImageDebug("pics/conback", it_pic, "/home/mattn/dev/ufoai/trunk/src/client/cl_console.c", 500) src/client/cl_console.c:502:14: Passed storage consoleMessage not completely defined (*consoleMessage is undefined): Com_sprintf (consoleMessage, ...) src/client/cl_console.c:502:2: Return value (type qboolean) ignored: Com_sprintf(cons... Result returned by function call is not used. If this is intended, can cast result to (void) to eliminate message. (Use -retvalother to inhibit warning) src/client/cl_console.c:504:19: Variable len initialized to type size_t, expects int: strlen(consoleMessage) src/client/cl_console.c:505:24: Variable versionX initialized to type unsigned int, expects int: viddef.width - (len * con_fontWidth) - 4 src/client/cl_console.c:508:55: Function R_DrawChar expects arg 3 to be int gets char: consoleMessage[x] | 128 src/client/cl_console.c:514:41: Right operand of >> may be negative (int): (lines - con_fontHeight * 2) >> con_fontShift src/client/cl_console.c:514:9: Left operand of >> may be negative (int): (lines - con_fontHeight * 2) >> con_fontShift src/client/cl_console.c:522:26: Right operand of << may be negative (int): (x + 1) << con_fontShift src/client/cl_console.c:522:15: Left operand of << may be negative (int): (x + 1) << con_fontShift src/client/cl_console.c:522:44: Function R_DrawChar expects arg 3 to be int gets char: '^' src/client/cl_console.c:538:26: Right operand of << may be negative (int): (x + 1) << con_fontShift src/client/cl_console.c:538:15: Left operand of << may be negative (int): (x + 1) << con_fontShift src/client/cl_console.c:538:44: Function R_DrawChar expects arg 3 to be int gets char: text[x] src/client/battlescape/cl_localentity.h:174:21: File static variable player_mins declared but not used A variable is declared but never used. Use /*@unused@*/ in front of declaration to suppress message. (Use -varuse to inhibit warning) src/client/battlescape/cl_localentity.h:175:21: File static variable player_maxs declared but not used src/client/battlescape/cl_localentity.h:176:21: File static variable player_dead_maxs declared but not used src/common/common.h:301:6: Function Con_Print defined more than once A function or variable is redefined. One of the declarations should use extern. (Use -redef to inhibit warning) src/client/cl_console.c:365:1: Previous definition of Con_Print src/client/menu/node/m_node_text.h:59:27: Incompatible types for - (boolean, int): ((offsetof(textExtraData_t,super) == 0) != 0) * 2 - 1 src/client/mxml/mxml_ufoai.h:36:71: Function parameter pos declared as manifest array (size constant is meaningless) src/client/mxml/mxml_ufoai.h:37:71: Function parameter pos declared as manifest array (size constant is meaningless) src/client/mxml/mxml_ufoai.h:47:74: Function parameter pos declared as manifest array (size constant is meaningless) src/client/mxml/mxml_ufoai.h:48:99: Function parameter pos declared as manifest array (size constant is meaningless) src/client/mxml/mxml_ufoai.h:49:74: Function parameter pos declared as manifest array (size constant is meaningless) src/client/mxml/mxml_ufoai.h:50:99: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:60:48: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:61:49: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:62:43: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:65:42: Function parameter vector declared as manifest array (size constant is meaningless) src/common/msg.h:79:41: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:80:42: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:81:42: Function parameter pos declared as manifest array (size constant is meaningless) src/common/msg.h:84:41: Function parameter vector declared as manifest array (size constant is meaningless) src/client/cl_game.c:71:87: Static gameTypeList[0].spawn initialized to null value: gameTypeList[0].spawn = NULL A reference with no null annotation is assigned or initialized to NULL. Use /*@null@*/ to declare the reference as a possibly null pointer. (Use -nullassign to inhibit warning) src/client/cl_game.c:71:144: Static gameTypeList[0].itemIsUseable initialized to null value: gameTypeList[0].itemIsUseable = NULL src/client/cl_game.c:71:150: Static gameTypeList[0].displayiteminfo initialized to null value: gameTypeList[0].displayiteminfo = NULL src/client/cl_game.c:71:188: Static gameTypeList[0].charactercvars initialized to null value: gameTypeList[0].charactercvars = NULL src/client/cl_game.c:71:194: Static gameTypeList[0].teamisknown initialized to null value: gameTypeList[0].teamisknown = NULL src/client/cl_game.c:71:200: Static gameTypeList[0].drop initialized to null value: gameTypeList[0].drop = NULL src/client/cl_game.c:71:206: Static gameTypeList[0].initializebattlescape initialized to null value: gameTypeList[0].initializebattlescape = NULL src/client/cl_game.c:71:212: Static gameTypeList[0].frame initialized to null value: gameTypeList[0].frame = NULL src/client/cl_game.c:71:218: Static gameTypeList[0].getmodelforitem initialized to null value: gameTypeList[0].getmodelforitem = NULL src/client/cl_game.c:73:94: Static gameTypeList[2].spawn initialized to null value: gameTypeList[2].spawn = NULL src/client/cl_game.c:73:151: Static gameTypeList[2].itemIsUseable initialized to null value: gameTypeList[2].itemIsUseable = NULL src/client/cl_game.c:73:157: Static gameTypeList[2].displayiteminfo initialized to null value: gameTypeList[2].displayiteminfo = NULL src/client/cl_game.c:73:163: Static gameTypeList[2].getequipdef initialized to null value: gameTypeList[2].getequipdef = NULL src/client/cl_game.c:73:169: Static gameTypeList[2].charactercvars initialized to null value: gameTypeList[2].charactercvars = NULL src/client/cl_game.c:73:175: Static gameTypeList[2].teamisknown initialized to null value: gameTypeList[2].teamisknown = NULL src/client/cl_game.c:73:181: Static gameTypeList[2].drop initialized to null value: gameTypeList[2].drop = NULL src/client/cl_game.c:73:187: Static gameTypeList[2].initializebattlescape initialized to null value: gameTypeList[2].initializebattlescape = NULL src/client/cl_game.c:73:193: Static gameTypeList[2].frame initialized to null value: gameTypeList[2].frame = NULL src/client/cl_game.c:73:199: Static gameTypeList[2].getmodelforitem initialized to null value: gameTypeList[2].getmodelforitem = NULL src/client/cl_game.c:75:2: Initializer block for gameTypeList[3] has 5 fields, but gameTypeList_t has 18 fields: NULL, NULL, 0, NULL, NULL Initializer does not set every field in the structure. (Use -fullinitblock to inhibit warning) src/client/cl_game.c: (in function GAME_GenerateTeam) src/client/cl_game.c:92:46: Possibly null storage ed passed as non-null param: cls.i.EquipActor (..., ed, ...) src/client/cl_game.c: (in function GAME_GetCurrentType) src/client/cl_game.c:104:10: Null storage returned as non-null: NULL Function returns a possibly null pointer, but is not declared using /*@null@*/ annotation of result. If function may return NULL, add /*@null@*/ annotation to the return value declaration. (Use -nullret to inhibit warning) src/client/cl_game.c:108:16: Function returns with global gameTypeList referencing released storage A global variable does not satisfy its annotations when control is transferred. (Use -globstate to inhibit warning) src/client/cl_game.c:108:11: Storage gameTypeList released src/client/cl_game.c:112:9: Null storage returned as non-null: NULL src/client/cl_game.c: (in function GAME_ReloadMode) src/client/cl_game.c:120:2: Fresh storage list not released before return src/client/cl_game.c:117:53: Fresh storage list created src/client/cl_game.c: (in function GAME_DisplayItemInfo) src/client/cl_game.c:136:22: Right operand of && is non-boolean ([function (menuNode_t *, char *) returns void] *): list != NULL && list->displayiteminfo src/client/cl_game.c:138:2: Fresh storage list not released before return src/client/cl_game.c:135:53: Fresh storage list created src/client/cl_game.c: (in function GAME_SetMode) src/client/cl_game.c:158:8: Operand of ! is non-boolean (qboolean): !MN_IsWindowOnStack("main") src/client/cl_game.c:166:2: Fresh storage list (type gameTypeList_t *) not released before assignment: list = GAME_GetCurrentType() src/client/cl_game.c:152:2: Fresh storage list created src/client/cl_game.c:174:2: Fresh storage list not released before return src/client/cl_game.c:166:2: Fresh storage list created src/client/cl_game.c: (in function MN_MapInfo) src/client/cl_game.c:186:7: Operand of ! is non-boolean (int): !csi.numMDs src/client/cl_game.c:211:28: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %s", md->map, md->param ? md->param : "") src/client/cl_game.c:211:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_svm... src/client/cl_game.c:214:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_svm... src/client/cl_game.c:218:25: New fresh storage (type char *) passed as implicitly temp (not released): va("maps/shots/%s", mapname) src/client/cl_game.c:218:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c:220:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c:223:26: New fresh storage (type char *) passed as implicitly temp (not released): va("maps/shots/%s_2", mapname) src/client/cl_game.c:223:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c:225:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c:228:26: New fresh storage (type char *) passed as implicitly temp (not released): va("maps/shots/%s_3", mapname) src/client/cl_game.c:228:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c:230:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game.c: (in function MN_ChangeMap_f) src/client/cl_game.c:240:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/cl_game.c:240:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "mn_nextmap") src/client/cl_game.c: (in function MN_SelectMap_f) src/client/cl_game.c:256:7: Operand of ! is non-boolean (int): !csi.numMDs src/client/cl_game.c:263:7: Test expression for if not boolean, type int: strcmp(md->map, mapname) src/client/cl_game.c:267:10: Fresh storage mapname not released before return src/client/cl_game.c:259:2: Fresh storage mapname created src/client/cl_game.c:272:7: Test expression for if not boolean, type int: strcmp(md->id, mapname) src/client/cl_game.c:276:10: Fresh storage mapname not released before return src/client/cl_game.c:259:2: Fresh storage mapname created src/client/cl_game.c:280:2: Fresh storage mapname not released before return src/client/cl_game.c:259:2: Fresh storage mapname created src/client/cl_game.c: (in function GAME_SetMode_f) src/client/cl_game.c:296:10: Fresh storage modeName not released before return src/client/cl_game.c:293:3: Fresh storage modeName created src/client/cl_game.c:299:8: Operand of ! is non-boolean (int): !strcmp(list->menu, modeName) src/client/cl_game.c:301:11: Fresh storage modeName not released before return src/client/cl_game.c:293:3: Fresh storage modeName created src/client/cl_game.c:306:2: Fresh storage modeName not released before return src/client/cl_game.c:293:3: Fresh storage modeName created src/client/cl_game.c: (in function GAME_ItemIsUseable) src/client/cl_game.c:312:6: Operands of && are non-booleans (gameTypeList_t *, [function (objDef_t *) returns qboolean] *): list && list->itemIsUseable src/client/cl_game.c:313:34: Fresh storage list not released before return src/client/cl_game.c:310:53: Fresh storage list created src/client/cl_game.c: (in function GAME_HandleResults) src/client/cl_game.c:336:2: Fresh storage list not released before return src/client/cl_game.c:331:53: Fresh storage list created src/client/cl_game.c: (in function CL_NetSendItem) src/client/cl_game.c:348:9: Function assert expects arg 1 to be boolean gets objDef_t *: item.t src/client/cl_game.c:352:2: Fresh storage eventData not released before return src/client/cl_game.c:347:66: Fresh storage eventData created src/client/cl_game.c: (in function CL_NetSendInventory) src/client/cl_game.c:363:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/cl_game.c:369:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/cl_game.c: (in function GAME_NetSendCharacter) src/client/cl_game.c:386:9: Arrow access from possibly null pointer chr: chr->fieldSize A possibly null pointer is dereferenced. Value is either the result of a function which may return null (in which case, code should check it is not null), or a global, parameter or structure field declared with the null qualifier. (Use -nullderef to inhibit warning) src/client/cl_game.c:392:21: Function NET_WriteByte expects arg 2 to be byte gets actorSizeEnum_t: chr->fieldSize src/client/cl_game.c:400:21: Function NET_WriteByte expects arg 2 to be byte gets int: chr->skin src/client/cl_game.c:404:33: Arrow access from possibly null pointer chr->teamDef: chr->teamDef->idx src/client/cl_game.c:404:21: Function NET_WriteByte expects arg 2 to be byte gets int: chr->teamDef->idx src/client/cl_game.c:405:21: Function NET_WriteByte expects arg 2 to be byte gets int: chr->gender src/client/cl_game.c:406:21: Function NET_WriteByte expects arg 2 to be byte gets int: chr->STUN src/client/cl_game.c:407:21: Function NET_WriteByte expects arg 2 to be byte gets int: chr->morale src/client/cl_game.c:412:22: Function NET_WriteByte expects arg 2 to be byte gets int: chr->score.skills[j] src/client/cl_game.c:414:22: Function NET_WriteByte expects arg 2 to be byte gets int: chr->score.initialSkills[j] src/client/cl_game.c: (in function GAME_SendCurrentTeamSpawningInfo) src/client/cl_game.c:434:21: Function NET_WriteByte expects arg 2 to be byte gets int: team->num src/client/cl_game.c: (in function GAME_Spawn) src/client/cl_game.c:459:3: Fresh storage ed not released before scope exit src/client/cl_game.c:454:80: Fresh storage ed created src/client/cl_game.c: (in function GAME_InitializeBattlescape) src/client/cl_game.c:476:6: Operands of && are non-booleans (gameTypeList_t *, [function (chrList_t *) returns void] *): list && list->initializebattlescape src/client/cl_game.c:478:2: Fresh storage list not released before return src/client/cl_game.c:475:53: Fresh storage list created src/client/cl_game.c: (in function GAME_SpawnSoldiers) src/client/cl_game.c:489:6: Operands of && are non-booleans (gameTypeList_t *, [function (void) returns qboolean] *): list && list->spawn src/client/cl_game.c:494:6: Left operand of && is non-boolean (qboolean): spawnStatus && cl.chrList.num > 0 src/client/cl_game.c:502:3: Fresh storage msg (type struct dbuffer *) not released before assignment: msg = new_dbuffer() src/client/cl_game.c:498:3: Fresh storage msg created src/client/cl_game.c:508:3: Fresh storage msg not released before scope exit src/client/cl_game.c:502:3: Fresh storage msg created src/client/cl_game.c:509:2: Fresh storage list not released before return src/client/cl_game.c:485:53: Fresh storage list created src/client/cl_game.c: (in function GAME_GetCurrentTeam) src/client/cl_game.c:515:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->getteam != NULL src/client/cl_game.c:516:26: Fresh storage list not released before return src/client/cl_game.c:513:53: Fresh storage list created src/client/cl_game.c: (in function GAME_GetEquipmentDefinition) src/client/cl_game.c:525:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->getequipdef != NULL src/client/cl_game.c:526:30: Fresh storage list not released before return src/client/cl_game.c:523:53: Fresh storage list created src/client/cl_game.c:527:9: Null storage returned as non-null: NULL src/client/cl_game.c: (in function GAME_TeamIsKnown) src/client/cl_game.c:535:17: Fresh storage list not released before return src/client/cl_game.c:532:53: Fresh storage list created src/client/cl_game.c:537:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->teamisknown != NULL src/client/cl_game.c:538:37: Fresh storage list not released before return src/client/cl_game.c:532:53: Fresh storage list created src/client/cl_game.c: (in function GAME_CharacterCvars) src/client/cl_game.c:545:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->charactercvars != NULL src/client/cl_game.c:547:2: Fresh storage list not released before return src/client/cl_game.c:544:53: Fresh storage list created src/client/cl_game.c: (in function GAME_Abort_f) src/client/cl_game.c:555:15: New fresh storage (type char *) passed as implicitly temp (not released): va("sv win %i\n", 7) src/client/cl_game.c: (in function GAME_Drop) src/client/cl_game.c:562:6: Operands of && are non-booleans (gameTypeList_t *, [function (void) returns void] *): list && list->drop src/client/cl_game.c:567:24: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/cl_game.c:569:2: Fresh storage list not released before return src/client/cl_game.c:560:53: Fresh storage list created src/client/cl_game.c: (in function GAME_Frame) src/client/cl_game.c:587:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->frame != NULL src/client/cl_game.c:589:2: Fresh storage list not released before return src/client/cl_game.c:586:2: Fresh storage list created src/client/cl_game.c: (in function GAME_GetModelForItem) src/client/cl_game.c:600:6: Left operand of && is non-boolean (gameTypeList_t *): list && list->getmodelforitem != NULL src/client/cl_game.c:603:17: Fresh storage list not released before return src/client/cl_game.c:599:53: Fresh storage list created src/client/cl_game.c:608:9: Unqualified storage od->model returned as implicitly only: od->model Unqualified storage is transferred in an inconsistent way. (Use -unqualifiedtrans to inhibit warning) src/client/cl_game.c:608:19: Fresh storage list not released before return src/client/cl_game.c:599:53: Fresh storage list created src/client/cl_game.c:608:19: Released storage od->model reachable from parameter at return point Memory is used after it has been released (either by passing as an only param or assigning to an only global). (Use -usereleased to inhibit warning) src/client/cl_game.c:608:9: Storage od->model released src/client/cl_game.c:608:19: Function returns with null storage derivable from parameter *menuModel A possibly null pointer is reachable from a parameter or global variable that is not declared using a /*@null@*/ annotation. (Use -nullstate to inhibit warning) src/client/cl_game.c:607:16: Storage *menuModel becomes null src/client/campaign/cp_radar.h:46:88: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_radar.h:54:48: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_radar.h:55:62: Function parameter posRadar declared as manifest array (size constant is meaningless) src/client/campaign/cp_aircraft.h:272:77: Function parameter destination declared as manifest array (size constant is meaningless) src/client/campaign/cp_aircraft.h:273:83: Function parameter destination declared as manifest array (size constant is meaningless) src/client/campaign/cp_base.h:284:74: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_installation.h:116:111: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.h:71:87: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.h:71:105: Function parameter targetPos declared as manifest array (size constant is meaningless) src/client/campaign/cp_alienbase.h:39:37: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_alienbase.h:40:40: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.h:598:39: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.h:599:57: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.h:622:56: Function parameter pos declared as manifest array (size constant is meaningless) src/client/cl_game_campaign.c: (in function GAME_CP_IsRunning) src/client/cl_game_campaign.c:42:9: Return value type boolean does not match declared type qboolean: ccs.curCampaign != NULL src/client/cl_game_campaign.c: (in function GAME_CP_MissionAutoCheck_f) src/client/cl_game_campaign.c:79:6: Test expression for if not boolean, type qboolean: ccs.selectedMission->mapDef->storyRelated src/client/cl_game_campaign.c:81:3: Return value (type cvar_t *) ignored: Cvar_Set("cp_mis... src/client/cl_game_campaign.c:84:3: Return value (type cvar_t *) ignored: Cvar_Set("cp_mis... src/client/cl_game_campaign.c: (in function GAME_CP_Results_f) src/client/cl_game_campaign.c:100:6: Test expression for if not boolean, type int: Cvar_GetInteger("cp_mission_tryagain") src/client/cl_game_campaign.c:111:54: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_game_campaign.c: (in function CP_ToDifficultyName) src/client/cl_game_campaign.c:140:2: Path with no return in function declared to return char * There is a path through a function declared to return a value on which there is no return statement. This means the execution may fall through without returning a meaningful result to the caller. (Use -noret to inhibit warning) src/client/cl_game_campaign.c: (in function GAME_CP_GetCampaigns_f) src/client/cl_game_campaign.c:154:7: Test expression for if not boolean, type qboolean: ccs.campaigns[i].visible src/client/cl_game_campaign.c:155:34: New fresh storage (type char *) passed as implicitly temp (not released): va("%s", gettext(ccs.campaigns[i].name)) src/client/cl_game_campaign.c:159:48: Null storage campaignList passed as non-null param: MN_RegisterLinkedListText (..., campaignList) src/client/cl_game_campaign.c:151:31: Storage campaignList becomes null src/client/cl_game_campaign.c:163:8: Operand of ! is non-boolean (int): !strcmp(ccs.campaigns[i].id, "main") src/client/cl_game_campaign.c:164:22: New fresh storage (type char *) passed as implicitly temp (not released): va("campaignlist_click %i", i) src/client/cl_game_campaign.c: (in function GAME_CP_CampaignListClick_f) src/client/cl_game_campaign.c:185:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_game_campaign.c:190:10: Operand of ! is non-boolean (qboolean): !ccs.campaigns[num].visible src/client/cl_game_campaign.c:196:2: Return value (type cvar_t *) ignored: Cvar_Set("cp_cam... src/client/cl_game_campaign.c:207:65: Function ngettext expects arg 3 to be unsigned long int gets int: ccs.campaigns[num].soldiers src/client/cl_game_campaign.c:208:71: Function ngettext expects arg 3 to be unsigned long int gets int: ccs.campaigns[num].scientists src/client/cl_game_campaign.c:209:62: Function ngettext expects arg 3 to be unsigned long int gets int: ccs.campaigns[num].workers src/client/cl_game_campaign.c:202:50: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\n\nRace: %s\nRecruits: %i %s, %i %s, %i %s\n" "Credits: %ic\nDifficulty: %s\n" "Min. happiness of nations: %i %%\n" "Max. allowed debts: %ic\n" "%s\n") src/client/cl_game_campaign.c:202:2: Return value (type qboolean) ignored: Com_sprintf(camp... src/client/cl_game_campaign.c:218:2: Fresh storage racetype not released before return src/client/cl_game_campaign.c:200:3: Fresh storage racetype created src/client/cl_game_campaign.c:218:2: Fresh storage campaignlist not released before return src/client/cl_game_campaign.c:216:2: Fresh storage campaignlist created src/client/cl_game_campaign.c: (in function GAME_CP_Start_f) src/client/cl_game_campaign.c:236:2: Fresh storage campaign not released before return src/client/cl_game_campaign.c:228:53: Fresh storage campaign created src/client/cl_game_campaign.c: (in function GAME_CP_Results) src/client/cl_game_campaign.c:296:43: Function AII_CollectingItems expects arg 2 to be int gets boolean: winner == cls.team src/client/cl_game_campaign.c:314:24: Function CP_InitMissionResults expects arg 1 to be qboolean gets boolean: winner == cls.team src/client/cl_game_campaign.c:318:48: Function CP_ExecuteMissionTrigger expects arg 2 to be qboolean gets boolean: winner == cls.team src/client/cl_game_campaign.c:321:24: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_game_campaign.c:321:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("w... src/client/cl_game_campaign.c:323:25: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_game_campaign.c:323:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("l... src/client/cl_game_campaign.c:249:61: Parameter numSpawned not used A function parameter is not used in the body of the function. If the argument is needed for type compatibility or future plans, use /*@unused@*/ in the argument declaration. (Use -paramuse to inhibit warning) src/client/cl_game_campaign.c: (in function GAME_CP_Spawn) src/client/cl_game_campaign.c:352:31: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/cl_game_campaign.c:354:15: Fresh storage base not released before return src/client/cl_game_campaign.c:346:2: Fresh storage base created src/client/cl_game_campaign.c: (in function GAME_CP_MapInfo) src/client/cl_game_campaign.c:359:9: Immediate address &csi.mds[] returned as implicitly only: &csi.mds[cls.currentSelectedMap] An immediate address (result of & operator) is transferred inconsistently. (Use -immediatetrans to inhibit warning) src/client/cl_game_campaign.c:357:38: Parameter step not used src/client/cl_game_campaign.c: (in function GAME_CP_GetTeam) src/client/cl_game_campaign.c:369:9: Function assert expects arg 1 to be boolean gets campaign_t *: ccs.curCampaign src/client/cl_game_campaign.c: (in function GAME_CP_TeamIsKnown) src/client/cl_game_campaign.c:381:29: Possibly null storage ccs.teamDefTechs[] passed as non-null param: RS_IsResearched_ptr (ccs.teamDefTechs[teamDef->idx]) src/client/cl_game_campaign.c:381:61: Storage ccs.teamDefTechs[] reachable from global is fresh (should be unqualified) Storage derivable from a parameter does not match the alias kind expected for the formal parameter. (Use -compmempass to inhibit warning) src/client/cl_game_campaign.c:376:3: Fresh storage ccs.teamDefTechs[] created src/client/cl_game_campaign.c: (in function GAME_CP_Frame) src/client/cl_game_campaign.c:399:6: Test expression for if not boolean, type qboolean: GAME_CP_IsRunning() src/client/cl_game_campaign.c:400:27: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetActiveWindowName() src/client/cl_game_campaign.c:400:8: Operand of ! is non-boolean (int): !strcmp("geoscape", MN_GetActiveWindowName()) src/client/cl_game_campaign.c: (in function GAME_CP_GetModelForItem) src/client/cl_game_campaign.c:417:6: Operands of && are non-booleans (struct technology_s *, char *): od->tech && od->tech->mdl src/client/cl_game_campaign.c:422:24: Released storage od->tech->mdl reachable from parameter at return point src/client/cl_game_campaign.c:422:10: Storage od->tech->mdl released src/client/cl_game_campaign.c:424:9: Null storage returned as non-null: NULL src/client/cl_game_campaign.c: (in function GAME_CP_InitializeBattlescape) src/client/cl_game_campaign.c:437:21: Function NET_WriteByte expects arg 2 to be byte gets int: team->num src/client/cl_game_campaign.c:446:2: Fresh storage msg not released before return src/client/cl_game_campaign.c:434:38: Fresh storage msg created src/client/cl_game_campaign.c: (in function GAME_CP_GetEquipmentDefinition) src/client/cl_game_campaign.c:450:9: Immediate address &ccs.eMission returned as implicitly only: &ccs.eMission src/client/cl_game_campaign.c: (in function GAME_CP_CharacterCvars) src/client/cl_game_campaign.c:459:15: Passed storage buf not completely defined (*buf is undefined): Com_sprintf (buf, ...) src/client/cl_game_campaign.c:459:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Rank: %s") src/client/cl_game_campaign.c:459:3: Return value (type qboolean) ignored: Com_sprintf(buf,... src/client/cl_game_campaign.c:460:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:461:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:462:3: Fresh storage rank not released before scope exit src/client/cl_game_campaign.c:458:51: Fresh storage rank created src/client/cl_game_campaign.c:463:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:464:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:467:24: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.assignedMissions) src/client/cl_game_campaign.c:467:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:468:30: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.kills[KILLED_ENEMIES]) src/client/cl_game_campaign.c:468:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:469:33: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.kills[KILLED_CIVILIANS]) src/client/cl_game_campaign.c:469:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c:470:29: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.kills[KILLED_TEAM]) src/client/cl_game_campaign.c:470:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/cl_game_campaign.c: (in function GAME_CP_DisplayItemInfo) src/client/cl_game_campaign.c:477:10: Function assert expects arg 1 to be boolean gets technology_t *: aircraft->tech src/client/cl_game_campaign.c:485:3: Fresh storage tech not released before scope exit src/client/cl_game_campaign.c:480:59: Fresh storage tech created src/client/cl_game_campaign.c:486:2: Fresh storage aircraft not released before return src/client/cl_game_campaign.c:475:61: Fresh storage aircraft created src/client/cl_game_campaign.c: (in function GAME_CP_InitStartup) src/client/cl_game_campaign.c:493:68: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_game_campaign.c:502:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("s... src/client/cl_game_campaign.c:503:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("s... src/client/cl_game_multiplayer.c: (in function GAME_MP_AutoTeam) src/client/cl_game_multiplayer.c:43:2: Fresh storage ed not released before return src/client/cl_game_multiplayer.c:38:79: Fresh storage ed created src/client/cl_game_multiplayer.c: (in function GAME_MP_StartServer_f) src/client/cl_game_multiplayer.c:59:7: Operand of ! is non-boolean (int): !sv_dedicated->integer src/client/cl_game_multiplayer.c:59:33: Operand of ! is non-boolean (int): !chrDisplayList.num src/client/cl_game_multiplayer.c:62:6: Left operand of && is non-boolean (int): Cvar_GetInteger("sv_teamplay") && Cvar_GetValue("sv_maxsoldiersperplayer") > Cvar_GetValue("sv_maxsoldiersperteam") src/client/cl_game_multiplayer.c:64:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Settings doesn't make sense") src/client/cl_game_multiplayer.c:64:52: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Set soldiers per player lower than soldiers per team") src/client/cl_game_multiplayer.c:69:14: Operand of ! is non-boolean (qboolean): !md->multiplayer src/client/cl_game_multiplayer.c:71:9: Function assert expects arg 1 to be boolean gets char *: md->map src/client/cl_game_multiplayer.c:73:48: Test expression for conditional not boolean, type int: Cvar_GetInteger("mn_serverday") src/client/cl_game_multiplayer.c:73:14: Passed storage map not completely defined (*map is undefined): Com_sprintf (map, ...) src/client/cl_game_multiplayer.c:73:2: Return value (type qboolean) ignored: Com_sprintf(map,... src/client/cl_game_multiplayer.c:76:2: Implicitly only storage csi.currentMD (type mapDef_t *) not released before assignment (md aliases &csi.mds[]): csi.currentMD = md A memory leak has been detected. Only-qualified storage is not released before the last reference to it is lost. (Use -mustfreeonly to inhibit warning) src/client/cl_game_multiplayer.c:76:2: Immediate address &csi.mds[] assigned to implicitly only: csi.currentMD = md src/client/cl_game_multiplayer.c: (in function GAME_MP_ChangeGametype_f) src/client/cl_game_multiplayer.c:107:14: Operand of ! is non-boolean (qboolean): !md->multiplayer src/client/cl_game_multiplayer.c:113:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/cl_game_multiplayer.c:113:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "mn_prevgametype") src/client/cl_game_multiplayer.c:121:9: Operand of ! is non-boolean (int): !strcmp((const char *)list->data, sv_gametype->string) src/client/cl_game_multiplayer.c:122:9: Test expression for if not boolean, type qboolean: next src/client/cl_game_multiplayer.c:148:9: Operand of ! is non-boolean (int): !strcmp(gt->id, sv_gametype->string) src/client/cl_game_multiplayer.c:149:9: Test expression for if not boolean, type qboolean: next src/client/cl_game_multiplayer.c:165:3: Return value (type cvar_t *) ignored: Cvar_Set("sv_gam... src/client/cl_game_multiplayer.c: (in function GAME_MP_Results) src/client/cl_game_multiplayer.c:190:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("The game was a draw!\n\nNo survivors left on any side.") src/client/cl_game_multiplayer.c:191:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Game Drawn!") src/client/cl_game_multiplayer.c:203:14: Passed storage resultText not completely defined (*resultText is undefined): Com_sprintf (resultText, ...) src/client/cl_game_multiplayer.c:203:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("\n\nEnemies killed: %i\nTeam survivors: %i") src/client/cl_game_multiplayer.c:203:2: Return value (type qboolean) ignored: Com_sprintf(resu... src/client/cl_game_multiplayer.c:205:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_game_multiplayer.c:206:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Congratulations") src/client/cl_game_multiplayer.c:208:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_game_multiplayer.c:209:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Better luck next time") src/client/cl_game_multiplayer.c:181:39: Parameter msg not used src/client/cl_game_multiplayer.c:181:61: Parameter numSpawned not used src/client/cl_game_multiplayer.c: (in function GAME_MP_MapInfo) src/client/cl_game_multiplayer.c:218:10: Operand of ! is non-boolean (qboolean): !csi.mds[cls.currentSelectedMap].multiplayer src/client/cl_game_multiplayer.c:220:30: Test expression for conditional not boolean, type int: step src/client/cl_game_multiplayer.c:234:18: New fresh storage (type char *) passed as implicitly temp (not released): va("%s ", (const char *)list->data) src/client/cl_game_multiplayer.c:237:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game_multiplayer.c:240:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("all") src/client/cl_game_multiplayer.c:240:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_game_multiplayer.c:243:9: Immediate address &csi.mds[] returned as implicitly only (md aliases &csi.mds[]): md src/client/cl_game_multiplayer.c:243:9: Possibly null storage md->gameTypes derivable from return value: md src/client/cl_game_multiplayer.c: (in function GAME_MP_GetEquipmentDefinition) src/client/cl_game_multiplayer.c:255:9: Storage equipDefMultiplayer reachable from return value is unqualified static (should be unqualified) src/client/cl_game_multiplayer.c:255:9: Immediate address &equipDefMultiplayer returned as implicitly only: &equipDefMultiplayer src/client/cl_game_multiplayer.c: (in function GAME_MP_InitStartup) src/client/cl_game_multiplayer.c:266:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("s... src/client/cl_game_multiplayer.c:268:58: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_game_multiplayer.c:278:6: Test expression for if not boolean, type size_t: strlen(max_s) src/client/cl_game_multiplayer.c:279:3: Return value (type cvar_t *) ignored: Cvar_Set("sv_max... src/client/cl_game_multiplayer.c:280:6: Test expression for if not boolean, type size_t: strlen(max_spp) src/client/cl_game_multiplayer.c:281:3: Return value (type cvar_t *) ignored: Cvar_Set("sv_max... src/client/cl_game_multiplayer.c:282:2: Fresh storage max_s not released before return src/client/cl_game_multiplayer.c:260:70: Fresh storage max_s created src/client/cl_game_multiplayer.c:282:2: Fresh storage max_spp not released before return src/client/cl_game_multiplayer.c:261:74: Fresh storage max_spp created src/client/cl_game_skirmish.c: (in function GAME_SK_SetMissionParameters) src/client/cl_game_skirmish.c:46:2: Return value (type cvar_t *) ignored: Cvar_Set("ai_civ... src/client/cl_game_skirmish.c:53:7: Test expression for if not boolean, type qboolean: CHRSH_IsTeamDefAlien(td) src/client/cl_game_skirmish.c: (in function GAME_SK_Start_f) src/client/cl_game_skirmish.c:75:10: Fresh storage name not released before return src/client/cl_game_skirmish.c:65:48: Fresh storage name created src/client/cl_game_skirmish.c:75:10: Fresh storage ed not released before return src/client/cl_game_skirmish.c:66:62: Fresh storage ed created src/client/cl_game_skirmish.c:81:9: Function assert expects arg 1 to be boolean gets char *: md->map src/client/cl_game_skirmish.c:82:49: Test expression for conditional not boolean, type int: Cvar_GetInteger("mn_serverday") src/client/cl_game_skirmish.c:82:14: Passed storage map not completely defined (*map is undefined): Com_sprintf (map, ...) src/client/cl_game_skirmish.c:82:2: Return value (type qboolean) ignored: Com_sprintf(map,... src/client/cl_game_skirmish.c:85:15: Null storage passed as non-null param: MN_InitStack (NULL, ...) src/client/cl_game_skirmish.c:88:2: Fresh storage name not released before return src/client/cl_game_skirmish.c:65:48: Fresh storage name created src/client/cl_game_skirmish.c:88:2: Fresh storage ed not released before return src/client/cl_game_skirmish.c:66:62: Fresh storage ed created src/client/cl_game_skirmish.c: (in function GAME_SK_ChangeEquip_f) src/client/cl_game_skirmish.c:111:38: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString(cvarName) src/client/cl_game_skirmish.c:114:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/cl_game_skirmish.c:114:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "sk_prevequip") src/client/cl_game_skirmish.c:118:3: Return value (type cvar_t *) ignored: Cvar_Set(cvarNam... src/client/cl_game_skirmish.c:123:3: Return value (type cvar_t *) ignored: Cvar_Set(cvarNam... src/client/cl_game_skirmish.c:125:2: Fresh storage ed not released before return src/client/cl_game_skirmish.c:111:2: Fresh storage ed created src/client/cl_game_skirmish.c:125:2: Fresh storage cvarName not released before return src/client/cl_game_skirmish.c:110:2: Fresh storage cvarName created src/client/cl_game_skirmish.c: (in function GAME_SK_Results) src/client/cl_game_skirmish.c:147:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("The game was a draw!\n\nNo survivors left on any side.") src/client/cl_game_skirmish.c:148:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Game Drawn!") src/client/cl_game_skirmish.c:160:14: Passed storage resultText not completely defined (*resultText is undefined): Com_sprintf (resultText, ...) src/client/cl_game_skirmish.c:161:4: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Enemies killed:\t\t%i\n" "Team survivors:\t\t%i\n" "Enemy survivors:\t\t%i\n" "Friendly fire:\t\t%i\n" "Civilians killed:\t\t%i\n" "Civilians killed by enemy:\t\t%i\n") src/client/cl_game_skirmish.c:160:2: Return value (type qboolean) ignored: Com_sprintf(resu... src/client/cl_game_skirmish.c:170:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_game_skirmish.c:171:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Congratulations") src/client/cl_game_skirmish.c:173:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_game_skirmish.c:174:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Better luck next time") src/client/cl_game_skirmish.c:138:39: Parameter msg not used src/client/cl_game_skirmish.c:138:61: Parameter numSpawned not used src/client/cl_game_skirmish.c: (in function GAME_SK_HideDropships) src/client/cl_game_skirmish.c:185:24: Variable hide initialized to type boolean, expects qboolean: (dropships == NULL) src/client/cl_game_skirmish.c:186:6: Test expression for if not boolean, type qboolean: hide src/client/cl_game_skirmish.c:188:3: Return value (type cvar_t *) ignored: Cvar_Set("rm_dro... src/client/cl_game_skirmish.c:191:3: Return value (type cvar_t *) ignored: Cvar_Set("rm_dro... src/client/cl_game_skirmish.c:192:25: New fresh storage (type struct menuOption_s *) passed as implicitly temp (not released): MN_GetOption(OPTION_DROPSHIPS) src/client/cl_game_skirmish.c:195:3: Fresh storage rma not released before scope exit src/client/cl_game_skirmish.c:190:83: Fresh storage rma created src/client/cl_game_skirmish.c: (in function GAME_SK_HideUFOs) src/client/cl_game_skirmish.c:205:24: Variable hide initialized to type boolean, expects qboolean: (ufos == NULL) src/client/cl_game_skirmish.c:206:6: Test expression for if not boolean, type qboolean: hide src/client/cl_game_skirmish.c:208:3: Return value (type cvar_t *) ignored: Cvar_Set("rm_ufo... src/client/cl_game_skirmish.c:211:3: Return value (type cvar_t *) ignored: Cvar_Set("rm_ufo... src/client/cl_game_skirmish.c:212:25: New fresh storage (type struct menuOption_s *) passed as implicitly temp (not released): MN_GetOption(OPTION_UFOS) src/client/cl_game_skirmish.c:215:3: Fresh storage rma not released before scope exit src/client/cl_game_skirmish.c:210:78: Fresh storage rma created src/client/cl_game_skirmish.c: (in function GAME_SK_MapInfo) src/client/cl_game_skirmish.c:225:20: Null storage passed as non-null param: GAME_SK_HideUFOs (NULL) src/client/cl_game_skirmish.c:226:25: Null storage passed as non-null param: GAME_SK_HideDropships (NULL) src/client/cl_game_skirmish.c:229:9: Immediate address &csi.mds[] returned as implicitly only (md aliases &csi.mds[]): md src/client/cl_game_skirmish.c:218:38: Parameter step not used src/client/cl_game_skirmish.c: (in function GAME_InitMenuOptions) src/client/cl_game_skirmish.c:245:51: New fresh storage (type char *) passed as implicitly temp (not released): Com_GetRandomMapAssemblyNameForCraft(shortName) src/client/cl_game_skirmish.c:245:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&uf... src/client/cl_game_skirmish.c:246:3: Fresh storage shortName not released before scope exit src/client/cl_game_skirmish.c:244:53: Fresh storage shortName created src/client/cl_game_skirmish.c:249:51: New fresh storage (type char *) passed as implicitly temp (not released): Com_GetRandomMapAssemblyNameForCraft(shortName) src/client/cl_game_skirmish.c:249:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&uf... src/client/cl_game_skirmish.c:250:3: Fresh storage shortName not released before scope exit src/client/cl_game_skirmish.c:248:60: Fresh storage shortName created src/client/cl_game_skirmish.c:251:33: Null storage ufoOptions passed as non-null param: MN_RegisterOption (..., ufoOptions) src/client/cl_game_skirmish.c:240:29: Storage ufoOptions becomes null src/client/cl_game_skirmish.c:255:56: New fresh storage (type char *) passed as implicitly temp (not released): Com_GetRandomMapAssemblyNameForCraft(shortName) src/client/cl_game_skirmish.c:255:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&ai... src/client/cl_game_skirmish.c:256:3: Fresh storage shortName not released before scope exit src/client/cl_game_skirmish.c:254:58: Fresh storage shortName created src/client/cl_game_skirmish.c:257:38: Null storage aircraftOptions passed as non-null param: MN_RegisterOption (..., aircraftOptions) src/client/cl_game_skirmish.c:241:34: Storage aircraftOptions becomes null src/client/cl_game_skirmish.c: (in function GAME_SK_InitStartup) src/client/cl_game_skirmish.c:262:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("s... src/client/cl_game_skirmish.c:263:2: Only storage assigned to unqualified static: cl_equip = Cvar_Get("cl_equip", "multiplayer_initial", 0, "Equipment that is used for skirmish mode games") src/client/cl_game_skirmish.c: (in function GAME_SK_Shutdown) src/client/cl_game_skirmish.c:275:2: Return value (type qboolean) ignored: Cvar_Delete("cl_... src/client/cl_http.c:48:23: Static multi initialized to null value: multi = NULL src/client/cl_http.c:48:23: Static multi initialized to null value: CURLM * multi = NULL = NULL src/client/cl_http.c: (in function StripHighBits) src/client/cl_http.c:58:9: Test expression for while not boolean, type char: string[0] src/client/cl_http.c:59:27: Variable c initialized to type char, expects unsigned char: *(string++) src/client/cl_http.c:61:7: Operands of >= have incompatible types (unsigned char, int): c >= 32 src/client/cl_http.c:61:18: Operands of <= have incompatible types (unsigned char, int): c <= 127 src/client/cl_http.c:62:4: Assignment of unsigned char to char: *p++ = c src/client/cl_http.c: (in function isvalidchar) src/client/cl_http.c:70:21: Operands of != have incompatible types (int, char): c != '_' src/client/cl_http.c:70:33: Operands of != have incompatible types (int, char): c != '-' src/client/cl_http.c: (in function CL_HTTP_Progress) src/client/cl_http.c:85:2: Assignment of unsigned int to size_t: dl->position = (unsigned int)dlnow src/client/cl_http.c:88:7: Operand of ! is non-boolean (int): !abortDownloads src/client/cl_http.c:92:7: Test expression for if not boolean, type double: dltotal src/client/cl_http.c:79:82: Parameter ultotal not used src/client/cl_http.c:79:98: Parameter ulnow not used src/client/cl_http.c: (in function CL_EscapeHTTPPath) src/client/cl_http.c:115:14: Operands of < have incompatible types (int, size_t): i < len src/client/cl_http.c:122:4: Buffer overflow possible with sprintf. Recommend using snprintf instead: sprintf Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to inhibit warning) src/client/cl_http.c:122:25: Format argument 1 to sprintf (%02x) expects unsigned int gets char: filePath[i] src/client/cl_http.c:122:21: Corresponding format code src/client/cl_http.c:129:2: Assignment of int to char: p[0] = 0 src/client/cl_http.c: (in function CL_StartHTTPDownload) src/client/cl_http.c:153:18: Operand of ! is non-boolean (int): !strcmp(entry->ufoPath + len - 9, ".filelist") src/client/cl_http.c:154:3: Implicitly only storage dl->file (type FILE *) not released before assignment: dl->file = NULL src/client/cl_http.c:155:37: Passed storage escapedFilePath not completely defined (*escapedFilePath is undefined): CL_EscapeHTTPPath (..., escapedFilePath) src/client/cl_http.c:158:3: Return value (type qboolean) ignored: Com_sprintf(dl->... src/client/cl_http.c:160:15: Passed storage tempFile not completely defined (*tempFile is undefined): Com_sprintf (tempFile, ...) src/client/cl_http.c:160:3: Return value (type qboolean) ignored: Com_sprintf(temp... src/client/cl_http.c:161:31: Passed storage escapedFilePath not completely defined (*escapedFilePath is undefined): CL_EscapeHTTPPath (..., escapedFilePath) src/client/cl_http.c:168:3: Implicitly only storage dl->file (type FILE *) not released before assignment: dl->file = fopen(dl->filePath, "wb") src/client/cl_http.c:168:3: Dependent storage assigned to implicitly only: dl->file = fopen(dl->filePath, "wb") Dependent storage is transferred to a non-dependent reference. (Use -dependenttrans to inhibit warning) src/client/cl_http.c:173:11: Function returns with possibly null storage derivable from parameter dl->file src/client/cl_http.c:168:14: Storage dl->file may become null src/client/cl_http.c:177:2: Implicitly only storage dl->tempBuffer (type char *) not released before assignment: dl->tempBuffer = NULL src/client/cl_http.c:181:2: Implicitly only storage dl->queueEntry (type dlqueue_t *) not released before assignment: dl->queueEntry = entry src/client/cl_http.c:181:2: Implicitly temp storage entry assigned to implicitly only: dl->queueEntry = entry Temp storage (associated with a formal parameter) is transferred to a non-temporary reference. The storage may be released or new aliases created. (Use -temptrans to inhibit warning) src/client/cl_http.c:186:2: Return value (type qboolean) ignored: Com_sprintf(dl->... src/client/cl_http.c:188:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:192:49: Null storage passed as non-null param: curl_easy_setopt (..., 0) src/client/cl_http.c:192:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:194:3: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:195:3: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:197:3: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:198:3: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:200:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:201:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:202:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:203:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:204:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:205:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:206:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:207:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:208:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:209:2: Return value (type CURLcode) ignored: curl_easy_setopt... src/client/cl_http.c:214:10: Function returns with null storage derivable from parameter dl->file src/client/cl_http.c:154:14: Storage dl->file becomes null src/client/cl_http.c:214:10: Function returns with null storage derivable from parameter dl->tempBuffer src/client/cl_http.c:177:19: Storage dl->tempBuffer becomes null src/client/cl_http.c:221:2: Function returns with null storage derivable from parameter dl->file src/client/cl_http.c:154:14: Storage dl->file becomes null src/client/cl_http.c:221:2: Function returns with null storage derivable from parameter dl->tempBuffer src/client/cl_http.c:177:19: Storage dl->tempBuffer becomes null src/client/cl_http.c: (in function CL_SetHTTPServer) src/client/cl_http.c:240:4: Return value (type uint32_t) ignored: _Mem_Free((last)... src/client/cl_http.c:246:3: Return value (type uint32_t) ignored: _Mem_Free((last)... src/client/cl_http.c:251:2: Only storage assigned to unqualified static: multi = curl_multi_init() src/client/cl_http.c:258:10: Parameter 1 (cls.downloadServer) to function strncpy is declared unique but may be aliased externally by parameter 2 (URL) A unique or only parameter may be aliased by some other parameter or visible global. (Use -mayaliasunique to inhibit warning) src/client/cl_http.c: (in function CL_CancelHTTPDownloads) src/client/cl_http.c:270:6: Test expression for if not boolean, type qboolean: permKill src/client/cl_http.c:283:7: Operand of ! is non-boolean (int): !pendingCount src/client/cl_http.c:283:24: Operand of ! is non-boolean (int): !handleCount src/client/cl_http.c:284:3: Assignment of int to char: cls.downloadServer[0] = 0 src/client/cl_http.c: (in function CL_GetFreeDLHandle) src/client/cl_http.c:299:11: Immediate address &cls.HTTPHandles[] returned as implicitly only (dl aliases &cls.HTTPHandles[]): dl src/client/cl_http.c:302:9: Null storage returned as non-null: NULL src/client/cl_http.c: (in function CL_QueueHTTPDownload) src/client/cl_http.c:315:7: Operand of ! is non-boolean (char): !cls.downloadServer[0] src/client/cl_http.c:315:32: Right operand of || is non-boolean (int): !cls.downloadServer[0] || abortDownloads src/client/cl_http.c:315:51: Operand of ! is non-boolean (int): !cl_http_downloads->integer src/client/cl_http.c:324:8: Operand of ! is non-boolean (int): !strcmp(ufoPath, q->ufoPath) src/client/cl_http.c:337:6: Left operand of && is non-boolean (int): cl_http_filelists->integer && len > 4 src/client/cl_http.c:337:48: Unrecognized identifier: strcasecmp Identifier used in code has not been declared. (Use -unrecog to inhibit warning) src/client/cl_http.c:341:15: Passed storage filePath not completely defined (*filePath is undefined): Com_sprintf (filePath, ...) src/client/cl_http.c:341:3: Return value (type qboolean) ignored: Com_sprintf(file... src/client/cl_http.c:342:24: Passed storage listPath not completely defined (*listPath is undefined): CL_QueueHTTPDownload (listPath) src/client/cl_http.c:342:3: Return value (type qboolean) ignored: CL_QueueHTTPDown... src/client/cl_http.c: (in function CL_PendingHTTPDownloads) src/client/cl_http.c:359:7: Operand of ! is non-boolean (char): !cls.downloadServer[0] src/client/cl_http.c: (in function CL_CheckOrDownloadFile) src/client/cl_http.c:392:7: Operand of ! is non-boolean (int): !strcmp(filename, lastfilename) src/client/cl_http.c:417:28: Null storage passed as non-null param: FS_LoadFile (..., NULL) src/client/cl_http.c:422:6: Test expression for if not boolean, type qboolean: CL_QueueHTTPDownload(filename) src/client/cl_http.c: (in function CL_CheckAndQueueDownload) src/client/cl_http.c:454:7: Operand of ! is non-boolean (char): !ext[0] src/client/cl_http.c:457:2: Return value (type char *) ignored: Q_strlwr(ext) src/client/cl_http.c:459:7: Operand of ! is non-boolean (int): !strcmp(ext, "pk3") src/client/cl_http.c:465:7: Operand of ! is non-boolean (qboolean): !pak src/client/cl_http.c:465:14: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") src/client/cl_http.c:465:36: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") src/client/cl_http.c:465:58: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") src/client/cl_http.c:465:80: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") src/client/cl_http.c:466:3: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") src/client/cl_http.c:466:25: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") src/client/cl_http.c:466:47: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") src/client/cl_http.c:466:69: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") && strcmp(ext, "jpg") src/client/cl_http.c:467:3: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") && strcmp(ext, "jpg") && strcmp(ext, "dpm") src/client/cl_http.c:467:25: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") && strcmp(ext, "jpg") && strcmp(ext, "dpm") && strcmp(ext, "obj") src/client/cl_http.c:467:47: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") && strcmp(ext, "jpg") && strcmp(ext, "dpm") && strcmp(ext, "obj") && strcmp(ext, "mat") src/client/cl_http.c:467:69: Right operand of && is non-boolean (int): !pak && strcmp(ext, "bsp") && strcmp(ext, "wav") && strcmp(ext, "md2") && strcmp(ext, "ogg") && strcmp(ext, "md3") && strcmp(ext, "tga") && strcmp(ext, "png") && strcmp(ext, "jpg") && strcmp(ext, "dpm") && strcmp(ext, "obj") && strcmp(ext, "mat") && strcmp(ext, "ump") src/client/cl_http.c:473:7: Test expression for if not boolean, type qboolean: pak src/client/cl_http.c:483:41: Function isvalidchar expects arg 1 to be int gets char: path[0] src/client/cl_http.c:483:29: Operand of ! is non-boolean (qboolean): !isvalidchar(path[0]) src/client/cl_http.c:483:6: Left operand of || is non-boolean (char *): strstr(path, "..") || !isvalidchar(path[0]) src/client/cl_http.c:483:66: Function isvalidchar expects arg 1 to be int gets char: path[length - 1] src/client/cl_http.c:483:54: Operand of ! is non-boolean (qboolean): !isvalidchar(path[length - 1]) src/client/cl_http.c:483:85: Right operand of || is non-boolean (char *): strstr(path, "..") || !isvalidchar(path[0]) || !isvalidchar(path[length - 1]) || strstr(path, "//") src/client/cl_http.c:484:3: Right operand of || is non-boolean (char *): strstr(path, "..") || !isvalidchar(path[0]) || !isvalidchar(path[length - 1]) || strstr(path, "//") || strchr(path, '\\') src/client/cl_http.c:484:27: Operand of ! is non-boolean (qboolean): !pak src/client/cl_http.c:484:58: Operands of && are non-booleans (qboolean, char *): pak && strchr(path, '/') src/client/cl_http.c:490:6: Operands of || are non-boolean (qboolean): gameLocal || pak src/client/cl_http.c:496:7: Test expression for if not boolean, type qboolean: pak src/client/cl_http.c:497:16: Passed storage gamePath not completely defined (*gamePath is undefined): Com_sprintf (gamePath, ...) src/client/cl_http.c:497:4: Return value (type qboolean) ignored: Com_sprintf(game... src/client/cl_http.c:503:5: Return value (type int) ignored: fclose(f) src/client/cl_http.c:508:8: Operand of ! is non-boolean (qboolean): !exists src/client/cl_http.c:509:8: Test expression for if not boolean, type qboolean: CL_QueueHTTPDownload(path) src/client/cl_http.c:513:9: Test expression for if not boolean, type qboolean: pak src/client/cl_http.c:525:6: Immediate address &cls.downloadQueue assigned to implicitly only (q aliases &cls.downloadQueue): cls.downloadQueue.next = q src/client/cl_http.c:530:3: Return value (type qboolean) ignored: CL_CheckOrDownlo... src/client/cl_http.c: (in function CL_ParseFileList) src/client/cl_http.c:540:7: Operand of ! is non-boolean (int): !cl_http_filelists->integer src/client/cl_http.c:548:4: Assignment of int to char: p[0] = 0 src/client/cl_http.c:549:8: Test expression for if not boolean, type char: list[0] src/client/cl_http.c:553:8: Test expression for if not boolean, type char: list[0] src/client/cl_http.c:559:2: Return value (type uint32_t) ignored: _Mem_Free((dl->t... src/client/cl_http.c:561:2: Last reference list to implicitly only storage dl->tempBuffer not released before return src/client/cl_http.c:560:2: Original reference lost src/client/cl_http.c:561:2: Function returns with null storage derivable from parameter dl->tempBuffer src/client/cl_http.c:560:19: Storage dl->tempBuffer becomes null src/client/cl_http.c: (in function CL_ReVerifyHTTPQueue) src/client/cl_http.c:576:32: Null storage passed as non-null param: FS_LoadFile (..., NULL) src/client/cl_http.c: (in function CL_HTTP_Cleanup) src/client/cl_http.c:595:4: Return value (type int) ignored: fclose(dl->file) src/client/cl_http.c:596:4: Return value (type int) ignored: remove(dl->filePath) src/client/cl_http.c:601:4: Return value (type uint32_t) ignored: _Mem_Free((dl->t... src/client/cl_http.c:607:5: Return value (type CURLMcode) ignored: curl_multi_remov... src/client/cl_http.c:614:3: Return value (type CURLMcode) ignored: curl_multi_clean... src/client/cl_http.c:617:2: Function returns with null storage derivable from global cls.HTTPHandles[].curl src/client/cl_http.c:609:15: Storage cls.HTTPHandles[].curl becomes null src/client/cl_http.c:617:2: Function returns with non-null global multi referencing null storage src/client/cl_http.c:251:10: Storage multi becomes null src/client/cl_http.c: (in function CL_FinishHTTPDownload) src/client/cl_http.c:634:46: Passed storage &messagesInQueue not completely defined: curl_multi_info_read (..., &messagesInQueue) src/client/cl_http.c:661:5: Arrow access from possibly null pointer dl: dl->queueEntry src/client/cl_http.c:635:20: Storage dl may become null src/client/cl_http.c:669:7: Test expression for if not boolean, type qboolean: isFile src/client/cl_http.c:670:11: Possibly null storage dl->file passed as non-null param: fclose (dl->file) src/client/cl_http.c:670:4: Return value (type int) ignored: fclose(dl->file) src/client/cl_http.c:671:4: Implicitly only storage dl->file (type FILE *) not released before assignment: dl->file = NULL src/client/cl_http.c:675:7: Test expression for if not boolean, type int: pendingCount src/client/cl_http.c:679:3: Assignment of int to char: cls.downloadName[0] = 0 src/client/cl_http.c:689:53: Passed storage &responseCode not completely defined: curl_easy_getinfo (..., &responseCode) src/client/cl_http.c:689:5: Return value (type CURLcode) ignored: curl_easy_getinf... src/client/cl_http.c:692:23: Operand of ! is non-boolean (int): !strcmp(dl->queueEntry->ufoPath + len - 4, ".pk3") src/client/cl_http.c:695:10: Test expression for if not boolean, type qboolean: isFile src/client/cl_http.c:698:54: Passed storage &fileSize not completely defined: curl_easy_getinfo (..., &fileSize) src/client/cl_http.c:698:6: Return value (type CURLcode) ignored: curl_easy_getinf... src/client/cl_http.c:705:7: Return value (type CURLMcode) ignored: curl_multi_remov... src/client/cl_http.c:709:11: Operand of ! is non-boolean (qboolean): !isFile src/client/cl_http.c:709:22: Operand of ! is non-boolean (int): !abortDownloads src/client/cl_http.c:717:9: Fall through case (no preceding break) Execution falls through from the previous case (use /*@fallthrough@*/ to mark fallthrough cases). (Use -casebreak to inhibit warning) src/client/cl_http.c:720:9: Test expression for if not boolean, type qboolean: isFile src/client/cl_http.c:723:5: Return value (type CURLMcode) ignored: curl_multi_remov... src/client/cl_http.c:724:9: Test expression for if not boolean, type int: abortDownloads src/client/cl_http.c:729:5: Assignment of size_t to int: i = strlen(dl->queueEntry->ufoPath) src/client/cl_http.c:730:10: Operand of ! is non-boolean (int): !strcmp(dl->queueEntry->ufoPath + i - 4, ".pk3") src/client/cl_http.c:732:9: Test expression for if not boolean, type qboolean: isFile src/client/cl_http.c:735:5: Return value (type CURLMcode) ignored: curl_multi_remov... src/client/cl_http.c:739:7: Test expression for if not boolean, type qboolean: isFile src/client/cl_http.c:741:16: Passed storage tempName not completely defined (*tempName is undefined): Com_sprintf (tempName, ...) src/client/cl_http.c:741:4: Return value (type qboolean) ignored: Com_sprintf(temp... src/client/cl_http.c:743:9: Operand of ! is non-boolean (qboolean): !FS_RenameFile(dl->filePath, tempName, qfalse) src/client/cl_http.c:747:4: Assignment of size_t to int: i = strlen(tempName) src/client/cl_http.c:748:9: Operand of ! is non-boolean (int): !strcmp(tempName + i - 4, ".pk3") src/client/cl_http.c:756:48: Passed storage &timeTaken not completely defined: curl_easy_getinfo (..., &timeTaken) src/client/cl_http.c:756:3: Return value (type CURLcode) ignored: curl_easy_getinf... src/client/cl_http.c:757:51: Passed storage &fileSize not completely defined: curl_easy_getinfo (..., &fileSize) src/client/cl_http.c:757:3: Return value (type CURLcode) ignored: curl_easy_getinf... src/client/cl_http.c:764:3: Return value (type CURLMcode) ignored: curl_multi_remov... src/client/cl_http.c:768:3: Fresh storage msg not released before scope exit src/client/cl_http.c:634:64: Fresh storage msg created src/client/cl_http.c:774:4: Assignment of int to char: cls.downloadServer[0] = 0 src/client/cl_http.c:778:36: Operand of ! is non-boolean (qboolean): !CL_PendingHTTPDownloads() src/client/cl_http.c: (in function CL_RunHTTPDownloads) src/client/cl_http.c:820:7: Operand of ! is non-boolean (char): !cls.downloadServer[0] src/client/cl_http.c:826:6: Left operand of && is non-boolean (int): pendingCount && abortDownloads == HTTPDL_ABORT_NONE src/client/cl_http.c:827:4: Operand of ! is non-boolean (qboolean): !downloading_pak src/client/cl_http.c:832:35: Passed storage &newHandleCount not completely defined: curl_multi_perform (..., &newHandleCount) src/client/cl_http.c:847:6: Left operand of && is non-boolean (int): pendingCount && abortDownloads == HTTPDL_ABORT_NONE src/client/cl_http.c:848:4: Operand of ! is non-boolean (qboolean): !downloading_pak src/client/cl_http.c: (in function HTTP_InitStartup) src/client/cl_http.c:854:60: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_http.c:854:2: Only storage assigned to unqualified static: cl_http_filelists = Cvar_Get("cl_http_filelists", "1", 0, NULL) src/client/cl_http.c:855:2: Only storage assigned to unqualified static: cl_http_downloads = Cvar_Get("cl_http_downloads", "1", 0, "Try to download files via http") src/client/cl_http.c:856:72: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_http.c:856:2: Only storage assigned to unqualified static: cl_http_max_connections = Cvar_Get("cl_http_max_connections", "1", 0, NULL) src/client/cl_inventory.c: (in function INV_GetEquipmentDefinitionByID) src/client/cl_inventory.c:46:8: Operand of ! is non-boolean (int): !strcmp(name, csi.eds[i].name) src/client/cl_inventory.c:47:11: Immediate address &csi.eds[] returned as implicitly only: &csi.eds[i] src/client/cl_inventory.c:50:9: Null storage returned as non-null: NULL src/client/cl_inventory.c: (in function INV_MoveItem) src/client/cl_inventory.c:77:88: Null storage passed as non-null param: cls.i.MoveInInventory (..., NULL, ...) src/client/cl_inventory.c:77:94: Null storage passed as non-null param: cls.i.MoveInInventory (..., NULL) src/client/cl_inventory.c: (in function INV_LoadWeapon) src/client/cl_inventory.c:101:9: Function assert expects arg 1 to be boolean gets invList_t *: weapon src/client/cl_inventory.c:110:3: Return value (type qboolean) ignored: INV_MoveItem(inv... src/client/cl_inventory.c:111:2: Fresh storage ic not released before return src/client/cl_inventory.c:106:3: Fresh storage ic created src/client/cl_inventory.c: (in function INV_UnloadWeapon) src/client/cl_inventory.c:122:9: Function assert expects arg 1 to be boolean gets invList_t *: weapon src/client/cl_inventory.c:123:6: Operands of && are non-booleans (invDef_t *, inventory_t *): container && inv src/client/cl_inventory.c:124:27: Local item.m initialized to null value: item.m = NULL src/client/cl_inventory.c:128:17: Only storage item.m (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_inventory.c:128:17: Only storage item.t (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_inventory.c:128:17: Function returns with null storage derivable from parameter weapon->item.m src/client/cl_inventory.c:126:21: Storage weapon->item.m becomes null src/client/cl_inventory.c:130:3: Only storage item.m (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_inventory.c:130:3: Only storage item.t (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_inventory.c:130:2: Storage weapon->item.m is released in one path, but live in another. The state of a variable is different depending on which branch is taken. This means no annotation can sensibly be applied to the storage. (Use -branchstate to inhibit warning) src/client/cl_inventory.c:124:33: Storage weapon->item.m released src/client/cl_inventory.c:131:16: Released storage weapon->item.m reachable from parameter at return point src/client/cl_inventory.c:124:33: Storage weapon->item.m released src/client/cl_inventory.c: (in function INV_InventoryList_f) src/client/cl_inventory.c:159:3: Fresh storage od not released before scope exit src/client/cl_inventory.c:144:40: Fresh storage od created src/client/cl_inventory.c: (in function INV_EquipmentDefSanityCheck) src/client/cl_inventory.c:177:7: Operands of && are non-boolean (int): strncmp(ed->name, "alien", 5) && strncmp(ed->name, "phalanx", 7) src/client/cl_inventory.c:184:8: Operands of && are non-boolean (qboolean): obj->weapon && obj->fireTwoHanded src/client/cl_inventory.c:185:9: Operands of || are non-boolean (qboolean): INV_ItemMatchesFilter(obj, FILTER_S_PRIMARY) || INV_ItemMatchesFilter(obj, FILTER_S_HEAVY) src/client/cl_inventory.c:197:8: Operands of && are non-booleans (qboolean, int): obj->weapon && obj->reload src/client/cl_inventory.c:197:39: Operand of ! is non-boolean (qboolean): !obj->deplete src/client/cl_inventory.c:197:55: Right operand of && is non-boolean (qboolean): obj->weapon && obj->reload && !obj->deplete && INV_ItemMatchesFilter(obj, FILTER_S_SECONDARY) src/client/cl_inventory.c:209:8: Test expression for if not boolean, type qboolean: INV_ItemMatchesFilter(obj, FILTER_S_ARMOUR) src/client/cl_inventory.c: (in function INV_GetFilterFromItem) src/client/cl_inventory.c:225:9: Function assert expects arg 1 to be boolean gets objDef_t *: obj src/client/cl_inventory.c:228:6: Test expression for if not boolean, type qboolean: obj->isHeavy src/client/cl_inventory.c:230:11: Test expression for if not boolean, type qboolean: obj->isPrimary src/client/cl_inventory.c:232:11: Test expression for if not boolean, type qboolean: obj->isSecondary src/client/cl_inventory.c:234:11: Test expression for if not boolean, type qboolean: obj->isMisc src/client/cl_inventory.c:236:13: Operand of ! is non-boolean (int): !strcmp((obj)->type, "armour") src/client/cl_inventory.c:241:2: Path with no return in function declared to return itemFilterTypes_t src/client/cl_inventory.c: (in function INV_ItemMatchesFilter) src/client/cl_inventory.c:258:26: Operand of ! is non-boolean (qboolean): !obj->isHeavy src/client/cl_inventory.c:258:7: Left operand of && is non-boolean (qboolean): obj->isPrimary && !obj->isHeavy src/client/cl_inventory.c:263:8: Left operand of && is non-boolean (struct objDef_s *): obj->weapons[i] && obj->weapons[i] != obj src/client/cl_inventory.c:263:53: Right operand of && is non-boolean (qboolean): obj->weapons[i] && obj->weapons[i] != obj && INV_ItemMatchesFilter(obj->weapons[i], filterType) src/client/cl_inventory.c:269:28: Operand of ! is non-boolean (qboolean): !obj->isHeavy src/client/cl_inventory.c:269:7: Left operand of && is non-boolean (qboolean): obj->isSecondary && !obj->isHeavy src/client/cl_inventory.c:274:8: Left operand of && is non-boolean (struct objDef_s *): obj->weapons[i] && obj->weapons[i] != obj src/client/cl_inventory.c:274:53: Right operand of && is non-boolean (qboolean): obj->weapons[i] && obj->weapons[i] != obj && INV_ItemMatchesFilter(obj->weapons[i], filterType) src/client/cl_inventory.c:280:7: Test expression for if not boolean, type qboolean: obj->isHeavy src/client/cl_inventory.c:285:8: Left operand of && is non-boolean (struct objDef_s *): obj->weapons[i] && obj->weapons[i] != obj src/client/cl_inventory.c:285:53: Right operand of && is non-boolean (qboolean): obj->weapons[i] && obj->weapons[i] != obj && INV_ItemMatchesFilter(obj->weapons[i], filterType) src/client/cl_inventory.c:291:12: Operand of ! is non-boolean (int): !strcmp((obj)->type, "armour") src/client/cl_inventory.c:291:10: Return value type boolean does not match declared type qboolean: (!strcmp((obj)->type, "armour")) src/client/cl_inventory.c:307:11: Operand of ! is non-boolean (int): !strcmp(obj->type, "aircraft") src/client/cl_inventory.c:307:10: Return value type boolean does not match declared type qboolean: !strcmp(obj->type, "aircraft") src/client/cl_inventory.c: (in function INVSH_SearchInInventoryWithFilter) src/client/cl_inventory.c:342:7: Operands of && are non-booleans (invList_t *, objDef_t *): ic && ic->item.t src/client/cl_inventory.c:342:28: Left operand of || is non-boolean (qboolean): INV_ItemMatchesFilter(ic->item.t, filterType) || filterType == MAX_FILTERTYPES src/client/cl_inventory.c:340:42: Arrow access from possibly null pointer ic (in post loop increment): ic->next src/client/cl_inventory.c:340:42: Storage ic may become null src/client/cl_inventory.c:352:9: Null storage returned as non-null: NULL src/client/cl_inventory.c:335:107: Parameter x not used src/client/cl_inventory.c:335:114: Parameter y not used src/client/cl_inventory.c:370:27: Incompatible types for * (boolean, int): (((sizeof((filterTypeNames)) / sizeof((*(filterTypeNames)))) == MAX_FILTERTYPES) != 0) * 2 src/client/cl_inventory.c: (in function INV_GetFilterTypeID) src/client/cl_inventory.c:388:30: Operand of ! is non-boolean (int): !strcmp(filterTypeNames[i], filterTypeID) src/client/cl_inventory.c:388:7: Left operand of && is non-boolean (char *): filterTypeNames[i] && !strcmp(filterTypeNames[i], filterTypeID) src/client/cl_inventory.c: (in function INV_GetFilterType) src/client/cl_inventory.c:403:9: Unqualified storage filterTypeNames[id] returned as implicitly only: filterTypeNames[id] src/client/cl_inventory.c:403:29: Function returns with global filterTypeNames not completely defined (filterTypeNames[] is undefined) src/client/cl_inventory.c:403:9: Storage filterTypeNames[] possibly released src/client/cl_inventory_callbacks.c: (in function INV_ItemDescription) src/client/cl_inventory_callbacks.c:73:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/cl_inventory_callbacks.c:74:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/cl_inventory_callbacks.c:82:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext(od->name) src/client/cl_inventory_callbacks.c:82:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/cl_inventory_callbacks.c:83:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/cl_inventory_callbacks.c:86:8: Operand of ! is non-boolean (int): !strcmp((od)->type, "ammo") src/client/cl_inventory_callbacks.c:90:8: Test expression for if not boolean, type qboolean: GAME_ItemIsUseable(od->weapons[i]) src/client/cl_inventory_callbacks.c:95:12: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->weapons[itemIndex]) src/client/cl_inventory_callbacks.c:100:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext(od->weapons[itemIndex]->name) src/client/cl_inventory_callbacks.c:100:4: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_inventory_callbacks.c:102:13: Operands of && are non-booleans (qboolean, int): od->weapon && od->reload src/client/cl_inventory_callbacks.c:106:8: Test expression for if not boolean, type qboolean: GAME_ItemIsUseable(od->ammos[i]) src/client/cl_inventory_callbacks.c:115:12: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->ammos[itemIndex]) src/client/cl_inventory_callbacks.c:120:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext(od->ammos[itemIndex]->name) src/client/cl_inventory_callbacks.c:120:4: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_inventory_callbacks.c:125:19: Right operand of || is non-boolean (qboolean): count > 0 || GAME_ItemIsUseable(od) src/client/cl_inventory_callbacks.c:129:9: Operand of ! is non-boolean (int): !strcmp((od)->type, "armour") src/client/cl_inventory_callbacks.c:130:44: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Size:\t%i\n") src/client/cl_inventory_callbacks.c:130:4: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c:132:23: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BDamage type:\tProtection:\n") src/client/cl_inventory_callbacks.c:134:10: Operand of ! is non-boolean (qboolean): !csi.dts[i].showInMenu src/client/cl_inventory_callbacks.c:136:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\t%i\n") src/client/cl_inventory_callbacks.c:136:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s\t%i\n"), gettext(csi.dts[i].id), od->ratings[i]) src/client/cl_inventory_callbacks.c:138:30: Operands of || are non-booleans (int, fireDefIndex_t [4]): od->numAmmos || od->numFiredefs src/client/cl_inventory_callbacks.c:138:15: Left operand of && is non-boolean (qboolean): od->weapon && (od->numAmmos || od->numFiredefs) src/client/cl_inventory_callbacks.c:138:69: Operand of ! is non-boolean (int): !strcmp((od)->type, "ammo") src/client/cl_inventory_callbacks.c:143:9: Test expression for if not boolean, type qboolean: od->weapon src/client/cl_inventory_callbacks.c:144:71: Test expression for conditional not boolean, type qboolean: od->fireTwoHanded src/client/cl_inventory_callbacks.c:144:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s weapon\n") src/client/cl_inventory_callbacks.c:144:6: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c:146:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Max ammo:\t%i\n") src/client/cl_inventory_callbacks.c:146:26: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Max ammo:\t%i\n"), od->ammo) src/client/cl_inventory_callbacks.c:147:15: Test expression for conditional not boolean, type int: (od->numAmmos) src/client/cl_inventory_callbacks.c:148:13: Function assert expects arg 1 to be boolean gets objDef_t *: odAmmo src/client/cl_inventory_callbacks.c:156:9: Left operand of && is non-boolean (qboolean): GAME_ItemIsUseable(odAmmo) && odAmmo->numFiredefs[weaponIndex] > 0 src/client/cl_inventory_callbacks.c:158:6: Assignment of fireDefIndex_t to int: numFiredefs = odAmmo->numFiredefs[weaponIndex] src/client/cl_inventory_callbacks.c:170:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext(fd->name) src/client/cl_inventory_callbacks.c:170:6: Return value (type cvar_t *) ignored: Cvar_Set("mn_fir... src/client/cl_inventory_callbacks.c:173:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Skill:\t%s\n") src/client/cl_inventory_callbacks.c:173:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Skill:\t%s\n"), CL_WeaponSkillToName(fd->weaponSkill)) src/client/cl_inventory_callbacks.c:174:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Damage:\t%i\n") src/client/cl_inventory_callbacks.c:174:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Damage:\t%i\n"), (int)(fd->damage[0] + fd->spldmg[0]) * fd->shots) src/client/cl_inventory_callbacks.c:175:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Time units:\t%i\n") src/client/cl_inventory_callbacks.c:175:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Time units:\t%i\n"), fd->time) src/client/cl_inventory_callbacks.c:176:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Range:\t%g\n") src/client/cl_inventory_callbacks.c:176:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Range:\t%g\n"), fd->range / 32) src/client/cl_inventory_callbacks.c:177:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Spreads:\t%g\n") src/client/cl_inventory_callbacks.c:177:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Spreads:\t%g\n"), (fd->spread[0] + fd->spread[1]) / 2) src/client/cl_inventory_callbacks.c:180:93: Operand of ! is non-boolean (int): !strcmp((od)->type, "ammo") src/client/cl_inventory_callbacks.c:180:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s. No detailed info available.\n") src/client/cl_inventory_callbacks.c:180:5: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c:182:14: Test expression for if not boolean, type qboolean: od->weapon src/client/cl_inventory_callbacks.c:183:79: Test expression for conditional not boolean, type qboolean: od->fireTwoHanded src/client/cl_inventory_callbacks.c:183:44: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s ammo-less weapon\n") src/client/cl_inventory_callbacks.c:183:4: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c:186:82: Test expression for conditional not boolean, type qboolean: od->fireTwoHanded src/client/cl_inventory_callbacks.c:186:44: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s auxiliary equipment\n") src/client/cl_inventory_callbacks.c:186:4: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c:188:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Action:\t%s\n") src/client/cl_inventory_callbacks.c:188:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Action:\t%s\n"), gettext(od->fd[0][0].name)) src/client/cl_inventory_callbacks.c:189:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Time units:\t%i\n") src/client/cl_inventory_callbacks.c:189:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Time units:\t%i\n"), od->fd[0][0].time) src/client/cl_inventory_callbacks.c:190:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Range:\t%g\n") src/client/cl_inventory_callbacks.c:190:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Range:\t%g\n"), od->fd[0][0].range / 32) src/client/cl_inventory_callbacks.c:197:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Unknown - not useable") src/client/cl_inventory_callbacks.c:197:3: Return value (type qboolean) ignored: Com_sprintf(item... src/client/cl_inventory_callbacks.c: (in function INV_IncreaseItem_f) src/client/cl_inventory_callbacks.c:243:6: Test expression for if not boolean, type int: od->numWeapons src/client/cl_inventory_callbacks.c:250:37: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->weapons[itemIndex]) src/client/cl_inventory_callbacks.c:251:13: Test expression for if not boolean, type int: od->numAmmos src/client/cl_inventory_callbacks.c:258:37: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->ammos[itemIndex]) src/client/cl_inventory_callbacks.c: (in function INV_DecreaseItem_f) src/client/cl_inventory_callbacks.c:274:6: Test expression for if not boolean, type int: od->numWeapons src/client/cl_inventory_callbacks.c:281:37: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->weapons[itemIndex]) src/client/cl_inventory_callbacks.c:282:13: Test expression for if not boolean, type int: od->numAmmos src/client/cl_inventory_callbacks.c:289:37: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od->ammos[itemIndex]) src/client/cl_irc.c: (in function Irc_IsChannel) src/client/cl_irc.c:292:9: Function assert expects arg 1 to be boolean gets char *: target src/client/cl_irc.c:293:9: Return value type boolean does not match declared type qboolean: (target[0] == '#' || target[0] == '&') src/client/cl_irc.c: (in function Irc_ParseName) src/client/cl_irc.c:299:6: Operands of == have incompatible types (char, enum irc_nick_prefix_e { IRC_NICK_PREFIX_NONE, IRC_NICK_PREFIX_OP, IRC_NICK_PREFIX_VOICE }): mask[0] == IRC_NICK_PREFIX_OP src/client/cl_irc.c:299:39: Operands of == have incompatible types (char, enum irc_nick_prefix_e { IRC_NICK_PREFIX_NONE, IRC_NICK_PREFIX_OP, IRC_NICK_PREFIX_VOICE }): mask[0] == IRC_NICK_PREFIX_VOICE src/client/cl_irc.c:306:19: Variable length initialized to type int, expects size_t: emph - mask src/client/cl_irc.c:310:10: Parameter 1 (nick) to function memcpy is declared unique but may be aliased externally by parameter 2 (mask) src/client/cl_irc.c: (in function Irc_Proto_Connect) src/client/cl_irc.c:351:7: Operand of ! is non-boolean (qboolean): !status src/client/cl_irc.c:352:3: Implicitly only storage irc_bucket.first_msg (type irc_bucket_message_t *) not released before assignment: irc_bucket.first_msg = NULL src/client/cl_irc.c:358:16: Function returns with null storage derivable from global irc_bucket.first_msg src/client/cl_irc.c:352:26: Storage irc_bucket.first_msg becomes null src/client/cl_irc.c: (in function Irc_Proto_Disconnect) src/client/cl_irc.c:367:7: Operand of ! is non-boolean (qboolean): !status src/client/cl_irc.c:373:4: Return value (type uint32_t) ignored: _Mem_Free((prev-... src/client/cl_irc.c:374:4: Return value (type uint32_t) ignored: _Mem_Free((prev)... src/client/cl_irc.c: (in function Irc_Proto_Quit) src/client/cl_irc.c:391:20: Function Irc_Net_Send expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Nick) src/client/cl_irc.c:403:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_User) src/client/cl_irc.c:412:83: Test expression for conditional not boolean, type qboolean: invisible src/client/cl_irc.c:414:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Password) src/client/cl_irc.c:425:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Join) src/client/cl_irc.c:448:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Part) src/client/cl_irc.c:459:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Mode) src/client/cl_irc.c:472:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Topic) src/client/cl_irc.c:485:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Msg) src/client/cl_irc.c:497:16: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\n", &text[1]) src/client/cl_irc.c:503:33: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Notice) src/client/cl_irc.c:515:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Pong) src/client/cl_irc.c:528:20: Function Irc_Net_Send expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Kick) src/client/cl_irc.c:541:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Who) src/client/cl_irc.c:552:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Whois) src/client/cl_irc.c:563:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_Whowas) src/client/cl_irc.c:574:32: Function Irc_Proto_Enqueue expects arg 2 to be size_t gets int: msg_len src/client/cl_irc.c: (in function Irc_Proto_PollServerMsg) src/client/cl_irc.c:598:28: Variable cmd_len initialized to type int, expects size_t: end + 2 - begin src/client/cl_irc.c:599:10: Operand of ! is non-boolean (qboolean): !Irc_Proto_ParseServerMsg(begin, cmd_len, msg) src/client/cl_irc.c: (in function Irc_AppendToBuffer) src/client/cl_irc.c:631:14: Passed storage appendString not completely defined (*appendString is undefined): Q_vsnprintf (appendString, ...) src/client/cl_irc.c:631:2: Return value (type int) ignored: Q_vsnprintf(appe... src/client/cl_irc.c:643:14: Passed storage buf not completely defined (*buf is undefined): Com_sprintf (buf, ...) src/client/cl_irc.c:643:2: Return value (type qboolean) ignored: Com_sprintf(buf,... src/client/cl_irc.c:645:6: Test expression for if not boolean, type int: irc_logConsole->integer src/client/cl_irc.c:651:45: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetActiveWindowName() src/client/cl_irc.c:651:6: Operands of && are non-boolean (int): irc_showIfNotInMenu->integer && strcmp(MN_GetActiveWindowName(), "irc") src/client/cl_irc.c: (in function Irc_Client_CmdRplWhowasuser) src/client/cl_irc.c:667:19: Passed storage buf not completely defined (*buf is undefined): Q_strncpyzDebug (buf, ...) src/client/cl_irc.c:679:3: Clauses exit with user referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:662:36: Storage user becomes static src/client/cl_irc.c:674:4: Storage user becomes stack-allocated storage src/client/cl_irc.c:679:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:662:71: Storage nick becomes static src/client/cl_irc.c:671:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:679:3: Clauses exit with host referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:662:48: Storage host becomes static src/client/cl_irc.c:677:4: Storage host becomes stack-allocated storage src/client/cl_irc.c:679:3: Clauses exit with user referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:662:36: Storage user becomes static src/client/cl_irc.c:662:36: Storage user becomes static src/client/cl_irc.c:679:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:662:71: Storage nick becomes static src/client/cl_irc.c:662:71: Storage nick becomes static src/client/cl_irc.c:680:2: Clauses exit with host referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:662:48: Storage host becomes static src/client/cl_irc.c:662:48: Storage host becomes static src/client/cl_irc.c:680:2: Clauses exit with user referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:662:36: Storage user becomes static src/client/cl_irc.c:662:36: Storage user becomes static src/client/cl_irc.c:680:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:662:71: Storage nick becomes static src/client/cl_irc.c:662:71: Storage nick becomes static src/client/cl_irc.c:681:44: Possibly null storage nick passed as non-null param: Irc_AppendToBuffer (..., nick, ...) src/client/cl_irc.c:671:11: Storage nick may become null src/client/cl_irc.c:681:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdTopic) src/client/cl_irc.c:686:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("i... src/client/cl_irc.c:684:48: Parameter prefix not used src/client/cl_irc.c: (in function Irc_Client_CmdRplWhoisuser) src/client/cl_irc.c:718:3: Clauses exit with user referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:701:36: Storage user becomes static src/client/cl_irc.c:713:4: Storage user becomes stack-allocated storage src/client/cl_irc.c:718:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:701:71: Storage nick becomes static src/client/cl_irc.c:710:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:718:3: Clauses exit with host referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:701:48: Storage host becomes static src/client/cl_irc.c:716:4: Storage host becomes stack-allocated storage src/client/cl_irc.c:718:3: Clauses exit with user referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:701:36: Storage user becomes static src/client/cl_irc.c:701:36: Storage user becomes static src/client/cl_irc.c:718:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:701:71: Storage nick becomes static src/client/cl_irc.c:701:71: Storage nick becomes static src/client/cl_irc.c:719:2: Clauses exit with host referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:701:48: Storage host becomes static src/client/cl_irc.c:701:48: Storage host becomes static src/client/cl_irc.c:719:2: Clauses exit with user referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:701:36: Storage user becomes static src/client/cl_irc.c:701:36: Storage user becomes static src/client/cl_irc.c:719:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:701:71: Storage nick becomes static src/client/cl_irc.c:701:71: Storage nick becomes static src/client/cl_irc.c:720:43: Possibly null storage nick passed as non-null param: Irc_AppendToBuffer (..., nick, ...) src/client/cl_irc.c:710:11: Storage nick may become null src/client/cl_irc.c:720:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdRplWhoisserver) src/client/cl_irc.c:740:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:726:63: Storage nick becomes static src/client/cl_irc.c:735:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:740:3: Clauses exit with server referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:726:38: Storage server becomes static src/client/cl_irc.c:738:4: Storage server becomes stack-allocated storage src/client/cl_irc.c:740:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:726:63: Storage nick becomes static src/client/cl_irc.c:726:63: Storage nick becomes static src/client/cl_irc.c:741:2: Clauses exit with server referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:726:38: Storage server becomes static src/client/cl_irc.c:726:38: Storage server becomes static src/client/cl_irc.c:741:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:726:63: Storage nick becomes static src/client/cl_irc.c:726:63: Storage nick becomes static src/client/cl_irc.c:742:43: Possibly null storage nick passed as non-null param: Irc_AppendToBuffer (..., nick, ...) src/client/cl_irc.c:735:11: Storage nick may become null src/client/cl_irc.c:742:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdRplWhoisaccount) src/client/cl_irc.c:762:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:748:39: Storage nick becomes static src/client/cl_irc.c:757:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:762:3: Clauses exit with account referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:748:39: Storage account becomes static src/client/cl_irc.c:760:4: Storage account becomes stack-allocated storage src/client/cl_irc.c:762:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:748:39: Storage nick becomes static src/client/cl_irc.c:748:39: Storage nick becomes static src/client/cl_irc.c:763:2: Clauses exit with account referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:748:39: Storage account becomes static src/client/cl_irc.c:748:39: Storage account becomes static src/client/cl_irc.c:763:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:748:39: Storage nick becomes static src/client/cl_irc.c:748:39: Storage nick becomes static src/client/cl_irc.c:764:35: Possibly null storage nick passed as non-null param: Irc_AppendToBuffer (..., nick, ...) src/client/cl_irc.c:757:11: Storage nick may become null src/client/cl_irc.c:764:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdRplWhoisidle) src/client/cl_irc.c:784:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:770:36: Storage nick becomes static src/client/cl_irc.c:779:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:784:3: Clauses exit with idle referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:770:36: Storage idle becomes static src/client/cl_irc.c:782:4: Storage idle becomes stack-allocated storage src/client/cl_irc.c:784:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:770:36: Storage nick becomes static src/client/cl_irc.c:770:36: Storage nick becomes static src/client/cl_irc.c:785:2: Clauses exit with idle referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:770:36: Storage idle becomes static src/client/cl_irc.c:770:36: Storage idle becomes static src/client/cl_irc.c:785:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:770:36: Storage nick becomes static src/client/cl_irc.c:770:36: Storage nick becomes static src/client/cl_irc.c:786:38: Possibly null storage nick passed as non-null param: Irc_AppendToBuffer (..., nick, ...) src/client/cl_irc.c:779:11: Storage nick may become null src/client/cl_irc.c:786:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdRplWhoreply) src/client/cl_irc.c:818:3: Clauses exit with nick referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:77: Storage nick becomes static src/client/cl_irc.c:813:4: Storage nick becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with server referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:65: Storage server becomes static src/client/cl_irc.c:810:4: Storage server becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with host referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:51: Storage host becomes static src/client/cl_irc.c:807:4: Storage host becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with user referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:39: Storage user becomes static src/client/cl_irc.c:804:4: Storage user becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with channel referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:87: Storage channel becomes static src/client/cl_irc.c:801:4: Storage channel becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with hg referencing stack storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:87: Storage hg becomes static src/client/cl_irc.c:816:4: Storage hg becomes stack-allocated storage src/client/cl_irc.c:818:3: Clauses exit with nick referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:77: Storage nick becomes static src/client/cl_irc.c:792:77: Storage nick becomes static src/client/cl_irc.c:818:3: Clauses exit with server referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:65: Storage server becomes static src/client/cl_irc.c:792:65: Storage server becomes static src/client/cl_irc.c:818:3: Clauses exit with host referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:51: Storage host becomes static src/client/cl_irc.c:792:51: Storage host becomes static src/client/cl_irc.c:818:3: Clauses exit with user referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:39: Storage user becomes static src/client/cl_irc.c:792:39: Storage user becomes static src/client/cl_irc.c:818:3: Clauses exit with channel referencing local storage in one possible execution, unqualified static storage in other possible execution src/client/cl_irc.c:792:87: Storage channel becomes static src/client/cl_irc.c:792:87: Storage channel becomes static src/client/cl_irc.c:819:2: Clauses exit with hg referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:87: Storage hg becomes static src/client/cl_irc.c:792:87: Storage hg becomes static src/client/cl_irc.c:819:2: Clauses exit with nick referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:77: Storage nick becomes static src/client/cl_irc.c:792:77: Storage nick becomes static src/client/cl_irc.c:819:2: Clauses exit with server referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:65: Storage server becomes static src/client/cl_irc.c:792:65: Storage server becomes static src/client/cl_irc.c:819:2: Clauses exit with host referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:51: Storage host becomes static src/client/cl_irc.c:792:51: Storage host becomes static src/client/cl_irc.c:819:2: Clauses exit with user referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:39: Storage user becomes static src/client/cl_irc.c:792:39: Storage user becomes static src/client/cl_irc.c:819:2: Clauses exit with channel referencing local storage in for body, unqualified static storage if for loop body does not execute src/client/cl_irc.c:792:87: Storage channel becomes static src/client/cl_irc.c:792:87: Storage channel becomes static src/client/cl_irc.c:820:47: Possibly null storage channel passed as non-null param: Irc_AppendToBuffer (..., channel, ...) src/client/cl_irc.c:801:14: Storage channel may become null src/client/cl_irc.c:820:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdMode) src/client/cl_irc.c:827:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:827:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:828:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:823:85: Parameter trailing not used src/client/cl_irc.c: (in function Irc_Client_CmdJoin) src/client/cl_irc.c:835:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:835:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:836:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:831:65: Parameter params not used src/client/cl_irc.c:831:85: Parameter trailing not used src/client/cl_irc.c: (in function Irc_Client_CmdPart) src/client/cl_irc.c:844:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:844:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:845:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:840:65: Parameter trailing not used src/client/cl_irc.c: (in function Irc_Client_CmdQuit) src/client/cl_irc.c:853:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:853:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:854:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:849:65: Parameter params not used src/client/cl_irc.c: (in function Irc_Client_CmdKill) src/client/cl_irc.c:862:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:862:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:863:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:858:65: Parameter params not used src/client/cl_irc.c: (in function Irc_Client_CmdKick) src/client/cl_irc.c:873:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:873:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:877:14: Possibly null storage victim passed as non-null param: strcmp (victim, ...) src/client/cl_irc.c:876:11: Storage victim may become null src/client/cl_irc.c:877:7: Operand of ! is non-boolean (int): !strcmp(victim, irc_nick->string) src/client/cl_irc.c:879:62: Possibly null storage channel passed as non-null param: Irc_AppendToBuffer (..., channel, ...) src/client/cl_irc.c:875:12: Storage channel may become null src/client/cl_irc.c:879:3: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:882:3: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Client_CmdNick) src/client/cl_irc.c:899:24: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:899:44: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:900:7: Operand of ! is non-boolean (int): !strcmp(irc_nick->string, nick) src/client/cl_irc.c:901:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/cl_irc.c:902:2: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:890:65: Parameter params not used src/client/cl_irc.c: (in function Irc_Client_CmdPrivmsg) src/client/cl_irc.c:920:24: Function memcpy expects arg 3 to be size_t gets int: emph - prefix src/client/cl_irc.c:925:8: Operand of ! is non-boolean (int): !strcmp(trailing + 1, "VERSION" "\001") src/client/cl_irc.c:927:46: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("version") src/client/cl_irc.c:927:4: Return value (type qboolean) ignored: Irc_Proto_Msg(ir... src/client/cl_irc.c:930:15: Operand of ! is non-boolean (int): !strncmp(trailing + 1, "PING", 4) src/client/cl_irc.c:935:4: Return value (type qboolean) ignored: Irc_Proto_Notice... src/client/cl_irc.c:936:15: Operand of ! is non-boolean (int): !strcmp(trailing + 1, "TIME" "\001") src/client/cl_irc.c:939:32: Buffer overflow possible with sprintf. Recommend using snprintf instead: sprintf src/client/cl_irc.c:939:32: Variable response_len initialized to type int, expects size_t: sprintf(response, "\001" "TIME :%s" "\001", ctime(&t)) src/client/cl_irc.c:941:4: Return value (type qboolean) ignored: Irc_Proto_Notice... src/client/cl_irc.c:946:8: Operand of ! is non-boolean (int): !strncmp(trailing, IRC_INVITE_FOR_A_GAME, strlen(IRC_INVITE_FOR_A_GAME)) src/client/cl_irc.c:948:10: Variable port shadows outer declaration src/common/common.h:244:16: Previous declaration of port: cvar_t * src/client/cl_irc.c:949:21: Passed storage serverIPAndPort not completely defined (*serverIPAndPort is undefined): Q_strncpyzDebug (serverIPAndPort, ...) src/client/cl_irc.c:963:40: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_irc.c:963:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("m... src/client/cl_irc.c:964:15: Operand of ! is non-boolean (qboolean): !Irc_AppendToBuffer("<%s> %s", nick, trailing) src/client/cl_irc.c:966:8: Operands of && are non-booleans (char *, int): params && strcmp(params, irc_defaultChannel->string) src/client/cl_irc.c:968:23: New fresh storage (type char *) passed as implicitly temp (not released): va("<%s> %s\n", nick, trailing) src/client/cl_irc.c:971:23: New fresh storage (type char *) passed as implicitly temp (not released): va("<%s> %s\n", nick, trailing) src/client/cl_irc.c:972:16: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetActiveWindowName() src/client/cl_irc.c:972:59: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetActiveWindowName() src/client/cl_irc.c:972:9: Operands of && are non-boolean (int): strcmp(MN_GetActiveWindowName(), "irc") && strcmp(MN_GetActiveWindowName(), mn_hud->string) src/client/cl_irc.c:974:34: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_irc.c:974:6: Return value (type struct menuNode_s *) ignored: MN_PushWindow("c... src/client/cl_irc.c:979:38: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetActiveWindowName() src/client/cl_irc.c:979:7: Operands of && are non-booleans (struct menuNode_s *, int): MN_GetActiveWindow() && strcmp(MN_GetActiveWindowName(), "irc") src/client/cl_irc.c: (in function Irc_Client_CmdRplNamreply) src/client/cl_irc.c:1008:22: Passed storage nick not completely defined (*nick is undefined): Irc_ParseName (..., nick, ...) src/client/cl_irc.c:1008:42: Passed storage &p not completely defined: Irc_ParseName (..., &p) src/client/cl_irc.c:1011:4: Variable parseBuf is dependent in continuation, but independent in true branch. src/client/cl_irc.c:1011:4: in continuation: src/client/cl_irc.c:1001:2: Storage parseBuf becomes dependent src/client/cl_irc.c:1011:4: in true branch: src/client/cl_irc.c:1011:4: Storage parseBuf becomes owned (through alias pos) src/client/cl_irc.c:1012:11: Operands of && are non-booleans (char *, char): space && *pos src/client/cl_irc.c:1014:2: Return value (type uint32_t) ignored: _Mem_Free((parse... src/client/cl_irc.c:985:52: Parameter params not used src/client/cl_irc.c: (in function Irc_Client_CmdRplEndofnames) src/client/cl_irc.c:1020:54: Parameter params not used src/client/cl_irc.c:1020:74: Parameter trailing not used src/client/cl_irc.c: (in function Irc_Proto_ProcessServerMsg) src/client/cl_irc.c:1061:40: Passed storage &fbuf not completely defined: FS_LoadFile (..., &fbuf) src/client/cl_irc.c:1062:9: Test expression for if not boolean, type int: size src/client/cl_irc.c:1063:6: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:1106:5: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:1115:4: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:1116:36: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_irc.c:1116:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("i... src/client/cl_irc.c:1170:4: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:1178:3: Unqualified storage msg->id.string assigned to implicitly only: cmd.id.string = msg->id.string src/client/cl_irc.c:1182:8: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "NICK", 4) src/client/cl_irc.c:1184:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "QUIT", 4) src/client/cl_irc.c:1186:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "NOTICE", 6) src/client/cl_irc.c:1187:8: Test expression for if not boolean, type int: irc_logConsole->integer src/client/cl_irc.c:1189:15: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "PRIVMSG", 7) src/client/cl_irc.c:1191:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "MODE", 4) src/client/cl_irc.c:1193:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "JOIN", 4) src/client/cl_irc.c:1195:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "PART", 4) src/client/cl_irc.c:1197:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "TOPIC", 5) src/client/cl_irc.c:1199:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "KILL", 4) src/client/cl_irc.c:1201:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "KICK", 4) src/client/cl_irc.c:1203:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "PING", 4) src/client/cl_irc.c:1204:50: Test expression for conditional not boolean, type char: msg->trailing[0] src/client/cl_irc.c:1205:13: Operand of ! is non-boolean (int): !strncmp(cmd.id.string, "ERROR", 5) src/client/cl_irc.c:1208:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_irc.c:1210:4: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c: (in function Irc_Proto_ParseServerMsg) src/client/cl_irc.c:1230:9: Operands of >= have incompatible types (int, size_t): i++ >= size src/client/cl_irc.c:1258:10: Operands of >= have incompatible types (int, size_t): i++ >= size src/client/cl_irc.c:1277:11: Operands of >= have incompatible types (int, size_t): i++ >= size src/client/cl_irc.c:1283:11: Operands of >= have incompatible types (int, size_t): i++ >= size src/client/cl_irc.c:1294:9: Variable i shadows outer declaration src/client/cl_irc.c:1269:8: Previous definition of i: int src/client/cl_irc.c:1295:18: Variable size shadows outer declaration src/client/cl_irc.c:1270:17: Previous definition of size: size_t src/client/cl_irc.c:1298:11: Operands of >= have incompatible types (int, size_t): i++ >= size src/client/cl_irc.c: (in function Irc_Proto_Enqueue) src/client/cl_irc.c:1320:7: Operand of ! is non-boolean (qboolean): !irc_connected src/client/cl_irc.c:1328:6: Operands of <= have incompatible types (unsigned int, int): irc_bucket.message_size + 1 <= messageBucketSize src/client/cl_irc.c:1328:58: Operands of <= have incompatible types (arbitrary unsigned integral type, int): irc_bucket.character_size + msg_len <= characterBucketSize src/client/cl_irc.c:1330:3: Implicitly only storage m->msg (type char *) not released before assignment: m->msg = (char *)_Mem_Alloc((msg_len), qtrue, com_genericPool, 0, "/home/mattn/dev/ufoai/trunk/src/client/cl_irc.c", 1330) src/client/cl_irc.c:1333:3: Implicitly only storage m->next (type struct irc_bucket_message_s *) not released before assignment: m->next = NULL src/client/cl_irc.c:1345:17: Function returns with null storage derivable from global irc_bucket.first_msg->next src/client/cl_irc.c:1333:13: Storage irc_bucket.first_msg->next becomes null src/client/cl_irc.c:1348:16: Fresh storage m not released before return src/client/cl_irc.c:1326:2: Fresh storage m created src/client/cl_irc.c: (in function Irc_Proto_DrainBucket) src/client/cl_irc.c:1382:42: Operands of > have incompatible types (size_t, double): msg->msg_len > characterBucketBurst src/client/cl_irc.c:1382:35: Left operand of && is non-boolean (irc_bucket_message_t *): msg && msg->msg_len > characterBucketBurst src/client/cl_irc.c:1388:3: Return value (type uint32_t) ignored: _Mem_Free((msg->... src/client/cl_irc.c:1382:79: Last reference msg to implicitly only storage irc_bucket.first_msg (type irc_bucket_message_t *) not released before assignment (in post loop increment): msg = irc_bucket.first_msg src/client/cl_irc.c:1390:3: Original reference lost src/client/cl_irc.c:1403:3: Return value (type uint32_t) ignored: _Mem_Free((msg->... src/client/cl_irc.c:1404:3: Return value (type uint32_t) ignored: _Mem_Free((msg),... src/client/cl_irc.c: (in function Irc_Logic_ReadMessages) src/client/cl_irc.c:1434:32: Passed union msg.id has no defined field No field of a union is defined. Generally, one field of a union is expected to be defined. (Use -uniondef to inhibit warning) src/client/cl_irc.c:1434:32: Passed storage msg contains 4 undefined fields: type, prefix, params, trailing src/client/cl_irc.c:1434:38: Passed storage &msg_complete not completely defined: Irc_Proto_PollServerMsg (..., &msg_complete) src/client/cl_irc.c:1434:8: Operand of ! is non-boolean (qboolean): !Irc_Proto_PollServerMsg(&msg, &msg_complete) src/client/cl_irc.c:1436:8: Test expression for if not boolean, type qboolean: msg_complete src/client/cl_irc.c:1437:5: Return value (type qboolean) ignored: Irc_Proto_Proces... src/client/cl_irc.c:1440:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_irc.c:1440:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Server closed connection") src/client/cl_irc.c:1443:11: Test expression for while not boolean, type qboolean: msg_complete src/client/cl_irc.c: (in function Irc_Logic_Connect) src/client/cl_irc.c:1448:7: Operand of ! is non-boolean (qboolean): !Irc_Proto_Connect(server, port) src/client/cl_irc.c:1453:7: Test expression for if not boolean, type size_t: strlen(pass) src/client/cl_irc.c:1454:4: Return value (type qboolean) ignored: Irc_Proto_Passwo... src/client/cl_irc.c:1455:3: Return value (type qboolean) ignored: Irc_Proto_Nick(i... src/client/cl_irc.c:1456:3: Return value (type qboolean) ignored: Irc_Proto_User(u... src/client/cl_irc.c: (in function Irc_Logic_Disconnect) src/client/cl_irc.c:1464:6: Test expression for if not boolean, type qboolean: irc_connected src/client/cl_irc.c:1466:3: Return value (type qboolean) ignored: Irc_Proto_Quit(r... src/client/cl_irc.c:1467:3: Return value (type qboolean) ignored: Irc_Proto_Discon... src/client/cl_irc.c:1470:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("i... src/client/cl_irc.c:1471:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("i... src/client/cl_irc.c:1476:2: Function returns with non-null global chan referencing null storage src/client/cl_irc.c:1469:10: Storage chan becomes null src/client/cl_irc.c: (in function Irc_Logic_Frame) src/client/cl_irc.c:1484:6: Test expression for if not boolean, type qboolean: irc_connected src/client/cl_irc.c:1485:7: Test expression for if not boolean, type qboolean: irc_channel->modified src/client/cl_irc.c:1489:8: Test expression for if not boolean, type qboolean: irc_connected src/client/cl_irc.c:1490:42: Null storage passed as non-null param: Irc_Client_Join (..., NULL) src/client/cl_irc.c:1490:5: Return value (type qboolean) ignored: Irc_Client_Join(... src/client/cl_irc.c:1493:7: Test expression for if not boolean, type qboolean: irc_connected src/client/cl_irc.c: (in function Irc_Logic_GetChannelTopic) src/client/cl_irc.c:1503:9: Function assert expects arg 1 to be boolean gets irc_channel_t *: channel src/client/cl_irc.c:1504:9: Unqualified storage channel->topic returned as implicitly only: channel->topic src/client/cl_irc.c:1504:24: Released storage channel->topic reachable from parameter at return point src/client/cl_irc.c:1504:9: Storage channel->topic released src/client/cl_irc.c: (in function Irc_Logic_AddChannelName) src/client/cl_irc.c:1516:14: Left operand of && is non-boolean (irc_user_t *): user && i < channel->users src/client/cl_irc.c:1517:8: Operand of ! is non-boolean (int): !strncmp(&(user->key[1]), nick, 64 - 1) src/client/cl_irc.c:1521:2: Implicitly only storage user->next (type struct irc_user_s *) not released before assignment: user->next = channel->user src/client/cl_irc.c:1524:2: Return value (type qboolean) ignored: Com_sprintf(user... src/client/cl_irc.c: (in function Irc_Logic_RemoveChannelName) src/client/cl_irc.c:1540:14: Left operand of && is non-boolean (irc_user_t *): user && i < channel->users src/client/cl_irc.c:1541:8: Operand of ! is non-boolean (int): !strncmp(&(user->key[1]), nick, sizeof((user->key))) src/client/cl_irc.c:1547:5: Implicitly only storage predecessor->next (type struct irc_user_s *) not released before assignment: predecessor->next = user->next src/client/cl_irc.c:1547:5: Clauses exit with user referencing implicitly only storage in true branch, local storage in false branch src/client/cl_irc.c:1544:5: Storage user becomes implicitly only (through alias channel->user) src/client/cl_irc.c:1547:5: Storage channel->user->next is kept in one path, but live in another. src/client/cl_irc.c:1547:5: Storage channel->user->next becomes kept src/client/cl_irc.c:1548:4: Return value (type uint32_t) ignored: _Mem_Free((user)... src/client/cl_irc.c:1551:11: Storage channel->user->next reachable from parameter is kept (should be implicitly only) src/client/cl_irc.c:1547:5: Storage channel->user->next becomes kept src/client/cl_irc.c: (in function Irc_Net_Connect) src/client/cl_irc.c:1571:2: Only storage assigned to unqualified static: irc_stream = NET_Connect(host, port) src/client/cl_irc.c:1572:37: Function returns with non-null global irc_stream referencing null storage src/client/cl_irc.c:1571:15: Storage irc_stream may become null src/client/cl_irc.c: (in function Irc_Net_Disconnect) src/client/cl_irc.c:1582:15: Function returns with non-null global irc_stream referencing null storage src/client/cl_irc.c:1581:15: Storage irc_stream becomes null src/client/cl_irc.c: (in function Irc_Net_Send) src/client/cl_irc.c:1587:9: Function assert expects arg 1 to be boolean gets char *: msg src/client/cl_irc.c:1588:37: Function NET_StreamEnqueue expects arg 3 to be int gets size_t: msg_len src/client/cl_irc.c: (in function Irc_Connect_f) src/client/cl_irc.c:1607:8: Operand of ! is non-boolean (qboolean): !irc_connected src/client/cl_irc.c:1610:28: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1610:5: Return value (type cvar_t *) ignored: Cvar_Set("irc_se... src/client/cl_irc.c:1612:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/cl_irc.c:1612:5: Return value (type cvar_t *) ignored: Cvar_Set("irc_po... src/client/cl_irc.c:1615:8: Left operand of && is non-boolean (qboolean): irc_connected && argc >= 4 src/client/cl_irc.c:1616:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(3) src/client/cl_irc.c:1616:34: Null storage passed as non-null param: Irc_Client_Join (..., NULL) src/client/cl_irc.c:1616:5: Return value (type qboolean) ignored: Irc_Client_Join(... src/client/cl_irc.c:1620:46: Right operand of && is non-boolean (int): irc_server->string[0] != '\0' && irc_port->integer src/client/cl_irc.c:1621:8: Operand of ! is non-boolean (qboolean): !irc_connected src/client/cl_irc.c:1622:17: New fresh storage (type char *) passed as implicitly temp (not released): va("irc_connect %s %i %s\n", irc_server->string, irc_port->integer, irc_channel->string) src/client/cl_irc.c: (in function Irc_Client_Join) src/client/cl_irc.c:1636:7: Operand of ! is non-boolean (qboolean): !Irc_IsChannel(channel) src/client/cl_irc.c:1641:7: Operand of ! is non-boolean (qboolean): !Irc_Proto_Join(channel, password) src/client/cl_irc.c:1642:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("i... src/client/cl_irc.c: (in function Irc_Client_Join_f) src/client/cl_irc.c:1658:3: Return value (type qboolean) ignored: Irc_Client_Join(... src/client/cl_irc.c:1659:3: Fresh storage channel not released before scope exit src/client/cl_irc.c:1655:44: Fresh storage channel created src/client/cl_irc.c:1659:3: Fresh storage channel_pass not released before scope exit src/client/cl_irc.c:1657:70: Fresh storage channel_pass created src/client/cl_irc.c: (in function Irc_Client_Part_f) src/client/cl_irc.c:1668:3: Return value (type qboolean) ignored: Irc_Proto_Part(c... src/client/cl_irc.c:1669:3: Fresh storage channel not released before scope exit src/client/cl_irc.c:1667:44: Fresh storage channel created src/client/cl_irc.c: (in function Irc_Client_Msg_f) src/client/cl_irc.c:1688:3: Clauses exit with msg referencing fresh storage in true branch, local storage in false branch src/client/cl_irc.c:1684:3: Fresh storage msg created src/client/cl_irc.c:1698:9: Operand of ! is non-boolean (qboolean): !Irc_Proto_Msg(irc_defaultChannel->string, msg) src/client/cl_irc.c:1700:5: Return value (type qboolean) ignored: Irc_AppendToBuff... src/client/cl_irc.c:1702:4: Return value (type cvar_t *) ignored: Cvar_ForceSet("i... src/client/cl_irc.c: (in function Irc_Client_PrivMsg_f) src/client/cl_irc.c:1719:3: Variable msg is dependent in continuation, but independent in true branch. src/client/cl_irc.c:1719:3: in continuation: src/client/cl_irc.c:1713:53: Storage msg becomes dependent src/client/cl_irc.c:1719:3: in true branch: src/client/cl_irc.c:1718:4: Storage msg becomes stack-allocated storage src/client/cl_irc.c:1720:3: Return value (type qboolean) ignored: Irc_Proto_Msg(ta... src/client/cl_irc.c:1721:3: Fresh storage target not released before scope exit src/client/cl_irc.c:1712:43: Fresh storage target created src/client/cl_irc.c: (in function Irc_Client_Mode_f) src/client/cl_irc.c:1734:3: Return value (type qboolean) ignored: Irc_Proto_Mode(t... src/client/cl_irc.c:1735:3: Fresh storage target not released before scope exit src/client/cl_irc.c:1729:43: Fresh storage target created src/client/cl_irc.c:1735:3: Fresh storage modes not released before scope exit src/client/cl_irc.c:1730:42: Fresh storage modes created src/client/cl_irc.c: (in function Irc_Client_Topic_f) src/client/cl_irc.c:1752:22: Passed storage out not completely defined (*out is undefined): Q_strncpyzDebug (out, ...) src/client/cl_irc.c:1748:21: Storage *out allocated src/client/cl_irc.c:1760:5: Return value (type qboolean) ignored: Irc_Proto_Topic(... src/client/cl_irc.c:1761:5: Fresh storage in not released before scope exit src/client/cl_irc.c:1747:33: Fresh storage in created src/client/cl_irc.c:1765:3: Fresh storage channel not released before scope exit src/client/cl_irc.c:1743:44: Fresh storage channel created src/client/cl_irc.c:1767:2: Function returns with non-null global chan referencing null storage src/client/cl_irc.c:1469:10: Storage chan may become null src/client/cl_irc.c: (in function Irc_Client_Names_f) src/client/cl_irc.c:1787:39: Function qsort expects arg 2 to be size_t gets int: i src/client/cl_irc.c:1788:12: Test expression for while not boolean, type int: i-- src/client/cl_irc.c:1789:20: Null storage irc_names_buffer derivable from parameter LIST_AddString (&irc_names_buffer, ...) src/client/cl_irc.c:1778:36: Storage irc_names_buffer becomes null src/client/cl_irc.c:1791:44: Null storage irc_names_buffer passed as non-null param: MN_RegisterLinkedListText (..., irc_names_buffer) src/client/cl_irc.c:1778:36: Storage irc_names_buffer becomes null src/client/cl_irc.c:1794:2: Function returns with non-null global chan referencing null storage src/client/cl_irc.c:1469:10: Storage chan may become null src/client/cl_irc.c: (in function Irc_Client_Kick_f) src/client/cl_irc.c:1808:34: Null storage reason passed as non-null param: Irc_Proto_Kick (..., reason) src/client/cl_irc.c:1807:14: Storage reason becomes null src/client/cl_irc.c:1808:4: Return value (type qboolean) ignored: Irc_Proto_Kick(c... src/client/cl_irc.c:1809:4: Fresh storage nick not released before scope exit src/client/cl_irc.c:1802:42: Fresh storage nick created src/client/cl_irc.c:1811:3: Fresh storage channel not released before scope exit src/client/cl_irc.c:1800:37: Fresh storage channel created src/client/cl_irc.c:1813:2: Function returns with non-null global chan referencing null storage src/client/cl_irc.c:1469:10: Storage chan may become null src/client/cl_irc.c: (in function Irc_Client_Invite_f) src/client/cl_irc.c:1824:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/cl_irc.c:1830:30: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_irc.c:1830:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("i... src/client/cl_irc.c:1836:14: Passed storage buf not completely defined (*buf is undefined): Com_sprintf (buf, ...) src/client/cl_irc.c:1836:2: Return value (type qboolean) ignored: Com_sprintf(buf,... src/client/cl_irc.c:1844:7: Test expression for if not boolean, type int: strcmp(name, irc_nick->string) src/client/cl_irc.c:1845:4: Return value (type qboolean) ignored: Irc_Proto_Msg(na... src/client/cl_irc.c: (in function Irc_Client_Who_f) src/client/cl_irc.c:1853:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1853:3: Return value (type qboolean) ignored: Irc_Proto_Who(Cm... src/client/cl_irc.c: (in function Irc_Client_Whois_f) src/client/cl_irc.c:1861:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1861:3: Return value (type qboolean) ignored: Irc_Proto_Whois(... src/client/cl_irc.c: (in function Irc_Client_Whowas_f) src/client/cl_irc.c:1869:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1869:3: Return value (type qboolean) ignored: Irc_Proto_Whowas... src/client/cl_irc.c: (in function Irc_UserClick_f) src/client/cl_irc.c:1895:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1903:30: New fresh storage (type char *) passed as implicitly temp (not released): va("%s%s: ", irc_send_buffer->string, &name[1]) src/client/cl_irc.c:1903:2: Return value (type cvar_t *) ignored: Cvar_Set("irc_se... src/client/cl_irc.c: (in function Irc_UserRightClick_f) src/client/cl_irc.c:1921:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_irc.c:1929:2: Return value (type qboolean) ignored: Irc_Proto_Whois(... src/client/cl_irc.c: (in function Irc_Input_Activate_f) src/client/cl_irc.c:1938:6: Left operand of && is non-boolean (qboolean): irc_connected && irc_defaultChannel->string[0] != '\0' src/client/cl_irc.c:1943:30: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_irc.c:1943:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("i... src/client/cl_irc.c: (in function Irc_Init) src/client/cl_irc.c:1971:48: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1972:54: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1973:48: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1974:46: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1975:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1976:52: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1977:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1978:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1979:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1980:48: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_irc.c:1990:2: Only storage assigned to unqualified static: irc_server = Cvar_Get("irc_server", "irc.freenode.org", 1, "IRC server to connect to") src/client/cl_irc.c:1991:2: Only storage assigned to unqualified static: irc_channel = Cvar_Get("irc_channel", "#ufoai-gamer", 1, "IRC channel to join into") src/client/cl_irc.c:1993:2: Only storage assigned to unqualified static: irc_port = Cvar_Get("irc_port", "6667", 1, "IRC port to connect to") src/client/cl_irc.c:1994:52: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:1994:2: Only storage assigned to unqualified static: irc_user = Cvar_Get("irc_user", "UFOAIPlayer", 1, NULL) src/client/cl_irc.c:1995:49: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:1995:2: Only storage assigned to unqualified static: irc_password = Cvar_Get("irc_password", "", 1, NULL) src/client/cl_irc.c:1996:70: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:1996:2: Only storage assigned to unqualified static: irc_topic = Cvar_Get("irc_topic", "Connecting (please wait)...", 8, NULL) src/client/cl_irc.c:1997:61: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:1997:2: Only storage assigned to unqualified static: irc_defaultChannel = Cvar_Get("irc_defaultChannel", "", 8, NULL) src/client/cl_irc.c:1998:2: Only storage assigned to unqualified static: irc_logConsole = Cvar_Get("irc_logConsole", "0", 1, "Log all irc conversations to game console, too") src/client/cl_irc.c:1999:2: Only storage assigned to unqualified static: irc_showIfNotInMenu = Cvar_Get("irc_showIfNotInMenu", "0", 1, "Show chat messages on top of the menu stack if we are not in the irc menu") src/client/cl_irc.c:2000:55: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:2000:2: Only storage assigned to unqualified static: irc_send_buffer = Cvar_Get("irc_send_buffer", "", 0, NULL) src/client/cl_irc.c:2001:40: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_irc.c:2001:2: Only storage assigned to unqualified static: irc_nick = Cvar_Get("cl_name", "", 0, NULL) src/client/cl_irc.c:2003:2: Only storage assigned to unqualified static: irc_messageBucketSize = Cvar_Get("irc_messageBucketSize", "100", 1, "max 100 messages in bucket") src/client/cl_irc.c:2004:2: Only storage assigned to unqualified static: irc_messageBucketBurst = Cvar_Get("irc_messageBucketBurst", "5", 1, "max burst size is 5 messages") src/client/cl_irc.c:2005:2: Only storage assigned to unqualified static: irc_characterBucketSize = Cvar_Get("irc_characterBucketSize", "2500", 1, "max 2,500 characters in bucket") src/client/cl_irc.c:2006:2: Only storage assigned to unqualified static: irc_characterBucketBurst = Cvar_Get("irc_characterBucketBurst", "250", 1, "max burst size is 250 characters") src/client/cl_irc.c:2007:2: Only storage assigned to unqualified static: irc_characterBucketRate = Cvar_Get("irc_characterBucketRate", "10", 1, "per second (100 characters in 10 seconds)") src/client/cl_irc.c: (in function Irc_Shutdown) src/client/cl_irc.c:2012:6: Test expression for if not boolean, type qboolean: irc_connected src/client/cl_irc.c:258:19: File static variable IRC_QUIT_MSG declared but not used src/client/cl_language.c: (in function CL_GetLocaleID) src/client/cl_language.c:69:9: Operand of ! is non-boolean (int): !strcmp(fullLocale, mapping->localeMapping) src/client/cl_language.c:70:31: Released storage languageList->localeID reachable from global src/client/cl_language.c:70:12: Storage languageList->localeID released src/client/cl_language.c:76:9: Null storage returned as non-null: NULL src/client/cl_language.c: (in function CL_ParseLanguages) src/client/cl_language.c:97:10: Fresh storage token not released before return src/client/cl_language.c:94:2: Fresh storage token created src/client/cl_language.c:102:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_language.c:94:2: Fresh storage token created src/client/cl_language.c:109:12: Fresh storage token not released before return src/client/cl_language.c:102:3: Fresh storage token created src/client/cl_language.c:113:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_language.c:102:3: Fresh storage token created src/client/cl_language.c:118:5: Implicitly only storage mapping->localeMapping (type char *) not released before assignment: mapping->localeMapping = _Mem_PoolStrDup((token), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/cl_language.c", 118) src/client/cl_language.c:120:5: Implicitly only storage mapping->next (type struct localeMapping_s *) not released before assignment: mapping->next = language->localeMapping src/client/cl_language.c:130:4: Implicitly only storage language->localeID (type char *) not released before assignment: language->localeID = _Mem_PoolStrDup((name), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/cl_language.c", 130) src/client/cl_language.c:131:4: Implicitly only storage language->localeString (type char *) not released before assignment: language->localeString = _Mem_PoolStrDup((token + 1), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/cl_language.c", 131) src/client/cl_language.c:132:4: Implicitly only storage language->localeMapping (type localeMapping_t *) not released before assignment: language->localeMapping = NULL src/client/cl_language.c:133:4: Implicitly only storage language->next (type struct language_s *) not released before assignment: language->next = languageList src/client/cl_language.c:133:4: Unqualified static storage languageList assigned to implicitly only: language->next = languageList Static storage is transferred in an inconsistent way. (Use -statictrans to inhibit warning) src/client/cl_language.c:138:2: Fresh storage token not released before return src/client/cl_language.c:102:3: Fresh storage token created src/client/cl_language.c: (in function CL_LanguageTest) src/client/cl_language.c:155:9: Function assert expects arg 1 to be boolean gets char *: localeID src/client/cl_language.c:160:20: Passed storage languagePath not completely defined (*languagePath is undefined): Q_strncpyzDebug (languagePath, ...) src/client/cl_language.c:162:15: Passed storage languagePath not completely defined (*languagePath is undefined): Com_sprintf (languagePath, ...) src/client/cl_language.c:162:3: Return value (type qboolean) ignored: Com_sprintf(lang... src/client/cl_language.c:168:7: Operand of ! is non-boolean (qboolean): !FS_FileExists(languagePath) src/client/cl_language.c:170:17: Fresh storage fs_i18ndir not released before return src/client/cl_language.c:158:2: Fresh storage fs_i18ndir created src/client/cl_language.c:180:8: Operand of ! is non-boolean (int): !strcmp(localeID, language->localeID) src/client/cl_language.c:185:17: Fresh storage fs_i18ndir not released before return src/client/cl_language.c:158:2: Fresh storage fs_i18ndir created src/client/cl_language.c:191:17: Fresh storage fs_i18ndir not released before return src/client/cl_language.c:158:2: Fresh storage fs_i18ndir created src/client/cl_language.c:196:17: Unrecognized identifier: LC_MESSAGES src/client/cl_language.c:198:17: Fresh storage fs_i18ndir not released before return src/client/cl_language.c:158:2: Fresh storage fs_i18ndir created src/client/cl_language.c:206:16: Fresh storage fs_i18ndir not released before return src/client/cl_language.c:158:2: Fresh storage fs_i18ndir created src/client/cl_language.c: (in function CL_LanguageInit) src/client/cl_language.c:223:20: Passed storage systemLanguage not completely defined (*systemLanguage is undefined): Q_strncpyzDebug (systemLanguage, ...) src/client/cl_language.c:230:22: Passed storage systemLanguage not completely defined (*systemLanguage is undefined): Q_strncpyzDebug (systemLanguage, ...) src/client/cl_language.c:233:4: Fresh storage localeID not released before scope exit src/client/cl_language.c:228:57: Fresh storage localeID created src/client/cl_language.c:235:3: Fresh storage currentLocale not released before scope exit src/client/cl_language.c:225:47: Fresh storage currentLocale created src/client/cl_language.c:247:47: Operand of ! is non-boolean (int): !strcmp(language->localeID, "none") src/client/cl_language.c:247:7: Left operand of || is non-boolean (qboolean): CL_LanguageTest(language->localeID) || !strcmp(language->localeID, "none") src/client/cl_language.c:248:17: Null storage languageOption derivable from parameter MN_AddOption (&languageOption, ...) src/client/cl_language.c:218:33: Storage languageOption becomes null src/client/cl_language.c:248:4: Return value (type struct menuOption_s *) ignored: MN_AddOption(&la... src/client/cl_language.c:253:17: Null storage languageOption derivable from parameter MN_SortOptions (&languageOption) src/client/cl_language.c:218:33: Storage languageOption becomes null src/client/cl_language.c:257:2: Return value (type qboolean) ignored: CL_LanguageTryTo... src/client/cl_language.c: (in function CL_NewLanguage) src/client/cl_language.c:268:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("...") src/client/cl_language.c: (in function CL_LanguageTryToSet) src/client/cl_language.c:282:9: Function assert expects arg 1 to be boolean gets char *: localeID src/client/cl_language.c:288:8: Operand of ! is non-boolean (int): !strcmp(localeID, language->localeID) src/client/cl_language.c:303:2: Return value (type cvar_t *) ignored: Cvar_Set("s_lang... src/client/cl_language.c:317:2: Return value (type char *) ignored: Sys_SetLocale(lo... src/client/battlescape/cl_particle.h:38:59: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.h:38:80: Function parameter wait declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.h:48:72: Function parameter s declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.h:48:88: Function parameter v declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.h:48:104: Function parameter a declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.h:84:47: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.h:85:49: Function parameter at declared as manifest array (size constant is meaningless) src/client/battlescape/cl_view.h:30:47: Function parameter pos declared as manifest array (size constant is meaningless) src/client/cl_main.c: (in function Cmd_ForwardToServer) src/client/cl_main.c:111:10: Fresh storage cmd not released before return src/client/cl_main.c:106:32: Fresh storage cmd created src/client/cl_main.c:119:39: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Args() src/client/cl_main.c:119:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Args() src/client/cl_main.c:123:2: Fresh storage cmd not released before return src/client/cl_main.c:106:32: Fresh storage cmd created src/client/cl_main.c:123:2: Fresh storage msg not released before return src/client/cl_main.c:114:2: Fresh storage msg created src/client/cl_main.c: (in function CL_Env_f) src/client/cl_main.c:134:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c:134:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/cl_main.c:134:3: Return value (type int) ignored: Sys_Setenv(Cmd_A... src/client/cl_main.c:136:28: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c: (in function CL_ForwardToServer_f) src/client/cl_main.c:157:39: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Args() src/client/cl_main.c:157:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Args() src/client/cl_main.c:159:3: Fresh storage msg not released before scope exit src/client/cl_main.c:155:3: Fresh storage msg created src/client/cl_main.c: (in function CL_Connect) src/client/cl_main.c:194:2: Implicitly only storage cls.netDatagramSocket (type struct datagram_socket *) not released before assignment: cls.netDatagramSocket = NULL src/client/cl_main.c:211:7: Test expression for if not boolean, type char: cls.servername[0] src/client/cl_main.c:212:11: Function assert expects arg 1 to be boolean gets char: cls.serverport[0] src/client/cl_main.c:218:2: Function returns with null storage derivable from global cls.netDatagramSocket src/client/cl_main.c:194:26: Storage cls.netDatagramSocket becomes null src/client/cl_main.c:218:2: Function returns with null storage derivable from global cls.netStream src/client/cl_main.c:204:19: Storage cls.netStream becomes null src/client/cl_main.c: (in function CL_Disconnect) src/client/cl_main.c:258:7: Operand of ! is non-boolean (int): !Com_ServerState() src/client/cl_main.c:268:2: Implicitly only storage cls.netStream (type struct net_stream *) not released before assignment: cls.netStream = NULL src/client/cl_main.c:278:2: Fresh storage msg not released before return src/client/cl_main.c:259:3: Fresh storage msg created src/client/cl_main.c:278:2: Function returns with null storage derivable from global cls.netStream src/client/cl_main.c:268:18: Storage cls.netStream becomes null src/client/cl_main.c: (in function CL_ConnectionlessPacket) src/client/cl_main.c:347:7: Operand of ! is non-boolean (int): !strncmp(c, "client_connect", 13) src/client/cl_main.c:350:9: Operand of ! is non-boolean (int): !strncmp(p, "dlserver=", 9) src/client/cl_main.c:352:5: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/cl_main.c:354:9: Test expression for if not boolean, type char: cls.downloadServer[0] src/client/cl_main.c:357:4: Fresh storage p not released before scope exit src/client/cl_main.c:349:32: Fresh storage p created src/client/cl_main.c:360:11: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:360:11: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:366:10: Fresh storage msg not released before return src/client/cl_main.c:362:3: Fresh storage msg created src/client/cl_main.c:366:10: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:366:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:370:7: Operand of ! is non-boolean (int): !strncmp(c, "cmd", 3) src/client/cl_main.c:371:8: Operand of ! is non-boolean (qboolean): !NET_StreamIsLoopback(cls.netStream) src/client/cl_main.c:373:11: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:373:11: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:375:3: Fresh storage s (type char *) not released before assignment: s = NET_ReadString(msg) src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:378:10: Fresh storage s not released before return src/client/cl_main.c:375:3: Fresh storage s created src/client/cl_main.c:378:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:382:7: Operand of ! is non-boolean (int): !strncmp(c, "teaminfo", 8) src/client/cl_main.c:384:10: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:384:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:388:7: Operand of ! is non-boolean (int): !strncmp(c, "ping", 4) src/client/cl_main.c:390:10: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:390:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:394:7: Operand of ! is non-boolean (int): !strncmp(c, "echo", 4) src/client/cl_main.c:396:10: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:396:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:400:7: Operand of ! is non-boolean (int): !strncmp(c, "print", 5) src/client/cl_main.c:401:3: Fresh storage s (type char *) not released before assignment: s = NET_ReadString(msg) src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:404:36: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_main.c:404:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("s... src/client/cl_main.c:405:39: Possibly null storage s passed as non-null param: gettext (s) src/client/cl_main.c:401:7: Storage s may become null src/client/cl_main.c:405:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/cl_main.c:405:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext(s) src/client/cl_main.c:406:10: Fresh storage s not released before return src/client/cl_main.c:401:3: Fresh storage s created src/client/cl_main.c:406:10: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c:410:2: Fresh storage s not released before return src/client/cl_main.c:338:2: Fresh storage s created src/client/cl_main.c:410:2: Fresh storage c not released before return src/client/cl_main.c:342:2: Fresh storage c created src/client/cl_main.c: (in function CL_ReadPackets) src/client/cl_main.c:423:25: Variable cmd initialized to type int, expects svc_ops_t: NET_ReadByte(msg) src/client/cl_main.c: (in function CL_UserInfo_f) src/client/cl_main.c:439:13: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_Userinfo() src/client/cl_main.c: (in function CL_SpawnSoldiers_f) src/client/cl_main.c:448:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/cl_main.c:451:6: Test expression for if not boolean, type qboolean: cl.spawned src/client/cl_main.c: (in function CL_RequestNextDownload) src/client/cl_main.c:477:7: Operand of ! is non-boolean (int): !Com_ServerState() src/client/cl_main.c:486:33: New fresh storage (type char *) passed as implicitly temp (not released): va("maps/%s.bsp", cl.configstrings[0]) src/client/cl_main.c:486:10: Operand of ! is non-boolean (qboolean): !CL_CheckOrDownloadFile(va("maps/%s.bsp", cl.configstrings[0])) src/client/cl_main.c:495:7: Test expression for if not boolean, type qboolean: CL_PendingHTTPDownloads() src/client/cl_main.c:499:56: Function Com_BlockChecksum expects arg 2 to be int gets size_t: strlen(buf) src/client/cl_main.c:499:33: Function LittleLong expects arg 1 to be uint32_t gets unsigned int: Com_BlockChecksum(buf, strlen(buf)) src/client/cl_main.c:500:18: Null storage passed as non-null param: FS_GetFileData (NULL) src/client/cl_main.c:500:3: Return value (type char *) ignored: FS_GetFileData(NULL) src/client/cl_main.c:503:8: Operand of ! is non-boolean (char): !*cl.configstrings[9] src/client/cl_main.c:503:33: Operand of ! is non-boolean (char): !*cl.configstrings[3] src/client/cl_main.c:504:8: Operand of ! is non-boolean (char): !*cl.configstrings[10] src/client/cl_main.c:504:34: Operand of ! is non-boolean (char): !*cl.configstrings[11] src/client/cl_main.c:505:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Local game version (%s) differs from the servers") src/client/cl_main.c:505:4: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_main.c:506:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_main.c:510:14: Operands of != have incompatible types (unsigned int, int): mapChecksum != atoi(cl.configstrings[3]) src/client/cl_main.c:511:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_main.c:511:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Local map version differs from server") src/client/cl_main.c:517:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_main.c:517:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Script files are not the same") src/client/cl_main.c:521:44: Operands of != have incompatible types (unsigned int, int): scriptChecksum != atoi(cl.configstrings[10]) src/client/cl_main.c:521:14: Left operand of && is non-boolean (int): atoi(cl.configstrings[10]) && scriptChecksum != atoi(cl.configstrings[10]) src/client/cl_main.c:523:14: Test expression for if not boolean, type int: strncmp("2.3-dev", cl.configstrings[9], sizeof(("2.3-dev"))) src/client/cl_main.c:524:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Local game version (%s) differs from the servers (%s)") src/client/cl_main.c:524:4: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/cl_main.c:525:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Error") src/client/cl_main.c:541:3: Fresh storage msg not released before scope exit src/client/cl_main.c:534:39: Fresh storage msg created src/client/cl_main.c:544:2: Fresh storage buf not released before return src/client/cl_main.c:498:11: Fresh storage buf created src/client/cl_main.c: (in function CL_PrecacheCharacterModels) src/client/cl_main.c:578:9: Operand of ! is non-boolean (int): !td->numModels[j] src/client/cl_main.c:582:11: Function assert expects arg 1 to be boolean gets linkedList_t *: list src/client/cl_main.c:584:12: Function assert expects arg 1 to be boolean gets linkedList_t *: list src/client/cl_main.c:588:17: Passed storage model not completely defined (*model is undefined): Com_sprintf (model, ...) src/client/cl_main.c:588:5: Return value (type qboolean) ignored: Com_sprintf(mode... src/client/cl_main.c:593:5: Return value (type qboolean) ignored: Com_sprintf(mode... src/client/cl_main.c: (in function CL_PrecacheModels) src/client/cl_main.c:621:6: Test expression for if not boolean, type int: cl_precache->integer src/client/cl_main.c:627:37: Right operand of || is non-boolean (qboolean): csi.ods[i].type[0] == '\0' || csi.ods[i].isDummy src/client/cl_main.c:640:40: Static vidModesOptions initialized to null value: vidModesOptions = NULL src/client/cl_main.c:640:40: Static vidModesOptions initialized to null value: menuOption_t * vidModesOptions = NULL = NULL src/client/cl_main.c: (in function CL_SetRatioFilter_f) src/client/cl_main.c:645:31: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c:645:26: Variable requestedRation initialized to type double, expects float: atof(Cmd_Argv(1)) src/client/cl_main.c:655:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c:655:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(1), "all") src/client/cl_main.c:657:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c:657:12: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(1), "custom") src/client/cl_main.c:660:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_main.c:660:3: Assignment of double to float: requestedRation = atof(Cmd_Argv(1)) src/client/cl_main.c:672:7: Test expression for if not boolean, type qboolean: all src/client/cl_main.c:674:12: Test expression for if not boolean, type qboolean: custom src/client/cl_main.c:676:4: Assignment of boolean to qboolean: visible = ratio > 2 || (ratio > 1.7 && ratio < 1.76) src/client/cl_main.c:678:4: Assignment of boolean to qboolean: visible = ratio - delta < requestedRation && ratio + delta > requestedRation src/client/cl_main.c:680:20: Operand of ! is non-boolean (qboolean): !visible src/client/cl_main.c:680:3: Assignment of boolean to qboolean: option->invis = !visible src/client/cl_main.c: (in function CL_InitAfter) src/client/cl_main.c:720:5: New fresh storage (type char *) passed as implicitly temp (not released): va("%i x %i", vid_modes[i].width, vid_modes[i].height) src/client/cl_main.c:721:5: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", vid_modes[i].mode) src/client/cl_main.c:719:4: Return value (type struct menuOption_s *) ignored: MN_AddOption(&vi... src/client/cl_main.c:734:7: Operand of ! is non-boolean (int): !cl_introshown->integer src/client/cl_main.c:736:3: Return value (type cvar_t *) ignored: Cvar_Set("cl_int... src/client/cl_main.c:738:2: Function returns with non-null global vidModesOptions referencing null storage src/client/cl_main.c: (in function CL_ParseClientData) src/client/cl_main.c:755:7: Operand of ! is non-boolean (int): !strcmp(type, "font") src/client/cl_main.c:757:12: Operand of ! is non-boolean (int): !strcmp(type, "tutorial") src/client/cl_main.c:759:12: Operand of ! is non-boolean (int): !strcmp(type, "menu_model") src/client/cl_main.c:761:12: Operand of ! is non-boolean (int): !strcmp(type, "icon") src/client/cl_main.c:763:12: Operand of ! is non-boolean (int): !strcmp(type, "particle") src/client/cl_main.c:764:3: Return value (type int) ignored: CL_ParseParticle... src/client/cl_main.c:765:12: Operand of ! is non-boolean (int): !strcmp(type, "sequence") src/client/cl_main.c:767:12: Operand of ! is non-boolean (int): !strcmp(type, "music") src/client/cl_main.c:769:12: Operand of ! is non-boolean (int): !strcmp(type, "tips") src/client/cl_main.c:771:12: Operand of ! is non-boolean (int): !strcmp(type, "language") src/client/cl_main.c:773:12: Operand of ! is non-boolean (int): !strcmp(type, "ugv") src/client/cl_main.c:775:12: Operand of ! is non-boolean (int): !strcmp(type, "window") src/client/cl_main.c:777:12: Operand of ! is non-boolean (int): !strcmp(type, "component") src/client/cl_main.c:783:14: Static checkcvar[0].value initialized to null value: checkcvar[0].value = NULL src/client/cl_main.c:783:20: Static checkcvar[0].var initialized to null value: checkcvar[0].var = NULL src/client/cl_main.c:784:17: Static checkcvar[1].value initialized to null value: checkcvar[1].value = NULL src/client/cl_main.c:784:23: Static checkcvar[1].var initialized to null value: checkcvar[1].var = NULL src/client/cl_main.c:786:3: Static checkcvar[2].name initialized to null value: checkcvar[2].name = NULL src/client/cl_main.c:786:9: Static checkcvar[2].value initialized to null value: checkcvar[2].value = NULL src/client/cl_main.c:786:15: Static checkcvar[2].var initialized to null value: checkcvar[2].var = NULL src/client/cl_main.c: (in function CL_CheckCvars_f) src/client/cl_main.c:797:58: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_main.c:800:32: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_main.c:800:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("c... src/client/cl_main.c: (in function CL_InitLocal) src/client/cl_main.c:833:2: Only storage assigned to unqualified static: cl_precache = Cvar_Get("cl_precache", "1", 1, "Precache character models at startup - more memory usage but smaller loading times in the game") src/client/cl_main.c:834:2: Only storage assigned to unqualified static: cl_introshown = Cvar_Get("cl_introshown", "0", 1, "Only show the intro once at the initial start") src/client/cl_main.c:838:2: Only storage assigned to unqualified static: cl_connecttimeout = Cvar_Get("cl_connecttimeout", "25000", 1, "Connection timeout for multiplayer connects") src/client/cl_main.c:841:32: New fresh storage (type char *) passed as implicitly temp (not released): Sys_GetCurrentUser() src/client/cl_main.c:841:2: Only storage assigned to unqualified static: cl_name = Cvar_Get("cl_name", Sys_GetCurrentUser(), 2 | 1, "Playername") src/client/cl_main.c:844:2: Only storage assigned to unqualified static: cl_ready = Cvar_Get("cl_ready", "0", 2, "Ready indicator in the userinfo for tactical missions") src/client/cl_main.c:845:2: Only storage assigned to unqualified static: cl_msg = Cvar_Get("cl_msg", "2", 2 | 1, "Sets the message level for server messages the client receives") src/client/cl_main.c:856:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Target your shot to the ground") src/client/cl_main.c:867:34: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_main.c:877:24: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:878:29: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:879:28: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:888:39: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:889:35: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:890:37: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:891:35: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:892:35: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c:893:36: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/cl_main.c: (in function CL_SendChangedUserinfos) src/client/cl_main.c:922:7: Test expression for if not boolean, type qboolean: userinfoModified src/client/cl_main.c:925:25: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_Userinfo() src/client/cl_main.c:928:4: Fresh storage msg not released before scope exit src/client/cl_main.c:923:40: Fresh storage msg created src/client/cl_main.c: (in function CL_SendCommand) src/client/cl_main.c:952:7: Test expression for if not boolean, type int: Com_ServerState() src/client/cl_main.c:965:7: Test expression for if not boolean, type int: cls.waitingForStart src/client/cl_main.c:970:5: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/cl_main.c: (in function CL_Frame) src/client/cl_main.c:1022:6: Operands of || are non-boolean (qboolean): sys_priority->modified || sys_affinity->modified src/client/cl_main.c:1027:6: Test expression for if not boolean, type int: lastFrame src/client/cl_main.c:1028:3: Assignment of double to float: cls.frametime = delta / 1000.0 src/client/cl_main.c:1036:6: Test expression for if not boolean, type int: delta src/client/cl_main.c:1037:3: Assignment of double to float: cls.framerate = 1000.0 / delta src/client/cl_main.c:1017:31: Parameter data not used src/client/cl_main.c: (in function CL_SlowFrame) src/client/cl_main.c:1082:6: Test expression for if not boolean, type qboolean: s_language->modified src/client/cl_main.c:1083:3: Return value (type qboolean) ignored: CL_LanguageTryTo... src/client/cl_main.c:1079:24: Parameter now not used src/client/cl_main.c:1079:35: Parameter data not used src/client/cl_main.c: (in function CL_Init) src/client/cl_main.c:1100:6: Test expression for if not boolean, type int: sv_dedicated->integer src/client/cl_main.c:1107:2: Return value (type char *) ignored: setlocale(LC_ALL... src/client/cl_main.c:1108:2: Return value (type char *) ignored: setlocale(LC_MES... src/client/cl_main.c:1111:20: Passed storage languagePath not completely defined (*languagePath is undefined): Q_strncpyzDebug (languagePath, ...) src/client/cl_main.c:1113:15: Passed storage languagePath not completely defined (*languagePath is undefined): Com_sprintf (languagePath, ...) src/client/cl_main.c:1113:3: Return value (type qboolean) ignored: Com_sprintf(lang... src/client/cl_main.c:1115:2: Return value (type char *) ignored: bindtextdomain("... src/client/cl_main.c:1116:2: Return value (type char *) ignored: bind_textdomain_... src/client/cl_main.c:1118:2: Return value (type char *) ignored: textdomain("ufoai") src/client/cl_main.c:1144:2: Fresh storage fs_i18ndir not released before return src/client/cl_main.c:1105:2: Fresh storage fs_i18ndir created src/client/cl_main.c: (in function CL_Shutdown) src/client/cl_main.c:1158:6: Test expression for if not boolean, type qboolean: isdown src/client/client.h:154:6: Function CL_Init defined more than once src/client/cl_main.c:1144:1: Previous definition of CL_Init src/client/menu/node/m_node_abstractnode.h:44:46: Function parameter size declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_abstractnode.h:47:61: Function parameter pos declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_abstractnode.h:49:68: Function parameter pos declared as manifest array (size constant is meaningless) src/client/menu/node/m_node_abstractnode.h:50:53: Function parameter pos declared as manifest array (size constant is meaningless) src/client/cl_menu.c: (in function CLMN_InitKeyList_f) src/client/cl_menu.c:45:7: Operands of && are non-booleans (char *, char): keyBindings[i] && keyBindings[i][0] src/client/cl_menu.c:46:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\t%s\n", Key_KeynumToString(i), Cmd_GetCommandDesc(keyBindings[i])) src/client/cl_menu.c:49:7: Operands of && are non-booleans (char *, char): menuKeyBindings[i] && menuKeyBindings[i][0] src/client/cl_menu.c:50:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\t%s\n", Key_KeynumToString(i), Cmd_GetCommandDesc(menuKeyBindings[i])) src/client/cl_menu.c:53:7: Operands of && are non-booleans (char *, char): battleKeyBindings[i] && battleKeyBindings[i][0] src/client/cl_menu.c:54:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\t%s\n", Key_KeynumToString(i), Cmd_GetCommandDesc(battleKeyBindings[i])) src/client/cl_menu.c: (in function CLMN_InitStartup) src/client/cl_menu.c:68:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/menu/m_render.h:36:32: Function parameter pos declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:36:50: Function parameter size declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:36:107: Function parameter panelDef declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:37:59: Function parameter color declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:40:32: Function parameter transform declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:40:56: Function parameter rotate declared as manifest array (size constant is meaningless) src/client/menu/m_render.h:40:77: Function parameter scale declared as manifest array (size constant is meaningless) src/client/cl_screen.c: (in function SCR_DrawString) src/client/cl_screen.c:72:18: Operand of ! is non-boolean (char): !*string src/client/cl_screen.c:75:6: Test expression for if not boolean, type qboolean: bitmapFont src/client/cl_screen.c:77:21: Function R_DrawChar expects arg 3 to be int gets char: *string src/client/cl_screen.c:82:115: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_screen.c:82:3: Return value (type int) ignored: MN_DrawString("f... src/client/cl_screen.c: (in function SCR_DrawPrecacheScreen) src/client/cl_screen.c:113:15: Function R_DrawImage expects arg 1 to be float gets int: viddef.virtualWidth / 2 - image->width / 2 src/client/cl_screen.c:113:59: Function R_DrawImage expects arg 2 to be float gets int: viddef.virtualHeight / 2 - image->height / 2 src/client/cl_screen.c:114:6: Test expression for if not boolean, type qboolean: string src/client/cl_screen.c:118:117: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_screen.c:116:3: Return value (type int) ignored: MN_DrawString("f... src/client/cl_screen.c:123:2: Fresh storage image not released before return src/client/cl_screen.c:111:2: Fresh storage image created src/client/cl_screen.c: (in function SCR_SetLoadingBackground) src/client/cl_screen.c:136:20: Right operand of || is non-boolean (int): !mapString || Com_ServerState() src/client/cl_screen.c:140:3: Return value (type cvar_t *) ignored: Cvar_Set("sv_map... src/client/cl_screen.c:147:27: New fresh storage (type char *) passed as implicitly temp (not released): va("pics/maps/loading/%s", mapname) src/client/cl_screen.c:149:3: Fresh storage image (type image_t *) not released before assignment: image = R_FindImageDebug("pics/maps/loading/default", it_pic, "/home/mattn/dev/ufoai/trunk/src/client/cl_screen.c", 149) src/client/cl_screen.c:147:2: Fresh storage image created src/client/cl_screen.c:152:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/cl_screen.c: (in function SCR_DrawDownloading) src/client/cl_screen.c:165:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Downloading [%s]") src/client/cl_screen.c:171:63: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_screen.c:166:2: Return value (type int) ignored: MN_DrawString("f... src/client/cl_screen.c:174:2: Fresh storage dlmsg not released before return src/client/cl_screen.c:165:58: Fresh storage dlmsg created src/client/cl_screen.c: (in function SCR_DrawLoading) src/client/cl_screen.c:183:24: Initial value of color[0] is type double, expects vec_t: 0.0 src/client/cl_screen.c:183:29: Initial value of color[1] is type double, expects vec_t: 0.7 src/client/cl_screen.c:183:34: Initial value of color[2] is type double, expects vec_t: 0.0 src/client/cl_screen.c:183:39: Initial value of color[3] is type double, expects vec_t: 0.8 src/client/cl_screen.c:186:6: Test expression for if not boolean, type char: cls.downloadName[0] src/client/cl_screen.c:191:7: Operand of ! is non-boolean (int): !screenDrawLoading src/client/cl_screen.c:197:3: Only storage assigned to unqualified static: loadingPic = SCR_SetLoadingBackground(cl.configstrings[1]) src/client/cl_screen.c:200:14: Function R_DrawImage expects arg 1 to be float gets int: viddef.virtualWidth / 2 - loadingPic->width / 2 src/client/cl_screen.c:200:63: Function R_DrawImage expects arg 2 to be float gets int: viddef.virtualHeight / 2 - loadingPic->height / 2 src/client/cl_screen.c:203:6: Test expression for if not boolean, type char: cl.configstrings[16][0] src/client/cl_screen.c:204:15: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Loading Map [%s]") src/client/cl_screen.c:210:65: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_screen.c:205:3: Return value (type int) ignored: MN_DrawString("f... src/client/cl_screen.c:218:77: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_screen.c:213:2: Return value (type int) ignored: MN_DrawString("f... src/client/cl_screen.c:221:2: Fresh storage mapmsg not released before return src/client/cl_screen.c:204:3: Fresh storage mapmsg created src/client/cl_screen.c: (in function SCR_TouchPics) src/client/cl_screen.c:228:6: Test expression for if not boolean, type int: scr_cursor->integer src/client/cl_screen.c:232:3: Return value (type image_t *) ignored: R_FindImageDebug... src/client/cl_screen.c:233:3: Return value (type image_t *) ignored: R_FindImageDebug... src/client/cl_screen.c:234:3: Return value (type image_t *) ignored: R_FindImageDebug... src/client/cl_screen.c:235:3: Return value (type image_t *) ignored: R_FindImageDebug... src/client/cl_screen.c:236:3: Return value (type qboolean) ignored: Com_sprintf(curs... src/client/cl_screen.c: (in function SCR_DrawCursor) src/client/cl_screen.c:254:7: Operand of ! is non-boolean (int): !scr_cursor->integer src/client/cl_screen.c:257:6: Test expression for if not boolean, type qboolean: scr_cursor->modified src/client/cl_screen.c:262:7: Operand of ! is non-boolean (char): !cursorImage[0] src/client/cl_screen.c:265:7: Operand of ! is non-boolean (qboolean): !MN_DNDIsDragging() src/client/cl_screen.c:269:33: Right operand of && is non-boolean (qboolean): cls.team != cl.actTeam && CL_BattlescapeRunning() src/client/cl_screen.c:272:4: Clauses exit with pic referencing unqualified static storage in true branch, local storage in false branch src/client/cl_screen.c:270:4: Storage pic becomes static src/client/cl_screen.c:276:16: Function R_DrawImage expects arg 1 to be float gets int: mousePosX - image->width / 2 src/client/cl_screen.c:276:46: Function R_DrawImage expects arg 2 to be float gets int: mousePosY - image->height / 2 src/client/cl_screen.c:278:33: Right operand of && is non-boolean (qboolean): mouseSpace == MS_WORLD && CL_BattlescapeRunning() src/client/cl_screen.c:281:3: Fresh storage image not released before scope exit src/client/cl_screen.c:274:3: Fresh storage image created src/client/cl_screen.c: (in function SCR_DrawConsole) src/client/cl_screen.c:319:7: Operand of ! is non-boolean (int): !viddef.viewWidth src/client/cl_screen.c:319:28: Operand of ! is non-boolean (int): !viddef.viewHeight src/client/cl_screen.c:322:7: Test expression for if not boolean, type float: scr_con_current src/client/cl_screen.c:337:6: Test expression for if not boolean, type float: scr_con_current src/client/cl_screen.c: (in function SCR_BeginLoadingPlaque) src/client/cl_screen.c:355:2: Assignment of int to float: cls.disableScreen = cls.realtime src/client/cl_screen.c: (in function SCR_TimeRefresh_f) src/client/cl_screen.c:384:4: Assignment of double to vec_t: refdef.viewAngles[1] = i / 128.0 * 360.0 src/client/cl_screen.c:391:4: Assignment of double to vec_t: refdef.viewAngles[1] = i / 128.0 * 360.0 src/client/cl_screen.c:401:2: Assignment of double to float: time = (stop - start) / 1000.0 src/client/cl_screen.c: (in function SCR_UpdateScreen) src/client/cl_screen.c:416:6: Test expression for if not boolean, type float: cls.disableScreen src/client/cl_screen.c:417:52: Right operand of && is non-boolean (qboolean): cls.realtime - cls.disableScreen > 120000 && refdef.ready src/client/cl_screen.c:425:7: Operand of ! is non-boolean (qboolean): !screenInitialized src/client/cl_screen.c:430:39: Operand of ! is non-boolean (int): !screenDrawLoading src/client/cl_screen.c:433:6: Test expression for if not boolean, type int: screenDrawLoading src/client/cl_screen.c:450:7: Test expression for if not boolean, type int: cl_fps->integer src/client/cl_screen.c:451:19: Function SCR_DrawString expects arg 1 to be int gets unsigned int: viddef.width - 20 - con_fontWidth * 10 src/client/cl_screen.c:451:62: New fresh storage (type char *) passed as implicitly temp (not released): va("fps: %3.1f", cls.framerate) src/client/cl_screen.c:452:7: Test expression for if not boolean, type int: scr_rspeed->integer src/client/cl_screen.c:453:8: Test expression for if not boolean, type qboolean: CL_OnBattlescape() src/client/cl_screen.c:454:20: Function SCR_DrawString expects arg 1 to be int gets unsigned int: viddef.width - 20 - con_fontWidth * 30 src/client/cl_screen.c:454:64: New fresh storage (type char *) passed as implicitly temp (not released): va("brushes: %6i alias: %6i\n", refdef.brushCount, refdef.aliasCount) src/client/cl_screen.c:456:20: Function SCR_DrawString expects arg 1 to be int gets unsigned int: viddef.width - 20 - con_fontWidth * 14 src/client/cl_screen.c:456:64: New fresh storage (type char *) passed as implicitly temp (not released): va("alias: %6i\n", refdef.aliasCount) src/client/cl_screen.c: (in function SCR_Init) src/client/cl_screen.c:473:2: Only storage assigned to unqualified static: scr_conspeed = Cvar_Get("scr_conspeed", "3", 0, "Console open/close speed") src/client/cl_screen.c:474:2: Only storage assigned to unqualified static: scr_consize = Cvar_Get("scr_consize", "1.0", 0, "Console size") src/client/cl_screen.c:475:2: Only storage assigned to unqualified static: scr_rspeed = Cvar_Get("r_speeds", "0", 1, "Show some rendering stats") src/client/cl_screen.c:476:2: Only storage assigned to unqualified static: scr_cursor = Cvar_Get("cursor", "1", 1, "Which cursor should be shown - 0-9") src/client/cl_screen.c:477:2: Only storage assigned to unqualified static: scr_showcursor = Cvar_Get("scr_showcursor", "1", 0, "Show/hide mouse cursor- 0-1") src/client/cl_screen.c:245:21: File static variable cursorBG declared but not used src/client/cl_sequence.c:79:27: Incompatible types for * (boolean, int): (((sizeof((seqCmdName)) / sizeof((*(seqCmdName)))) == SEQ_NUMCMDS) != 0) * 2 src/client/cl_sequence.c:127:2: Static seqCmdFunc[0] initialized to null value: seqCmdFunc[0] = NULL src/client/cl_sequence.c:137:27: Incompatible types for * (boolean, int): (((sizeof((seqCmdFunc)) / sizeof((*(seqCmdFunc)))) == SEQ_NUMCMDS) != 0) * 2 src/client/cl_sequence.c: (in function CL_SequenceCamera) src/client/cl_sequence.c:183:7: Operand of ! is non-boolean (int): !viddef.viewWidth src/client/cl_sequence.c:183:28: Operand of ! is non-boolean (int): !viddef.viewHeight src/client/cl_sequence.c:200:6: Test expression for if not boolean, type int: cl_isometric->integer src/client/cl_sequence.c: (in function CL_SequenceFindEnt) src/client/cl_sequence.c:216:21: Operand of ! is non-boolean (int): !strncmp(se->name, name, 64) src/client/cl_sequence.c:216:7: Left operand of && is non-boolean (qboolean): se->inuse && !strncmp(se->name, name, 64) src/client/cl_sequence.c:219:13: Function returns with global seqEnts referencing released storage src/client/cl_sequence.c:219:10: Storage seqEnts released src/client/cl_sequence.c:221:10: Null storage returned as non-null: NULL src/client/cl_sequence.c: (in function CL_SequenceFind2D) src/client/cl_sequence.c:235:22: Operand of ! is non-boolean (int): !strcmp(s2d->name, name) src/client/cl_sequence.c:235:7: Left operand of && is non-boolean (qboolean): s2d->inuse && !strcmp(s2d->name, name) src/client/cl_sequence.c:238:14: Function returns with global seq2Ds referencing released storage src/client/cl_sequence.c:238:10: Storage seq2Ds released src/client/cl_sequence.c:240:10: Null storage returned as non-null: NULL src/client/cl_sequence.c: (in function CL_SequenceRender) src/client/cl_sequence.c:261:7: Test expression for if not boolean, type qboolean: seqEndClickLoop src/client/cl_sequence.c:286:7: Test expression for if not boolean, type qboolean: se->inuse src/client/cl_sequence.c:294:4: Implicitly only storage ent.model (type struct model_s *) not released before assignment: ent.model = se->model src/client/cl_sequence.c:298:4: Implicitly only storage ent.lighting (type static_lighting_t *) not released before assignment: ent.lighting = &se->lighting src/client/cl_sequence.c:298:4: Immediate address &se->lighting assigned to implicitly only: ent.lighting = &se->lighting src/client/cl_sequence.c:305:8: Operands of && are non-boolean (char [64]): se->parent && se->tag src/client/cl_sequence.c:310:6: Implicitly only storage ent.tagent (type struct entity_s *) not released before assignment: ent.tagent = parent->ep src/client/cl_sequence.c:311:5: Implicitly only storage ent.tagname (type char *) not released before assignment: ent.tagname = se->tag src/client/cl_sequence.c:311:5: Unqualified storage se->tag assigned to implicitly only: ent.tagname = se->tag src/client/cl_sequence.c:312:5: Fresh storage parent not released before scope exit src/client/cl_sequence.c:308:5: Fresh storage parent created src/client/cl_sequence.c:312:4: Storage se->tag is kept in one path, but live in another. src/client/cl_sequence.c:311:5: Storage se->tag becomes kept src/client/cl_sequence.c:312:4: Storage seqEnts->tag is kept in one path, but live in another. src/client/cl_sequence.c:311:5: Storage seqEnts->tag becomes kept src/client/cl_sequence.c:315:4: Implicitly only storage se->ep (type entity_t *) not released before assignment: se->ep = R_GetFreeEntity() src/client/cl_sequence.c:316:4: Return value (type int) ignored: R_AddEntity(&ent) src/client/cl_sequence.c:317:3: Storage se->model is kept in one path, but live in another. src/client/cl_sequence.c:294:4: Storage se->model becomes kept src/client/cl_sequence.c:317:3: Clauses exit with seqEnts->model referencing kept storage in true branch, implicitly only storage in continuation src/client/cl_sequence.c:294:4: Storage seqEnts->model becomes kept src/client/cl_sequence.c:318:2: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_sequence.c:318:2: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/cl_sequence.c: (in function CL_Sequence2D) src/client/cl_sequence.c:333:2: Assignment of int to vec_t: pos[0] = (viddef.virtualWidth - 1024) / 2 src/client/cl_sequence.c:334:2: Assignment of int to vec_t: pos[1] = (viddef.virtualHeight - 768) / 2 src/client/cl_sequence.c:335:2: Assignment of int to vec_t: pos[2] = 0 src/client/cl_sequence.c:336:20: Null storage passed as non-null param: MN_Transform (..., NULL, ...) src/client/cl_sequence.c:336:26: Null storage passed as non-null param: MN_Transform (..., NULL) src/client/cl_sequence.c:340:7: Test expression for if not boolean, type qboolean: s2d->inuse src/client/cl_sequence.c:341:8: Left operand of && is non-boolean (qboolean): s2d->relativePos && height > 0 src/client/cl_sequence.c:349:6: Assignment of double to vec_t: s2d->color[j] = 0.0 src/client/cl_sequence.c:351:6: Assignment of double to vec_t: s2d->color[j] = 1.0 src/client/cl_sequence.c:370:5: Fresh storage image not released before scope exit src/client/cl_sequence.c:368:128: Fresh storage image created src/client/cl_sequence.c:374:16: Function R_DrawFill expects arg 1 to be int gets vec_t: s2d->pos[0] src/client/cl_sequence.c:374:29: Function R_DrawFill expects arg 2 to be int gets vec_t: s2d->pos[1] src/client/cl_sequence.c:374:42: Function R_DrawFill expects arg 3 to be int gets vec_t: s2d->size[0] src/client/cl_sequence.c:374:56: Function R_DrawFill expects arg 4 to be int gets vec_t: s2d->size[1] src/client/cl_sequence.c:384:40: Function MN_DrawString expects arg 2 to be int gets byte: s2d->align src/client/cl_sequence.c:384:52: Function MN_DrawString expects arg 3 to be int gets vec_t: s2d->pos[0] src/client/cl_sequence.c:384:65: Function MN_DrawString expects arg 4 to be int gets vec_t: s2d->pos[1] src/client/cl_sequence.c:384:78: Function MN_DrawString expects arg 5 to be int gets vec_t: s2d->pos[0] src/client/cl_sequence.c:384:91: Function MN_DrawString expects arg 6 to be int gets vec_t: s2d->pos[1] src/client/cl_sequence.c:384:187: New fresh storage (type char *) passed as implicitly temp (not released): gettext(s2d->text) src/client/cl_sequence.c:384:213: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/cl_sequence.c:387:10: Null storage passed as non-null param: R_Color (NULL) src/client/cl_sequence.c:389:15: Null storage passed as non-null param: MN_Transform (NULL, ...) src/client/cl_sequence.c:389:21: Null storage passed as non-null param: MN_Transform (..., NULL, ...) src/client/cl_sequence.c:389:27: Null storage passed as non-null param: MN_Transform (..., NULL) src/client/cl_sequence.c: (in function CL_SequenceStart_f) src/client/cl_sequence.c:421:8: Operand of ! is non-boolean (int): !strcmp(name, sp->name) src/client/cl_sequence.c:425:10: Fresh storage name not released before return src/client/cl_sequence.c:417:2: Fresh storage name created src/client/cl_sequence.c:431:33: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/cl_sequence.c:434:10: Fresh storage name not released before return src/client/cl_sequence.c:417:2: Fresh storage name created src/client/cl_sequence.c:452:2: Fresh storage name not released before return src/client/cl_sequence.c:417:2: Fresh storage name created src/client/cl_sequence.c:452:2: Fresh storage menu not released before return src/client/cl_sequence.c:431:2: Fresh storage menu created src/client/cl_sequence.c: (in function SEQ_InitStartup) src/client/cl_sequence.c:458:55: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/cl_sequence.c:458:2: Only storage assigned to unqualified static: seq_animspeed = Cvar_Get("seq_animspeed", "1000", 0, NULL) src/client/cl_sequence.c:459:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_sequence.c:460:50: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_sequence.c:461:46: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_sequence.c:477:3: Static seqCamera_vals[8].string initialized to null value: seqCamera_vals[8].string = NULL src/client/cl_sequence.c:492:3: Static seqEnt_vals[10].string initialized to null value: seqEnt_vals[10].string = NULL src/client/cl_sequence.c:510:3: Static seq2D_vals[13].string initialized to null value: seq2D_vals[13].string = NULL src/client/cl_sequence.c: (in function SEQ_Click) src/client/cl_sequence.c:521:6: Test expression for if not boolean, type qboolean: seqEndClickLoop src/client/cl_sequence.c:518:35: Parameter name not used src/client/cl_sequence.c:518:53: Parameter data not used src/client/cl_sequence.c: (in function SEQ_Wait) src/client/cl_sequence.c:535:52: Parameter data not used src/client/cl_sequence.c: (in function SEQ_Precache) src/client/cl_sequence.c:549:7: Operand of ! is non-boolean (int): !strcmp(name, "models") src/client/cl_sequence.c:550:10: Test expression for while not boolean, type char: *data src/client/cl_sequence.c:552:4: Return value (type struct model_s *) ignored: R_RegisterModelS... src/client/cl_sequence.c:555:14: Operand of ! is non-boolean (int): !strcmp(name, "pics") src/client/cl_sequence.c:556:10: Test expression for while not boolean, type char: *data src/client/cl_sequence.c:558:4: Return value (type image_t *) ignored: R_RegisterImage(... src/client/cl_sequence.c: (in function SEQ_Camera) src/client/cl_sequence.c:572:9: Test expression for while not boolean, type char: *data src/client/cl_sequence.c:575:9: Operand of ! is non-boolean (int): !strcmp(data, vp->string) src/client/cl_sequence.c:577:57: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/cl_sequence.c:577:5: Return value (type int) ignored: Com_EParseValueD... src/client/cl_sequence.c:569:36: Parameter name not used src/client/cl_sequence.c: (in function SEQ_Model) src/client/cl_sequence.c:602:9: Operand of ! is non-boolean (qboolean): !se->inuse src/client/cl_sequence.c:613:4: Assignment of double to vec_t: se->color[0] = (0.7) src/client/cl_sequence.c:613:25: Assignment of double to vec_t: se->color[1] = (0.7) src/client/cl_sequence.c:613:46: Assignment of double to vec_t: se->color[2] = (0.7) src/client/cl_sequence.c:614:2: Clauses exit with se referencing local storage in true branch, fresh storage in continuation src/client/cl_sequence.c:597:42: Fresh storage se created src/client/cl_sequence.c:597:42: Storage se created src/client/cl_sequence.c:617:9: Test expression for while not boolean, type char: *data src/client/cl_sequence.c:620:9: Operand of ! is non-boolean (int): !strcmp(data, vp->string) src/client/cl_sequence.c:622:49: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/cl_sequence.c:622:5: Return value (type int) ignored: Com_EParseValueD... src/client/cl_sequence.c:626:9: Operand of ! is non-boolean (int): !strcmp(data, "model") src/client/cl_sequence.c:630:16: Operand of ! is non-boolean (int): !strcmp(data, "anim") src/client/cl_sequence.c: (in function SEQ_2Dobj) src/client/cl_sequence.c:660:9: Operand of ! is non-boolean (qboolean): !s2d->inuse src/client/cl_sequence.c:674:2: Clauses exit with s2d referencing local storage in true branch, fresh storage in continuation src/client/cl_sequence.c:656:2: Fresh storage s2d created src/client/cl_sequence.c:656:2: Storage s2d created src/client/cl_sequence.c:677:9: Test expression for while not boolean, type char: *data src/client/cl_sequence.c:679:9: Operand of ! is non-boolean (int): !strcmp(data, vp->string) src/client/cl_sequence.c:684:10: Fall through case (no preceding break) src/client/cl_sequence.c:685:6: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/cl_sequence.c:689:51: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/cl_sequence.c:689:6: Return value (type int) ignored: Com_EParseValueD... src/client/cl_sequence.c: (in function SEQ_Remove) src/client/cl_sequence.c:722:4: Return value (type uint32_t) ignored: _Mem_Free((s2d->... src/client/cl_sequence.c:723:4: Implicitly only storage s2d->text (type char *) not released before assignment: s2d->text = NULL src/client/cl_sequence.c:708:54: Parameter data not used src/client/cl_sequence.c: (in function SEQ_Command) src/client/cl_sequence.c:737:55: Parameter data not used src/client/cl_sequence.c: (in function CL_ParseSequence) src/client/cl_sequence.c:757:8: Operand of ! is non-boolean (int): !strcmp(name, sequences[i].name) src/client/cl_sequence.c:780:10: Fresh storage token not released before return src/client/cl_sequence.c:775:2: Fresh storage token created src/client/cl_sequence.c:784:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_sequence.c:775:2: Fresh storage token created src/client/cl_sequence.c:793:9: Operand of ! is non-boolean (int): !strcmp(token, seqCmdName[i]) src/client/cl_sequence.c:800:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_sequence.c:784:3: Fresh storage token created src/client/cl_sequence.c:802:13: Fresh storage token not released before return src/client/cl_sequence.c:800:5: Fresh storage token created src/client/cl_sequence.c:817:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_sequence.c:800:5: Fresh storage token created src/client/cl_sequence.c:819:13: Fresh storage token not released before return src/client/cl_sequence.c:817:5: Fresh storage token created src/client/cl_sequence.c:825:12: Test expression for while not boolean, type int: depth src/client/cl_sequence.c:830:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_sequence.c:817:5: Fresh storage token created src/client/cl_sequence.c:832:14: Fresh storage token not released before return src/client/cl_sequence.c:830:6: Fresh storage token created src/client/cl_sequence.c:838:10: Test expression for if not boolean, type int: depth src/client/cl_sequence.c:839:39: Function Q_strncpyzDebug expects arg 3 to be size_t gets int: maxLength src/client/cl_sequence.c:849:4: Return value (type char *) ignored: Com_EParse(text,... src/client/cl_sequence.c:852:2: Fresh storage token not released before return src/client/cl_sequence.c:784:3: Fresh storage token created src/client/cl_team.c: (in function CL_GetTeamSkinName) src/client/cl_team.c:63:2: Path with no return in function declared to return char * src/client/cl_team.c: (in function CL_CharacterSkillAndScoreCvars) src/client/cl_team.c:67:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_team.c:68:27: New fresh storage (type char *) passed as implicitly temp (not released): CHRSH_CharGetBody(chr) src/client/cl_team.c:68:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_team.c:69:27: New fresh storage (type char *) passed as implicitly temp (not released): CHRSH_CharGetHead(chr) src/client/cl_team.c:69:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_team.c:70:27: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->skin) src/client/cl_team.c:70:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_team.c:71:31: New fresh storage (type char *) passed as implicitly temp (not released): CL_GetTeamSkinName(chr->skin) src/client/cl_team.c:71:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/cl_team.c:73:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[ABILITY_POWER]) src/client/cl_team.c:73:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vpw... src/client/cl_team.c:74:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[ABILITY_SPEED]) src/client/cl_team.c:74:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vsp... src/client/cl_team.c:75:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[ABILITY_ACCURACY] ) src/client/cl_team.c:75:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vac... src/client/cl_team.c:76:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[ABILITY_MIND]) src/client/cl_team.c:76:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vmn... src/client/cl_team.c:77:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[SKILL_CLOSE]) src/client/cl_team.c:77:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vcl... src/client/cl_team.c:78:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[SKILL_HEAVY]) src/client/cl_team.c:78:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhv... src/client/cl_team.c:79:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[SKILL_ASSAULT]) src/client/cl_team.c:79:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vas... src/client/cl_team.c:80:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[SKILL_SNIPER]) src/client/cl_team.c:80:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vsn... src/client/cl_team.c:81:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->score.skills[SKILL_EXPLOSIVE]) src/client/cl_team.c:81:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vex... src/client/cl_team.c:82:21: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->HP) src/client/cl_team.c:82:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhp... src/client/cl_team.c:83:24: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", chr->maxHP) src/client/cl_team.c:83:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhp... src/client/cl_team.c:85:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[ABILITY_POWER]), chr->score.skills[ABILITY_POWER]) src/client/cl_team.c:85:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tpw... src/client/cl_team.c:86:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[ABILITY_SPEED]), chr->score.skills[ABILITY_SPEED]) src/client/cl_team.c:86:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tsp... src/client/cl_team.c:87:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[ABILITY_ACCURACY]), chr->score.skills[ABILITY_ACCURACY]) src/client/cl_team.c:87:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tac... src/client/cl_team.c:88:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[ABILITY_MIND]), chr->score.skills[ABILITY_MIND]) src/client/cl_team.c:88:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tmn... src/client/cl_team.c:89:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[SKILL_CLOSE]), chr->score.skills[SKILL_CLOSE]) src/client/cl_team.c:89:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tcl... src/client/cl_team.c:90:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[SKILL_HEAVY]), chr->score.skills[SKILL_HEAVY]) src/client/cl_team.c:90:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_thv... src/client/cl_team.c:91:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[SKILL_ASSAULT]), chr->score.skills[SKILL_ASSAULT]) src/client/cl_team.c:91:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tas... src/client/cl_team.c:92:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[SKILL_SNIPER]), chr->score.skills[SKILL_SNIPER]) src/client/cl_team.c:92:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tsn... src/client/cl_team.c:93:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (%i)", CL_ActorGetSkillString(chr->sc ore.skills[SKILL_EXPLOSIVE]), chr->score.skills[SKILL_EXPLOSIVE]) src/client/cl_team.c:93:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tex... src/client/cl_team.c:94:21: New fresh storage (type char *) passed as implicitly temp (not released): va("%i (%i)", chr->HP, chr->maxHP) src/client/cl_team.c:94:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_thp... src/client/cl_team.c: (in function CL_SaveCharacterXML) src/client/cl_team.c:122:30: Function mxml_AddInt expects arg 3 to be int gets actorSizeEnum_t: chr->fieldSize src/client/cl_team.c:147:15: Fresh storage s not released before return src/client/cl_team.c:144:2: Fresh storage s created src/client/cl_team.c: (in function CL_LoadCharacterXML) src/client/cl_team.c:160:31: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(p, "name") src/client/cl_team.c:161:31: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(p, "body") src/client/cl_team.c:162:31: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(p, "path") src/client/cl_team.c:163:31: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(p, "head") src/client/cl_team.c:167:2: Implicitly only storage chr->teamDef (type teamDef_t *) not released before assignment: chr->teamDef = NULL src/client/cl_team.c:173:18: Function returns with null storage derivable from parameter chr->teamDef src/client/cl_team.c:167:17: Storage chr->teamDef becomes null src/client/cl_team.c:174:3: Immediate address &csi.teamDef[] assigned to implicitly only: chr->teamDef = &csi.teamDef[td] src/client/cl_team.c:185:2: Assignment of int to actorSizeEnum_t: chr->fieldSize = mxml_GetInt(p, "fieldsize", 1) src/client/cl_team.c:190:44: Left operand of && is non-boolean (mxml_node_t *): s && k < count src/client/cl_team.c:190:65: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, p, "score") src/client/cl_team.c:190:14: Fresh storage s created src/client/cl_team.c: (in function CL_SaveItemXML) src/client/cl_team.c:223:9: Function assert expects arg 1 to be boolean gets objDef_t *: item.t src/client/cl_team.c:225:30: Function mxml_AddInt expects arg 3 to be int gets containerIndex_t: container src/client/cl_team.c: (in function CL_SaveInventoryXML) src/client/cl_team.c:243:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/cl_team.c:255:4: Fresh storage s not released before scope exit src/client/cl_team.c:253:45: Fresh storage s created src/client/cl_team.c: (in function CL_LoadItemXML) src/client/cl_team.c:273:2: Assignment of int to containerIndex_t: *container = mxml_GetInt(n, "container", 0) src/client/cl_team.c:275:2: Implicitly only storage item->t (type objDef_t *) not released before assignment: item->t = INVSH_GetItemByID(itemID) src/client/cl_team.c:277:3: Fresh storage itemID (type char *) not released before assignment: itemID = mxml_GetString(n, "munitionid") src/client/cl_team.c:274:2: Fresh storage itemID created src/client/cl_team.c:278:3: Implicitly only storage item->m (type objDef_t *) not released before assignment: item->m = INVSH_GetItemByID(itemID) src/client/cl_team.c:280:2: Fresh storage itemID not released before return src/client/cl_team.c:274:2: Fresh storage itemID created src/client/cl_team.c: (in function CL_LoadInventoryXML) src/client/cl_team.c:295:21: Passed storage item contains 5 undefined fields: a, m, t, amount, rotated src/client/cl_team.c:295:28: Passed storage &container not completely defined: CL_LoadItemXML (..., &container, ...) src/client/cl_team.c:295:40: Passed storage &x not completely defined: CL_LoadItemXML (..., &x, ...) src/client/cl_team.c:295:44: Passed storage &y not completely defined: CL_LoadItemXML (..., &y) src/client/cl_team.c:298:3: Only storage item.m (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_team.c:298:3: Only storage item.t (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/cl_team.c:291:39: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, p, "item") src/client/cl_team.c:291:7: Fresh storage s created src/client/cl_team.c:299:2: Fresh storage s not released before return src/client/cl_team.c:291:7: Fresh storage s created src/client/cl_team.c: (in function CL_GenerateCharacter) src/client/cl_team.c:318:55: Null storage passed as non-null param: CL_ActorSetShotSettings (..., NULL) src/client/cl_team.c:322:34: Function CHRSH_CharGenAbilitySkills expects arg 2 to be qboolean gets boolean: (cls.gametype == (1 << 1)) src/client/cl_team.c: (in function CL_InitSkin_f) src/client/cl_team.c:335:16: Null storage skins derivable from parameter MN_AddOption (&skins, ...) src/client/cl_team.c:333:25: Storage skins becomes null src/client/cl_team.c:335:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:336:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:337:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:338:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:346:16: Null storage skins derivable from parameter MN_AddOption (&skins, ...) src/client/cl_team.c:344:25: Storage skins becomes null src/client/cl_team.c:346:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:347:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:348:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:349:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:350:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c:351:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&sk... src/client/cl_team.c: (in function CL_ChangeSkin_f) src/client/cl_team.c:369:7: Left operand of && is non-boolean (int): (cls.gametype & (1 << 0)) && newSkin >= 4 src/client/cl_team.c:375:29: Function Cvar_SetValue expects arg 2 to be float gets int: newSkin src/client/cl_team.c:376:28: New fresh storage (type char *) passed as implicitly temp (not released): CL_GetTeamSkinName(newSkin) src/client/cl_team.c:376:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_ski... src/client/cl_team.c: (in function CL_ChangeSkinForWholeTeam_f) src/client/cl_team.c:394:6: Left operand of && is non-boolean (int): (cls.gametype & (1 << 0)) && newSkin >= 4 src/client/cl_team.c:400:10: Function assert expects arg 1 to be boolean gets character_t *: chrDisplayList.chr[i] src/client/cl_team.c: (in function CL_UpdateObject_f) src/client/cl_team.c:424:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/cl_team.c:424:3: Assignment of boolean to qboolean: changeTab = atoi(Cmd_Argv(2)) >= 1 src/client/cl_team.c:428:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_team.c:439:6: Test expression for if not boolean, type qboolean: changeTab src/client/cl_team.c:442:7: Left operand of && is non-boolean (cvar_t *): var && var->integer != filter src/client/cl_team.c:443:34: Function Cvar_SetValue expects arg 2 to be float gets int: filter src/client/cl_team.c:446:3: Fresh storage var not released before scope exit src/client/cl_team.c:440:52: Fresh storage var created src/client/cl_team.c: (in function TEAM_InitStartup) src/client/cl_team.c:454:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Update the GUI with the selected item") src/client/cl_tip.c: (in function CL_GetTipOfTheDay_f) src/client/cl_tip.c:55:7: Operand of ! is non-boolean (int): !tipCount src/client/cl_tip.c:62:7: Operand of ! is non-boolean (int): !cl_showTipOfTheDay->integer src/client/cl_tip.c:76:9: Test expression for while not boolean, type int: rnd src/client/cl_tip.c: (in function CL_ParseTipsOfTheDay) src/client/cl_tip.c:98:10: Fresh storage token not released before return src/client/cl_tip.c:94:2: Fresh storage token created src/client/cl_tip.c:103:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_tip.c:94:2: Fresh storage token created src/client/cl_tip.c:113:3: Implicitly only storage tip->tipString (type char *) not released before assignment: tip->tipString = _Mem_PoolStrDup((token), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/cl_tip.c", 113) src/client/cl_tip.c:114:3: Implicitly only storage tip->next (type struct tipOfTheDay_s *) not released before assignment: tip->next = tipList src/client/cl_tip.c:114:3: Unqualified static storage tipList assigned to implicitly only: tip->next = tipList src/client/cl_tip.c:118:2: Fresh storage token not released before return src/client/cl_tip.c:103:3: Fresh storage token created src/client/cl_tip.c:118:2: Fresh storage tip not released before return src/client/cl_tip.c:112:3: Fresh storage tip created src/client/cl_tip.c: (in function TOTD_InitStartup) src/client/cl_tip.c:125:2: Only storage assigned to unqualified static: cl_showTipOfTheDay = Cvar_Get("cl_showTipOfTheDay", "1", 1, "Show the tip of the day for singleplayer campaigns") src/client/cl_tutorials.c: (in function TUT_GetTutorials_f) src/client/cl_tutorials.c:46:18: Null storage tutorialList derivable from parameter LIST_AddString (&tutorialList, ...) src/client/cl_tutorials.c:42:31: Storage tutorialList becomes null src/client/cl_tutorials.c:46:33: New fresh storage (type char *) passed as implicitly temp (not released): va("%s", gettext(t->name)) src/client/cl_tutorials.c:48:39: Null storage tutorialList passed as non-null param: MN_RegisterLinkedListText (..., tutorialList) src/client/cl_tutorials.c:42:31: Storage tutorialList becomes null src/client/cl_tutorials.c: (in function TUT_ListClick_f) src/client/cl_tutorials.c:74:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/cl_tutorials.c:78:20: New fresh storage (type char *) passed as implicitly temp (not released): va("seq_start %s", tutorials[num].sequence) src/client/cl_tutorials.c: (in function TUT_InitStartup) src/client/cl_tutorials.c:85:53: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_tutorials.c:86:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/cl_tutorials.c:93:3: Static tutValues[2].string initialized to null value: tutValues[2].string = NULL src/client/cl_tutorials.c: (in function TUT_ParseTutorials) src/client/cl_tutorials.c:111:10: Fresh storage token not released before return src/client/cl_tutorials.c:107:2: Fresh storage token created src/client/cl_tutorials.c:118:10: Fresh storage token not released before return src/client/cl_tutorials.c:107:2: Fresh storage token created src/client/cl_tutorials.c:125:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_tutorials.c:107:2: Fresh storage token created src/client/cl_tutorials.c:131:9: Operand of ! is non-boolean (int): !strncmp(token, v->string, sizeof((v->string))) src/client/cl_tutorials.c:133:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_tutorials.c:125:3: Fresh storage token created src/client/cl_tutorials.c:135:13: Fresh storage token not released before return src/client/cl_tutorials.c:133:5: Fresh storage token created src/client/cl_tutorials.c:137:48: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: v->ofs src/client/cl_tutorials.c:137:5: Return value (type int) ignored: Com_EParseValueD... src/client/cl_tutorials.c:143:2: Fresh storage token not released before return src/client/cl_tutorials.c:125:3: Fresh storage token created src/client/cl_ugv.c: (in function CL_GetUGVByIDSilent) src/client/cl_ugv.c:47:10: Null storage returned as non-null: NULL src/client/cl_ugv.c:49:8: Operand of ! is non-boolean (int): !strcmp(ugvs[i].id, ugvID) src/client/cl_ugv.c:50:11: Immediate address &ugvs[] returned as implicitly only: &ugvs[i] src/client/cl_ugv.c:53:9: Null storage returned as non-null: NULL src/client/cl_ugv.c: (in function CL_GetUGVByID) src/client/cl_ugv.c:68:82: Possibly null storage ugvID passed as non-null param: Com_Printf (..., ugvID, ...) src/client/cl_ugv.c:69:9: Possibly null storage ugv returned as non-null: ugv src/client/cl_ugv.c:63:15: Storage ugv may become null src/client/cl_ugv.c:79:3: Static ugvValues[5].string initialized to null value: ugvValues[5].string = NULL src/client/cl_ugv.c: (in function CL_ParseUGVs) src/client/cl_ugv.c:99:10: Fresh storage token not released before return src/client/cl_ugv.c:95:2: Fresh storage token created src/client/cl_ugv.c:103:8: Operand of ! is non-boolean (int): !strcmp(name, ugvs[i].id) src/client/cl_ugv.c:105:11: Fresh storage token not released before return src/client/cl_ugv.c:95:2: Fresh storage token created src/client/cl_ugv.c:112:10: Fresh storage token not released before return src/client/cl_ugv.c:95:2: Fresh storage token created src/client/cl_ugv.c:117:2: Implicitly only storage ugv->id (type char *) not released before assignment: ugv->id = _Mem_PoolStrDup((name), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/cl_ugv.c", 117) src/client/cl_ugv.c:121:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_ugv.c:95:2: Fresh storage token created src/client/cl_ugv.c:127:9: Operand of ! is non-boolean (int): !strncmp(token, v->string, sizeof((v->string))) src/client/cl_ugv.c:129:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/cl_ugv.c:121:3: Fresh storage token created src/client/cl_ugv.c:131:13: Fresh storage token not released before return src/client/cl_ugv.c:129:5: Fresh storage token created src/client/cl_ugv.c:132:50: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: v->ofs src/client/cl_ugv.c:132:5: Return value (type int) ignored: Com_EParseValueD... src/client/cl_ugv.c:138:2: Fresh storage token not released before return src/client/cl_ugv.c:121:3: Fresh storage token created src/client/cl_video.c: (in function VID_GetModeNums) src/client/cl_video.c:78:9: Return value type arbitrary unsigned integral type does not match declared type int: (sizeof((vid_modes)) / sizeof((*(vid_modes)))) src/client/cl_video.c: (in function VID_GetModeInfo) src/client/cl_video.c:86:3: Assignment of int to unsigned int: viddef.width = vid_width->integer src/client/cl_video.c:87:3: Assignment of int to unsigned int: viddef.height = vid_height->integer src/client/cl_video.c:89:3: Assignment of int to unsigned int: viddef.width = vid_modes[viddef.mode].width src/client/cl_video.c:90:3: Assignment of int to unsigned int: viddef.height = vid_modes[viddef.mode].height src/client/cl_video.c:91:30: Function Cvar_SetValue expects arg 2 to be float gets unsigned int: viddef.width src/client/cl_video.c:92:31: Function Cvar_SetValue expects arg 2 to be float gets unsigned int: viddef.height src/client/cl_video.c: (in function VID_Restart_f) src/client/cl_video.c:106:2: Return value (type qboolean) ignored: R_Init() src/client/cl_video.c: (in function CL_CvarCheckVidMode) src/client/cl_video.c:120:36: Function Cvar_AssertValue expects arg 3 to be float gets int: VID_GetModeNums() src/client/cl_video.c: (in function VID_Init) src/client/cl_video.c:131:2: Return value (type qboolean) ignored: Cvar_SetCheckFun... src/client/cl_video.c:135:2: Return value (type qboolean) ignored: Cvar_SetCheckFun... src/client/cl_video.c:136:2: Only storage assigned to unqualified static: vid_height = Cvar_Get("vid_height", "768", 1, "Custom video height - set vid_mode to -1 to use this") src/client/cl_video.c:137:2: Only storage assigned to unqualified static: vid_width = Cvar_Get("vid_width", "1024", 1, "Custom video width - set vid_mode to -1 to use this") src/client/cl_video.c:148:2: Return value (type qboolean) ignored: R_Init() src/client/input/cl_input.c: (in function IN_KeyDown) src/client/input/cl_input.c:104:6: Test expression for if not boolean, type char: c[0] src/client/input/cl_input.c:112:10: Fresh storage c not released before return src/client/input/cl_input.c:102:30: Fresh storage c created src/client/input/cl_input.c:114:7: Operand of ! is non-boolean (int): !b->down[0] src/client/input/cl_input.c:116:12: Operand of ! is non-boolean (int): !b->down[1] src/client/input/cl_input.c:120:10: Fresh storage c not released before return src/client/input/cl_input.c:102:30: Fresh storage c created src/client/input/cl_input.c:124:6: Test expression for if not boolean, type int: b->state src/client/input/cl_input.c:125:10: Fresh storage c not released before return src/client/input/cl_input.c:102:30: Fresh storage c created src/client/input/cl_input.c:128:2: Fresh storage c (type char *) not released before assignment: c = Cmd_Argv(2) src/client/input/cl_input.c:102:30: Fresh storage c created src/client/input/cl_input.c:129:2: Assignment of int to unsigned int: b->downtime = atoi(c) src/client/input/cl_input.c:130:7: Operand of ! is non-boolean (unsigned int): !b->downtime src/client/input/cl_input.c:131:3: Assignment of int to unsigned int: b->downtime = cls.realtime - 100 src/client/input/cl_input.c:135:2: Fresh storage c not released before return src/client/input/cl_input.c:128:2: Fresh storage c created src/client/input/cl_input.c: (in function IN_KeyUp) src/client/input/cl_input.c:148:6: Test expression for if not boolean, type char: c[0] src/client/input/cl_input.c:153:10: Fresh storage c not released before return src/client/input/cl_input.c:146:30: Fresh storage c created src/client/input/cl_input.c:162:10: Fresh storage c not released before return src/client/input/cl_input.c:146:30: Fresh storage c created src/client/input/cl_input.c:165:6: Operands of || are non-boolean (int): b->down[0] || b->down[1] src/client/input/cl_input.c:166:10: Fresh storage c not released before return src/client/input/cl_input.c:146:30: Fresh storage c created src/client/input/cl_input.c:169:7: Operand of ! is non-boolean (int): !b->state src/client/input/cl_input.c:170:10: Fresh storage c not released before return src/client/input/cl_input.c:146:30: Fresh storage c created src/client/input/cl_input.c:173:2: Fresh storage c (type char *) not released before assignment: c = Cmd_Argv(2) src/client/input/cl_input.c:146:30: Fresh storage c created src/client/input/cl_input.c:174:2: Assignment of int to unsigned int: uptime = atoi(c) src/client/input/cl_input.c:175:6: Test expression for if not boolean, type unsigned int: uptime src/client/input/cl_input.c:182:2: Fresh storage c not released before return src/client/input/cl_input.c:173:2: Fresh storage c created src/client/input/cl_input.c: (in function CL_LevelUp_f) src/client/input/cl_input.c:271:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/input/cl_input.c:273:33: Function Cvar_SetValue expects arg 2 to be float gets int: (cl_worldlevel->integer < cl.mapMaxLevel - 1) ? cl_worldlevel->integer + 1 : cl.mapMaxLevel - 1 src/client/input/cl_input.c: (in function CL_LevelDown_f) src/client/input/cl_input.c:281:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/input/cl_input.c:283:33: Function Cvar_SetValue expects arg 2 to be float gets int: (cl_worldlevel->integer > 0) ? cl_worldlevel->integer - 1 : 0 src/client/input/cl_input.c: (in function CL_HudRadarDown_f) src/client/input/cl_input.c:360:7: Operand of ! is non-boolean (qboolean): !MN_IsWindowOnStack(mn_hud->string) src/client/input/cl_input.c:362:29: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/input/cl_input.c:362:2: Return value (type struct menuNode_s *) ignored: MN_PushWindow("r... src/client/input/cl_input.c: (in function CL_HudRadarUp_f) src/client/input/cl_input.c:370:7: Operand of ! is non-boolean (qboolean): !MN_IsWindowOnStack(mn_hud->string) src/client/input/cl_input.c: (in function CL_GetKeyMouseState) src/client/input/cl_input.c:447:11: Incompatible types for + (int, boolean): (in_shiftup.state & 1) + (mousePosY <= (viddef.y / viddef.ry) + 4) src/client/input/cl_input.c:451:11: Incompatible types for + (int, boolean): (in_shiftright.state & 1) + (mousePosX >= ((viddef.x + viddef.viewWidth) / viddef.rx) - 4) src/client/input/cl_input.c:454:3: Assignment of int to float: value = (in_zoomin.state & 1) - (in_zoomout.state & 1) src/client/input/cl_input.c:457:3: Assignment of int to float: value = (in_turnleft.state & 1) - (in_turnright.state & 1) src/client/input/cl_input.c:460:3: Assignment of int to float: value = (in_turnup.state & 1) - (in_turndown.state & 1) src/client/input/cl_input.c: (in function IN_Parse) src/client/input/cl_input.c:480:6: Test expression for if not boolean, type qboolean: MN_IsPointOnWindow(mousePosX, mousePosY) src/client/input/cl_input.c:488:7: Operand of ! is non-boolean (int): !viddef.viewWidth src/client/input/cl_input.c:488:28: Operand of ! is non-boolean (int): !viddef.viewHeight src/client/input/cl_input.c: (in function IN_PrintKey) src/client/input/cl_input.c:499:6: Test expression for if not boolean, type int: in_debug->integer src/client/input/cl_input.c:501:7: Test expression for if not boolean, type Uint16: event->key.keysym.unicode src/client/input/cl_input.c:503:8: Operands of >= have incompatible types (Uint16, char): event->key.keysym.unicode >= '0' src/client/input/cl_input.c:503:44: Operands of <= have incompatible types (Uint16, char): event->key.keysym.unicode <= '~' src/client/input/cl_input.c: (in function IN_TranslateKey) src/client/input/cl_input.c:661:3: Assignment of char to unsigned int: *ascii = '*' src/client/input/cl_input.c:674:3: Assignment of char to unsigned int: *ascii = '`' src/client/input/cl_input.c:723:2: Assignment of Uint16 to unsigned short int: *unicode = keysym->unicode src/client/input/cl_input.c:725:6: Test expression for if not boolean, type int: in_debug->integer src/client/input/cl_input.c: (in function EVENT_ENQUEUE) src/client/input/cl_input.c:735:7: Test expression for if not boolean, type int: in_debug->integer src/client/input/cl_input.c:736:67: Function Key_KeynumToString expects arg 1 to be int gets unsigned int: keyNum src/client/input/cl_input.c: (in function IN_Frame) src/client/input/cl_input.c:767:6: Test expression for if not boolean, type qboolean: vid_grabmouse->modified src/client/input/cl_input.c:770:8: Operand of ! is non-boolean (int): !vid_grabmouse->integer src/client/input/cl_input.c:773:4: Return value (type SDL_GrabMode) ignored: SDL_WM_GrabInput... src/client/input/cl_input.c:775:15: Operand of ! is non-boolean (int): !vid_fullscreen->integer src/client/input/cl_input.c:778:4: Return value (type SDL_GrabMode) ignored: SDL_WM_GrabInput... src/client/input/cl_input.c:788:23: Passed union event has no defined field src/client/input/cl_input.c:788:9: Test expression for while not boolean, type int: SDL_PollEvent(&event) src/client/input/cl_input.c:815:35: Field event.button.button used before definition An rvalue is used that may not be initialized to a value on some execution path. (Use -usedef to inhibit warning) src/client/input/cl_input.c:815:5: Assignment of arbitrary unsigned integral type to int: mouse_buttonstate = K_AUX1 + (event.button.button - 8) % 16 src/client/input/cl_input.c:818:41: Field event.type used before definition src/client/input/cl_input.c:818:18: Function EVENT_ENQUEUE expects arg 1 to be unsigned int gets int: mouse_buttonstate src/client/input/cl_input.c:818:40: Function EVENT_ENQUEUE expects arg 3 to be qboolean gets boolean: (event.type == SDL_MOUSEBUTTONDOWN) src/client/input/cl_input.c:822:4: Return value (type Uint8) ignored: SDL_GetMouseStat... src/client/input/cl_input.c:829:8: Left operand of && is non-boolean (SDLMod): event.key.keysym.mod & (KMOD_LALT | KMOD_RALT) && event.key.keysym.sym == SDLK_RETURN src/client/input/cl_input.c:831:10: Operand of ! is non-boolean (int): !SDL_WM_ToggleFullScreen(surface) src/client/input/cl_input.c:834:9: Test expression for if not boolean, type Uint32: surface->flags & 0x80000000 src/client/input/cl_input.c:845:8: Left operand of && is non-boolean (SDLMod): event.key.keysym.mod & (KMOD_LCTRL | KMOD_RCTRL) && event.key.keysym.sym == SDLK_g src/client/input/cl_input.c:847:36: Function Cvar_SetValue expects arg 2 to be float gets int: (gm == SDL_GRAB_ON) ? 0 : 1 src/client/input/cl_input.c:852:8: Left operand of && is non-boolean (SDLMod): event.key.keysym.mod & (KMOD_LSHIFT | KMOD_RSHIFT) && event.key.keysym.sym == SDLK_ESCAPE src/client/input/cl_input.c:857:39: Passed storage &key not completely defined: IN_TranslateKey (..., &key, ...) src/client/input/cl_input.c:857:45: Passed storage &unicode not completely defined: IN_TranslateKey (..., &unicode) src/client/input/cl_input.c:866:39: Passed storage &key not completely defined: IN_TranslateKey (..., &key, ...) src/client/input/cl_input.c:866:45: Passed storage &unicode not completely defined: IN_TranslateKey (..., &unicode) src/client/input/cl_input.c: (in function IN_Init) src/client/input/cl_input.c:891:2: Only storage assigned to unqualified static: in_debug = Cvar_Get("in_debug", "0", 0, "Show input key codes on game console") src/client/input/cl_input.c:895:49: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Rotate battlescape camera anti-clockwise") src/client/input/cl_input.c:896:47: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:897:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Rotate battlescape camera clockwise") src/client/input/cl_input.c:898:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:899:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Tilt battlescape camera up") src/client/input/cl_input.c:900:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:901:49: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Tilt battlescape camera down") src/client/input/cl_input.c:902:47: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:903:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Move battlescape camera left") src/client/input/cl_input.c:904:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:905:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Move battlescape camera right") src/client/input/cl_input.c:906:51: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:907:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Move battlescape camera forward") src/client/input/cl_input.c:908:45: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:909:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Move battlescape camera backward") src/client/input/cl_input.c:910:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:911:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Zoom in") src/client/input/cl_input.c:912:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:913:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Zoom out") src/client/input/cl_input.c:914:45: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:916:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Left mouse button click (menu)") src/client/input/cl_input.c:917:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:918:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Middle mouse button click (menu)") src/client/input/cl_input.c:919:53: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:920:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Right mouse button click (menu)") src/client/input/cl_input.c:921:51: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:922:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Select objects/Walk to a square/In fire mode, fire etc") src/client/input/cl_input.c:923:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:924:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Walk to a square/In fire mode, cancel action") src/client/input/cl_input.c:925:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:926:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Turn soldier toward mouse pointer") src/client/input/cl_input.c:927:39: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:928:49: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggles the hud radar mode") src/client/input/cl_input.c:929:47: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/input/cl_input.c:931:42: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Slice through terrain at a higher level") src/client/input/cl_input.c:932:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Slice through terrain at a lower level") src/client/input/cl_input.c:933:50: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Zoom in") src/client/input/cl_input.c:934:52: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Zoom out") src/client/input/cl_input.c:936:14: Assignment of double to int: mousePosY = 0.0 src/client/input/cl_input.c: (in function IN_SendKeyEvents) src/client/input/cl_input.c:947:81: Function Key_Event expects arg 4 to be unsigned int gets int: cls.realtime src/client/input/cl_joystick.c:33:30: Static stick initialized to null value: stick = NULL src/client/input/cl_joystick.c:33:30: Static stick initialized to null value: SDL_Joystick * stick = NULL = NULL src/client/input/cl_joystick.c: (in function IN_JoystickMove) src/client/input/cl_joystick.c:80:6: Test expression for if not boolean, type qboolean: in_joystickNo->modified src/client/input/cl_joystick.c:83:7: Operand of ! is non-boolean (int): !in_joystick->integer src/client/input/cl_joystick.c:91:22: Function memset expects arg 2 to be int gets char: '\0' src/client/input/cl_joystick.c:101:4: Return value (type int) ignored: SDL_JoystickGetB... src/client/input/cl_joystick.c:105:7: Operands of || are non-boolean (int): balldx || balldy src/client/input/cl_joystick.c:114:7: Operands of > have incompatible types (int, arbitrary unsigned integral type): total > (sizeof((stick_state.buttons)) / sizeof((*(stick_state.button s)))) src/client/input/cl_joystick.c:115:4: Assignment of arbitrary unsigned integral type to int: total = (sizeof((stick_state.buttons)) / sizeof((*(stick_state.buttons)))) src/client/input/cl_joystick.c:117:29: Variable pressed initialized to type boolean, expects qboolean: (SDL_JoystickGetButton(stick, i) != 0) src/client/input/cl_joystick.c:119:21: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: K_JOY1 + i src/client/input/cl_joystick.c:141:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:144:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:147:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:150:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:153:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:154:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:157:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:158:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:161:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:162:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:165:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:166:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:174:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:177:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:180:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:183:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:186:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:187:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:190:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:191:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 1] src/client/input/cl_joystick.c:194:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 0] src/client/input/cl_joystick.c:195:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:198:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 2] src/client/input/cl_joystick.c:199:22: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: hat_keys[4 * i + 3] src/client/input/cl_joystick.c:221:8: Test expression for if not boolean, type int: i & 1 src/client/input/cl_joystick.c:246:19: Right operand of << may be negative (int): 1 << (i * 2) src/client/input/cl_joystick.c:248:19: Right operand of << may be negative (int): 1 << ((i * 2) + 1) src/client/input/cl_joystick.c:257:22: Right operand of << may be negative (int): 1 << i src/client/input/cl_joystick.c:257:59: Right operand of << may be negative (int): 1 << i src/client/input/cl_joystick.c:257:30: Operand of ! is non-boolean (unsigned int): !(stick_state.oldaxes & (1 << i)) src/client/input/cl_joystick.c:257:8: Left operand of && is non-boolean (unsigned int): (axes & (1 << i)) && !(stick_state.oldaxes & (1 << i)) src/client/input/cl_joystick.c:258:21: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: joy_keys[i] src/client/input/cl_joystick.c:260:23: Right operand of << may be negative (int): 1 << i src/client/input/cl_joystick.c:260:9: Operand of ! is non-boolean (unsigned int): !(axes & (1 << i)) src/client/input/cl_joystick.c:260:59: Right operand of << may be negative (int): 1 << i src/client/input/cl_joystick.c:260:30: Right operand of && is non-boolean (unsigned int): !(axes & (1 << i)) && (stick_state.oldaxes & (1 << i)) src/client/input/cl_joystick.c:261:21: Function IN_EventEnqueue expects arg 1 to be unsigned int gets int: joy_keys[i] src/client/input/cl_joystick.c: (in function IN_JoystickInitMenu) src/client/input/cl_joystick.c:278:16: Null storage joystickOptions derivable from parameter MN_AddOption (&joystickOptions, ...) src/client/input/cl_joystick.c:274:34: Storage joystickOptions becomes null src/client/input/cl_joystick.c:278:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("None") src/client/input/cl_joystick.c:278:3: Return value (type struct menuOption_s *) ignored: MN_AddOption(&jo... src/client/input/cl_joystick.c:282:17: Null storage joystickOptions derivable from parameter MN_AddOption (&joystickOptions, ...) src/client/input/cl_joystick.c:274:34: Storage joystickOptions becomes null src/client/input/cl_joystick.c:282:39: New fresh storage (type char *) passed as implicitly temp (not released): SDL_JoystickName(i) src/client/input/cl_joystick.c:282:60: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", i) src/client/input/cl_joystick.c:282:4: Return value (type struct menuOption_s *) ignored: MN_AddOption(&jo... src/client/input/cl_joystick.c:284:38: Null storage joystickOptions passed as non-null param: MN_RegisterOption (..., joystickOptions) src/client/input/cl_joystick.c:274:34: Storage joystickOptions becomes null src/client/input/cl_joystick.c: (in function IN_StartupJoystick) src/client/input/cl_joystick.c:295:2: Only storage assigned to unqualified static: in_joystick = Cvar_Get("in_joystick", "0", 1, "Activate or deactivate the use of a joystick") src/client/input/cl_joystick.c:296:2: Only storage assigned to unqualified static: in_joystickNo = Cvar_Get("in_joystickNo", "0", 1, "Joystick to use - 0 is the first - 1 is the second ...") src/client/input/cl_joystick.c:297:2: Only storage assigned to unqualified static: in_joystickThreshold = Cvar_Get("in_joystickThreshold", "0.05", 1, "The threshold for the joystick axes") src/client/input/cl_joystick.c:298:2: Only storage assigned to unqualified static: in_joystickSpeed = Cvar_Get("in_joystickSpeed", "20", 1, "The joystick speed for the cursor") src/client/input/cl_joystick.c:306:23: Function memset expects arg 2 to be int gets char: '\0' src/client/input/cl_joystick.c:308:7: Operand of ! is non-boolean (Uint32): !SDL_WasInit(0x00000200) src/client/input/cl_joystick.c:312:11: Function returns with non-null global stick referencing null storage src/client/input/cl_joystick.c:305:10: Storage stick becomes null src/client/input/cl_joystick.c:323:3: Return value (type cvar_t *) ignored: Cvar_Set("in_joy... src/client/input/cl_joystick.c:326:2: Only storage assigned to unqualified static: stick = SDL_JoystickOpen(in_joystickNo->integer) src/client/input/cl_joystick.c:340:2: Return value (type int) ignored: SDL_JoystickEven... src/client/cl_screen.h:34:6: Function SCR_BeginLoadingPlaque defined more than once src/client/cl_screen.c:356:1: Previous definition of SCR_BeginLoadingPlaque src/client/cl_screen.h:35:6: Function SCR_EndLoadingPlaque defined more than once src/client/cl_screen.c:368:1: Previous definition of SCR_EndLoadingPlaque src/client/input/cl_keys.c:191:16: Initial value of keyNames[102].keynum is type char, expects int: ';' src/client/input/cl_keys.c:206:3: Static keyNames[115].name initialized to null value: keyNames[115].name = NULL src/client/input/cl_keys.c: (in function Key_Console) src/client/input/cl_keys.c:224:6: Test expression for if not boolean, type qboolean: keyDown[K_CTRL] src/client/input/cl_keys.c:236:4: Assignment of size_t to int: keyLinePos = strlen(keyLines[editLine]) src/client/input/cl_keys.c:245:13: Operand of ! is non-boolean (char): !keyLines[editLine][1] src/client/input/cl_keys.c:269:3: Return value (type qboolean) ignored: Com_ConsoleCompl... src/client/input/cl_keys.c:273:29: Operands of == have incompatible types (int, char): key == 'h' src/client/input/cl_keys.c:273:43: Right operand of && is non-boolean (qboolean): key == 'h' && keyDown[K_CTRL] src/client/input/cl_keys.c:282:7: Operands of < have incompatible types (int, size_t): keyLinePos < strlen(keyLines[editLine]) src/client/input/cl_keys.c:287:50: Incompatible types for == (char, char): tolower(key) == 'p' src/client/input/cl_keys.c:287:73: Right operand of && is non-boolean (qboolean): tolower(key) == 'p' && keyDown[K_CTRL] src/client/input/cl_keys.c:290:40: Operand of ! is non-boolean (char): !keyLines[historyLine][1] src/client/input/cl_keys.c:296:3: Assignment of size_t to int: keyLinePos = strlen(keyLines[editLine]) src/client/input/cl_keys.c:298:61: Incompatible types for == (char, char): tolower(key) == 'n' src/client/input/cl_keys.c:298:84: Right operand of && is non-boolean (qboolean): tolower(key) == 'n' && keyDown[K_CTRL] src/client/input/cl_keys.c:303:40: Operand of ! is non-boolean (char): !keyLines[historyLine][1] src/client/input/cl_keys.c:312:4: Assignment of size_t to int: keyLinePos = strlen(keyLines[editLine]) src/client/input/cl_keys.c:318:7: Test expression for if not boolean, type qboolean: keyDown[K_CTRL] src/client/input/cl_keys.c:330:8: Assignment of size_t to int: i = strlen(keyLines[editLine]) src/client/input/cl_keys.c:332:7: Test expression for if not boolean, type qboolean: keyDown[K_CTRL] src/client/input/cl_keys.c:367:3: Assignment of size_t to int: keyLinePos = strlen(keyLines[editLine]) src/client/input/cl_keys.c:373:3: Assignment of char to int: key = '/' src/client/input/cl_keys.c:376:3: Assignment of char to int: key = '-' src/client/input/cl_keys.c:379:3: Assignment of char to int: key = '+' src/client/input/cl_keys.c:382:3: Assignment of char to int: key = '7' src/client/input/cl_keys.c:385:3: Assignment of char to int: key = '8' src/client/input/cl_keys.c:388:3: Assignment of char to int: key = '9' src/client/input/cl_keys.c:391:3: Assignment of char to int: key = '4' src/client/input/cl_keys.c:394:3: Assignment of char to int: key = '5' src/client/input/cl_keys.c:397:3: Assignment of char to int: key = '6' src/client/input/cl_keys.c:400:3: Assignment of char to int: key = '1' src/client/input/cl_keys.c:403:3: Assignment of char to int: key = '2' src/client/input/cl_keys.c:406:3: Assignment of char to int: key = '3' src/client/input/cl_keys.c:409:3: Assignment of char to int: key = '0' src/client/input/cl_keys.c:412:3: Assignment of char to int: key = '.' src/client/input/cl_keys.c:424:7: Test expression for if not boolean, type int: keyInsert src/client/input/cl_keys.c:425:4: Assignment of arbitrary unsigned integral type to int: i = strlen(keyLines[editLine]) - 1 src/client/input/cl_keys.c:432:3: Assignment of char to int: i = keyLines[editLine][keyLinePos] src/client/input/cl_keys.c:433:3: Assignment of int to char: keyLines[editLine][keyLinePos] = key src/client/input/cl_keys.c:435:8: Operand of ! is non-boolean (int): !i src/client/input/cl_keys.c:436:4: Assignment of int to char: keyLines[editLine][keyLinePos] = 0 src/client/input/cl_keys.c: (in function Key_Message) src/client/input/cl_keys.c:455:8: Test expression for if not boolean, type char: msgBuffer[0] src/client/input/cl_keys.c:461:8: Test expression for if not boolean, type char: msgBuffer[0] src/client/input/cl_keys.c:470:7: Test expression for if not boolean, type qboolean: send src/client/input/cl_keys.c:478:3: Assignment of int to char: msgBuffer[0] = 0 src/client/input/cl_keys.c:491:3: Assignment of int to char: msgBuffer[0] = 0 src/client/input/cl_keys.c:496:7: Test expression for if not boolean, type size_t: msgBufferLen src/client/input/cl_keys.c:497:47: Function UTF8_delete_char expects arg 2 to be int gets arbitrary unsigned integral type: msgBufferLen - 1 src/client/input/cl_keys.c:497:4: Assignment of int to size_t: msgBufferLen = UTF8_delete_char(msgBuffer, msgBufferLen - 1) src/client/input/cl_keys.c:510:52: Function UTF8_insert_char expects arg 2 to be int gets size_t: sizeof((msgBuffer)) src/client/input/cl_keys.c:510:66: Function UTF8_insert_char expects arg 3 to be int gets size_t: msgBufferLen src/client/input/cl_keys.c: (in function Key_StringToKeynum) src/client/input/cl_keys.c:531:10: Return value type char does not match declared type int: str[0] src/client/input/cl_keys.c: (in function Key_KeynumToString) src/client/input/cl_keys.c:553:10: Observer storage returned without qualification: "" Observer storage is transferred to a non-observer reference. (Use -observertrans to inhibit warning) src/client/input/cl_keys.c:553:10: Storage becomes observer src/client/input/cl_keys.c:556:3: Assignment of int to char: tinystr[0] = keynum src/client/input/cl_keys.c:557:3: Assignment of int to char: tinystr[1] = 0 src/client/input/cl_keys.c:558:10: Unqualified static storage tinystr returned as implicitly only: tinystr src/client/input/cl_keys.c:563:20: Released storage keyNames->name reachable from global src/client/input/cl_keys.c:563:11: Storage keyNames->name released src/client/input/cl_keys.c:565:9: Observer storage returned without qualification: "" src/client/input/cl_keys.c:565:9: Storage becomes observer src/client/input/cl_keys.c: (in function Key_GetBinding) src/client/input/cl_keys.c:594:7: Index of null pointer keySpace: keySpace src/client/input/cl_keys.c:577:20: Storage keySpace becomes null src/client/input/cl_keys.c:594:7: Operands of && are non-booleans (char *, char): keySpace[i] && *keySpace[i] src/client/input/cl_keys.c:594:39: Operand of ! is non-boolean (int): !strncmp(keySpace[i], binding, strlen(binding)) src/client/input/cl_keys.c:599:9: Observer storage returned without qualification: "" src/client/input/cl_keys.c:599:9: Storage becomes observer src/client/input/cl_keys.c: (in function Key_SetBinding) src/client/input/cl_keys.c:640:3: Return value (type uint32_t) ignored: _Mem_Free((*keyS... src/client/input/cl_keys.c: (in function Key_Unbind_f) src/client/input/cl_keys.c:664:25: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/input/cl_keys.c:670:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:670:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "unbindmenu") src/client/input/cl_keys.c:672:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:672:12: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "unbindbattle") src/client/input/cl_keys.c: (in function Key_Unbindall_f) src/client/input/cl_keys.c:688:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:688:9: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "unbindallmenu") src/client/input/cl_keys.c: (in function Key_Bind_f) src/client/input/cl_keys.c:710:25: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/input/cl_keys.c:721:10: Function returns with possibly null storage derivable from global keyBindings[] src/client/input/cl_keys.c:727:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(i) src/client/input/cl_keys.c:732:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:732:7: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "bindui") src/client/input/cl_keys.c:734:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:734:12: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "bindmenu") src/client/input/cl_keys.c:736:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(0) src/client/input/cl_keys.c:736:12: Operand of ! is non-boolean (int): !strcmp(Cmd_Argv(0), "bindbattle") src/client/input/cl_keys.c: (in function Key_WriteBindings) src/client/input/cl_keys.c:756:2: Return value (type int) ignored: FS_OpenFile(file... src/client/input/cl_keys.c:759:10: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/input/cl_keys.c:762:2: Return value (type int) ignored: FS_Printf(&f, "/... src/client/input/cl_keys.c:763:2: Return value (type int) ignored: FS_Printf(&f, "/... src/client/input/cl_keys.c:764:2: Return value (type int) ignored: FS_Printf(&f, "u... src/client/input/cl_keys.c:765:2: Return value (type int) ignored: FS_Printf(&f, "u... src/client/input/cl_keys.c:766:2: Return value (type int) ignored: FS_Printf(&f, "u... src/client/input/cl_keys.c:768:33: Operand of ! is non-boolean (qboolean): !delete src/client/input/cl_keys.c:769:7: Operands of && are non-booleans (char *, char): menuKeyBindings[i] && menuKeyBindings[i][0] src/client/input/cl_keys.c:774:33: Operand of ! is non-boolean (qboolean): !delete src/client/input/cl_keys.c:775:7: Operands of && are non-booleans (char *, char): keyBindings[i] && keyBindings[i][0] src/client/input/cl_keys.c:780:33: Operand of ! is non-boolean (qboolean): !delete src/client/input/cl_keys.c:781:7: Operands of && are non-booleans (char *, char): battleKeyBindings[i] && battleKeyBindings[i][0] src/client/input/cl_keys.c:799:3: Fresh storage path not released before scope exit src/client/input/cl_keys.c:795:4: Fresh storage path created src/client/input/cl_keys.c:799:3: Fresh storage binding not released before scope exit src/client/input/cl_keys.c:789:58: Fresh storage binding created src/client/input/cl_keys.c:802:7: Operand of ! is non-boolean (qboolean): !delete src/client/input/cl_keys.c:802:17: Right operand of && is non-boolean (int): !delete && cnt src/client/input/cl_keys.c:806:17: New fresh storage (type char *) passed as implicitly temp (not released): va("%s/%s", FS_Gamedir(), filename) src/client/input/cl_keys.c:807:2: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/input/cl_keys.c:807:2: Only storage f.f (type FILE *) derived from variable declared in this scope is not released (memory leak) src/client/input/cl_keys.c: (in function Key_WriteBindings_f) src/client/input/cl_keys.c:821:19: Passed storage filename not completely defined (*filename is undefined): Q_strncpyzDebug (filename, ...) src/client/input/cl_keys.c:821:30: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/input/cl_keys.c: (in function Key_Bindlist_f) src/client/input/cl_keys.c:835:7: Operands of && are non-booleans (char *, char): keyBindings[i] && keyBindings[i][0] src/client/input/cl_keys.c:839:7: Operands of && are non-booleans (char *, char): menuKeyBindings[i] && menuKeyBindings[i][0] src/client/input/cl_keys.c:843:7: Operands of && are non-booleans (char *, char): battleKeyBindings[i] && battleKeyBindings[i][0] src/client/input/cl_keys.c: (in function Key_CompleteKeyName) src/client/input/cl_keys.c:856:7: Operand of ! is non-boolean (size_t): !len src/client/input/cl_keys.c:865:8: Operand of ! is non-boolean (int): !strncmp(partial, kn->name, len) src/client/input/cl_keys.c:867:4: Only storage kn->name assigned to unqualified: localMatch[matches++] = kn->name src/client/input/cl_keys.c:873:58: Passed storage localMatch not completely defined (*localMatch is undefined): Cmd_GenericCompleteFunction (..., localMatch) src/client/input/cl_keys.c: (in function Key_Init) src/client/input/cl_keys.c:882:3: Assignment of int to char: keyLines[i][1] = 0 src/client/input/cl_keys.c: (in function Key_Event) src/client/input/cl_keys.c:935:7: Left operand of && is non-boolean (qboolean): down && cls.playingCinematic == CIN_STATUS_FULLSCREEN src/client/input/cl_keys.c:938:33: Right operand of && is non-boolean (qboolean): cls.keyDest == key_game && down src/client/input/cl_keys.c:939:7: Test expression for if not boolean, type qboolean: MN_KeyPressed(key, unicode) src/client/input/cl_keys.c:945:8: Operand of ! is non-boolean (qboolean): !down src/client/input/cl_keys.c:950:16: Function Key_Message expects arg 1 to be int gets unsigned short int: unicode src/client/input/cl_keys.c:963:7: Operand of ! is non-boolean (qboolean): !down src/client/input/cl_keys.c:973:8: Left operand of && is non-boolean (char *): kb && kb[0] == '+' src/client/input/cl_keys.c:979:17: Passed storage cmd not completely defined (*cmd is undefined): Com_sprintf (cmd, ...) src/client/input/cl_keys.c:979:5: Return value (type qboolean) ignored: Com_sprintf(cmd,... src/client/input/cl_keys.c:1004:14: Right operand of && is non-boolean (qboolean): !kb && CL_OnBattlescape() src/client/input/cl_keys.c:1011:17: Passed storage cmd not completely defined (*cmd is undefined): Com_sprintf (cmd, ...) src/client/input/cl_keys.c:1011:5: Return value (type qboolean) ignored: Com_sprintf(cmd,... src/client/input/cl_keys.c:1022:7: Operand of ! is non-boolean (qboolean): !down src/client/input/cl_keys.c:1027:15: Function Key_Message expects arg 1 to be int gets unsigned short int: unicode src/client/input/cl_keys.c:1031:15: Function Key_Console expects arg 1 to be int gets unsigned int: key src/client/input/cl_keys.c:1031:20: Function Key_Console expects arg 2 to be int gets unsigned short int: unicode src/client/input/cl_keys.h:201:6: Function Key_Init defined more than once src/client/input/cl_keys.c:905:1: Previous definition of Key_Init src/client/cinematic/cl_cinematic.c: (in function CIN_RunCinematic) src/client/cinematic/cl_cinematic.c:64:49: Right operand of && is non-boolean (qboolean): cin.cinematicType == CINEMATIC_TYPE_ROQ && CIN_ROQ_RunCinematic() src/client/cinematic/cl_cinematic.c:66:54: Right operand of && is non-boolean (qboolean): cin.cinematicType == CINEMATIC_TYPE_OGM && CIN_OGM_RunCinematic() src/client/cinematic/cl_cinematic.c:70:6: Test expression for if not boolean, type qboolean: cin.replay src/client/cinematic/cl_cinematic.c:72:20: Passed storage name not completely defined (*name is undefined): Q_strncpyzDebug (name, ...) src/client/cinematic/cl_cinematic.c: (in function CIN_PlayCinematic) src/client/cinematic/cl_cinematic.c:87:31: Passed storage name not completely defined (*name is undefined): Com_StripExtension (..., name, ...) src/client/cinematic/cl_cinematic.c:102:25: New fresh storage (type char *) passed as implicitly temp (not released): va("%s.roq", name) src/client/cinematic/cl_cinematic.c:104:25: New fresh storage (type char *) passed as implicitly temp (not released): va("%s.ogm", name) src/client/cinematic/cl_cinematic.c:104:3: Return value (type int) ignored: CIN_OGM_PlayCine... src/client/cinematic/cl_cinematic.c: (in function CIN_Cinematic_f) src/client/cinematic/cl_cinematic.c:140:20: New fresh storage (type char *) passed as implicitly temp (not released): va("videos/%s", Cmd_Argv(1)) src/client/cinematic/cl_cinematic.c: (in function CIN_CompleteCommand) src/client/cinematic/cl_cinematic.c:163:7: Operand of ! is non-boolean (size_t): !len src/client/cinematic/cl_cinematic.c:164:3: Return value (type int) ignored: FS_BuildFileList... src/client/cinematic/cl_cinematic.c:168:27: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/cinematic/cl_cinematic.c:168:3: Return value (type char *) ignored: FS_NextFileFromF... src/client/cinematic/cl_cinematic.c:170:3: Return value (type int) ignored: FS_BuildFileList... src/client/cinematic/cl_cinematic.c:179:8: Operand of ! is non-boolean (int): !strncmp(partial, filename, len) src/client/cinematic/cl_cinematic.c:184:3: Variable filename is dependent in true branch, but independent in continuation. src/client/cinematic/cl_cinematic.c:184:3: in true branch: src/client/cinematic/cl_cinematic.c:181:4: Storage filename becomes dependent src/client/cinematic/cl_cinematic.c:184:3: in continuation: src/client/cinematic/cl_cinematic.c:178:10: Fresh storage filename created src/client/cinematic/cl_cinematic.c:186:26: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/cinematic/cl_cinematic.c:186:2: Return value (type char *) ignored: FS_NextFileFromF... src/client/cinematic/cl_cinematic.c:188:2: Return value (type int) ignored: FS_BuildFileList... src/client/cinematic/cl_cinematic.c:190:8: Operand of ! is non-boolean (int): !strncmp(partial, filename, len) src/client/cinematic/cl_cinematic.c:197:26: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/cinematic/cl_cinematic.c:197:2: Return value (type char *) ignored: FS_NextFileFromF... src/client/cinematic/cl_cinematic.c:199:58: Passed storage localMatch not completely defined (*localMatch is undefined): Cmd_GenericCompleteFunction (..., localMatch) src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_ClampByte) src/client/cinematic/cl_cinematic_roq.c:116:9: Return value type int does not match declared type byte: value src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_ApplyMotion4x4) src/client/cinematic/cl_cinematic_roq.c:189:26: Left operand of >> may be negative (int): mv >> 4 src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_ApplyMotion8x8) src/client/cinematic/cl_cinematic_roq.c:208:26: Left operand of >> may be negative (int): mv >> 4 src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeInfo) src/client/cinematic/cl_cinematic_roq.c:230:6: Operands of && are non-boolean (byte *): roqCin.frameBuffer[0] && roqCin.frameBuffer[1] src/client/cinematic/cl_cinematic_roq.c:234:2: Assignment of byte to int: roqCin.frameWidth = data[0] | (data[1] << 8) src/client/cinematic/cl_cinematic_roq.c:235:2: Assignment of byte to int: roqCin.frameHeight = data[2] | (data[3] << 8) src/client/cinematic/cl_cinematic_roq.c:237:34: Function LittleShort expects arg 1 to be uint16_t gets int: roqCin.frameWidth src/client/cinematic/cl_cinematic_roq.c:238:35: Function LittleShort expects arg 1 to be uint16_t gets int: roqCin.frameHeight src/client/cinematic/cl_cinematic_roq.c:240:7: Operand of ! is non-boolean (qboolean): !Q_IsPowerOfTwo(roqCin.frameWidth) src/client/cinematic/cl_cinematic_roq.c:240:45: Operand of ! is non-boolean (qboolean): !Q_IsPowerOfTwo(roqCin.frameHeight) src/client/cinematic/cl_cinematic_roq.c:243:45: Function _Mem_Alloc expects arg 1 to be size_t gets int: (roqCin.frameWidth * roqCin.frameHeight * 4) src/client/cinematic/cl_cinematic_roq.c:244:45: Function _Mem_Alloc expects arg 1 to be size_t gets int: (roqCin.frameWidth * roqCin.frameHeight * 4) src/client/cinematic/cl_cinematic_roq.c:245:2: Function returns with null storage derivable from global roqCin.frameBuffer[] src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeCodeBook) src/client/cinematic/cl_cinematic_roq.c:255:6: Test expression for if not boolean, type unsigned short int: roqCin.chunk.flags src/client/cinematic/cl_cinematic_roq.c:259:8: Operand of ! is non-boolean (int): !numQuadVectors src/client/cinematic/cl_cinematic_roq.c:272:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[0] + r src/client/cinematic/cl_cinematic_roq.c:273:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[0] - g src/client/cinematic/cl_cinematic_roq.c:274:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[0] + b src/client/cinematic/cl_cinematic_roq.c:277:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[1] + r src/client/cinematic/cl_cinematic_roq.c:278:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[1] - g src/client/cinematic/cl_cinematic_roq.c:279:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[1] + b src/client/cinematic/cl_cinematic_roq.c:282:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[2] + r src/client/cinematic/cl_cinematic_roq.c:283:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[2] - g src/client/cinematic/cl_cinematic_roq.c:284:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[2] + b src/client/cinematic/cl_cinematic_roq.c:287:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[3] + r src/client/cinematic/cl_cinematic_roq.c:288:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[3] - g src/client/cinematic/cl_cinematic_roq.c:289:68: Function CIN_ROQ_ClampByte expects arg 1 to be int gets arbitrary unsigned integral type: data[3] + b src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeVideo) src/client/cinematic/cl_cinematic_roq.c:327:2: Assignment of char to int: xMot = (char)((roqCin.chunk.flags >> 8) & 0xFF) src/client/cinematic/cl_cinematic_roq.c:328:2: Assignment of char to int: yMot = (char)((roqCin.chunk.flags >> 0) & 0xFF) src/client/cinematic/cl_cinematic_roq.c:332:9: Test expression for while not boolean, type int: 1 src/client/cinematic/cl_cinematic_roq.c:335:10: Operand of ! is non-boolean (int): !vqFlagPos src/client/cinematic/cl_cinematic_roq.c:337:6: Assignment of byte to int: vqFlag = data[index + 0] | (data[index + 1] << 8) src/client/cinematic/cl_cinematic_roq.c:338:27: Function LittleShort expects arg 1 to be uint16_t gets int: vqFlag src/client/cinematic/cl_cinematic_roq.c:344:5: Left operand of <<= may be negative (int): vqFlag <<= 2 src/client/cinematic/cl_cinematic_roq.c:348:47: Function CIN_ROQ_ApplyMotion8x8 expects arg 5 to be int gets byte: data[index] src/client/cinematic/cl_cinematic_roq.c:360:12: Operand of ! is non-boolean (int): !vqFlagPos src/client/cinematic/cl_cinematic_roq.c:362:8: Assignment of byte to int: vqFlag = data[index + 0] | (data[index + 1] << 8) src/client/cinematic/cl_cinematic_roq.c:363:29: Function LittleShort expects arg 1 to be uint16_t gets int: vqFlag src/client/cinematic/cl_cinematic_roq.c:370:7: Left operand of <<= may be negative (int): vqFlag <<= 2 src/client/cinematic/cl_cinematic_roq.c:374:51: Function CIN_ROQ_ApplyMotion4x4 expects arg 5 to be int gets byte: data[index] src/client/cinematic/cl_cinematic_roq.c:403:7: Operand of ! is non-boolean (int): !roqCin.currentFrame src/client/cinematic/cl_cinematic_roq.c:404:56: Function memcpy expects arg 3 to be size_t gets int: roqCin.frameWidth * roqCin.frameHeight * 4 src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeSoundMono) src/client/cinematic/cl_cinematic_roq.c:424:21: Operands of < have incompatible types (int, unsigned int): i < roqCin.chunk.size src/client/cinematic/cl_cinematic_roq.c:430:53: Passed storage samples not completely defined (*samples is undefined): M_AddToSampleBuffer (..., (const byte *)samples) src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeSoundStereo) src/client/cinematic/cl_cinematic_roq.c:441:16: Left operand of << may be negative (int): (roqCin.chunk.flags & 0xFF00) << 0 src/client/cinematic/cl_cinematic_roq.c:441:16: Variable prevL initialized to type int, expects short int: (roqCin.chunk.flags & 0xFF00) << 0 To ignore type qualifiers in type comparisons use +ignorequals. src/client/cinematic/cl_cinematic_roq.c:442:16: Left operand of << may be negative (int): (roqCin.chunk.flags & 0x00FF) << 8 src/client/cinematic/cl_cinematic_roq.c:442:16: Variable prevR initialized to type int, expects short int: (roqCin.chunk.flags & 0x00FF) << 8 src/client/cinematic/cl_cinematic_roq.c:444:14: Operands of < have incompatible types (int, unsigned int): i < roqCin.chunk.size src/client/cinematic/cl_cinematic_roq.c:452:57: Passed storage samples not completely defined (*samples is undefined): M_AddToSampleBuffer (..., (const byte *)samples) src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_DecodeChunk) src/client/cinematic/cl_cinematic_roq.c:473:33: Function LittleShort expects arg 1 to be uint16_t gets short int: *(short int *)&roqCin.header[0] src/client/cinematic/cl_cinematic_roq.c:473:3: Assignment of short int to unsigned short int: roqCin.chunk.id = LittleShort(*(short int *)&roqCin.header[0]) src/client/cinematic/cl_cinematic_roq.c:474:34: Function LittleLong expects arg 1 to be uint32_t gets int: *(int *)&roqCin.header[2] src/client/cinematic/cl_cinematic_roq.c:474:3: Assignment of int to unsigned int: roqCin.chunk.size = LittleLong(*(int *)&roqCin.header[2]) src/client/cinematic/cl_cinematic_roq.c:475:36: Function LittleShort expects arg 1 to be uint16_t gets short int: *(short int *)&roqCin.header[6] src/client/cinematic/cl_cinematic_roq.c:475:3: Assignment of short int to unsigned short int: roqCin.chunk.flags = LittleShort(*(short int *)&roqCin.header[6]) src/client/cinematic/cl_cinematic_roq.c:484:30: Function FS_ReadDebug expects arg 2 to be int gets unsigned int: roqCin.chunk.size + 8 src/client/cinematic/cl_cinematic_roq.c:484:3: Return value (type int) ignored: FS_ReadDebug(roq... src/client/cinematic/cl_cinematic_roq.c:487:3: Implicitly only storage roqCin.header (type byte *) not released before assignment: roqCin.header = roqCin.data + roqCin.chunk.size src/client/cinematic/cl_cinematic_roq.c:487:3: Unqualified storage roqCin.data + roqCin.chunk.size assigned to implicitly only: roqCin.header = roqCin.data + roqCin.chunk.size src/client/cinematic/cl_cinematic_roq.c:501:9: Operand of ! is non-boolean (qboolean): !cin.noSound src/client/cinematic/cl_cinematic_roq.c:503:8: Fall through case (no preceding break) src/client/cinematic/cl_cinematic_roq.c:504:9: Operand of ! is non-boolean (qboolean): !cin.noSound src/client/cinematic/cl_cinematic_roq.c:512:43: Right operand of && is non-boolean (int): frame == roqCin.currentFrame && cls.playingCinematic src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_RunCinematic) src/client/cinematic/cl_cinematic_roq.c:538:6: Test expression for if not boolean, type qboolean: runState src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_StopCinematic) src/client/cinematic/cl_cinematic_roq.c:545:6: Operands of || are non-booleans (FILE *, void *): roqCin.file.f || roqCin.file.z src/client/cinematic/cl_cinematic_roq.c:551:3: Return value (type uint32_t) ignored: _Mem_Free((roqCi... src/client/cinematic/cl_cinematic_roq.c:552:3: Return value (type uint32_t) ignored: _Mem_Free((roqCi... src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_PlayCinematic) src/client/cinematic/cl_cinematic_roq.c:576:30: Function FS_ReadDebug expects arg 2 to be int gets size_t: sizeof((header)) src/client/cinematic/cl_cinematic_roq.c:576:15: Passed storage header not completely defined (*header is undefined): FS_ReadDebug (header, ...) src/client/cinematic/cl_cinematic_roq.c:576:2: Return value (type int) ignored: FS_ReadDebug(hea... src/client/cinematic/cl_cinematic_roq.c:579:25: Function LittleShort expects arg 1 to be uint16_t gets short int: *(short int *)&header[0] src/client/cinematic/cl_cinematic_roq.c:579:2: Assignment of short int to unsigned short int: chunk.id = LittleShort(*(short int *)&header[0]) src/client/cinematic/cl_cinematic_roq.c:580:26: Function LittleLong expects arg 1 to be uint32_t gets int: *(int *)&header[2] src/client/cinematic/cl_cinematic_roq.c:580:2: Assignment of int to unsigned int: chunk.size = LittleLong(*(int *)&header[2]) src/client/cinematic/cl_cinematic_roq.c:581:28: Function LittleShort expects arg 1 to be uint16_t gets short int: *(short int *)&header[6] src/client/cinematic/cl_cinematic_roq.c:581:2: Assignment of short int to unsigned short int: chunk.flags = LittleShort(*(short int *)&header[6]) src/client/cinematic/cl_cinematic_roq.c:599:2: Assignment of size_t to int: roqCin.offset = sizeof((header)) src/client/cinematic/cl_cinematic_roq.c:604:2: Assignment of unsigned short int to int: roqCin.frameRate = (chunk.flags != 0) ? chunk.flags : 30 src/client/cinematic/cl_cinematic_roq.c:606:3: Return value (type uint32_t) ignored: _Mem_Free((roqCi... src/client/cinematic/cl_cinematic_roq.c:610:3: Return value (type uint32_t) ignored: _Mem_Free((roqCi... src/client/cinematic/cl_cinematic_roq.c:617:2: Return value (type int) ignored: FS_ReadDebug(roq... src/client/cinematic/cl_cinematic_roq.c:620:2: Implicitly only storage roqCin.header (type byte *) not released before assignment: roqCin.header = roqCin.data src/client/cinematic/cl_cinematic_roq.c:620:2: Unqualified storage roqCin.data assigned to implicitly only: roqCin.header = roqCin.data src/client/cinematic/cl_cinematic_roq.c:621:2: Function returns with null storage derivable from global roqCin.frameBuffer[] src/client/cinematic/cl_cinematic_roq.c:621:2: Storage roqCin.data reachable from global is kept (should be unqualified) src/client/cinematic/cl_cinematic_roq.c:620:2: Storage roqCin.data becomes kept src/client/cinematic/cl_cinematic_roq.c: (in function CIN_ROQ_Init) src/client/cinematic/cl_cinematic_roq.c:639:36: Left operand of >> may be negative (int): i >> 1 src/client/cinematic/cl_cinematic_roq.c:641:36: Left operand of >> may be negative (int): i >> 1 src/client/cinematic/cl_cinematic_roq.c:647:3: Assignment of long int to int: roqCin_yuvTable.vr[i] = (long int)(f * 1.40200f) src/client/cinematic/cl_cinematic_roq.c:648:3: Assignment of long int to int: roqCin_yuvTable.ug[i] = (long int)(f * 0.34414f) src/client/cinematic/cl_cinematic_roq.c:649:3: Assignment of long int to int: roqCin_yuvTable.vg[i] = (long int)(f * 0.71414f) src/client/cinematic/cl_cinematic_roq.c:650:3: Assignment of long int to int: roqCin_yuvTable.ub[i] = (long int)(f * 1.77200f) src/client/cinematic/cl_cinematic_ogm.c:37:3: Datatype yuvTable_t defined more than once src/client/cinematic/cl_cinematic_roq.c:38:3: Previous definition of yuvTable_t src/client/cinematic/cl_cinematic_ogm.c:37:3: Structure yuvTable_t redeclared with fields { long int [256] vr; long int [256] ug; long int [256] vg;, ... }, previously declared with fields { int [256] vr; int [256] ug; int [256] vg;, ... } A struct, union or enum type is redefined with inconsistent fields or members. (Use -matchfields to inhibit warning) src/client/cinematic/cl_cinematic_roq.c:38:3: Previous declaration of yuvTable_t src/client/cinematic/cl_cinematic_ogm.c:32:7: Field vr redeclared as int [256], previously declared as long int [256] src/client/cinematic/cl_cinematic_roq.c:34:6: Previous declaration of vr src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_XVID_Init) src/client/cinematic/cl_cinematic_ogm.c:101:28: Left operand of << may be negative (int): ((1) & 0xff) << 16 src/client/cinematic/cl_cinematic_ogm.c:101:47: Left operand of << may be negative (int): ((1) & 0xff) << 8 src/client/cinematic/cl_cinematic_ogm.c:106:14: Null storage passed as non-null param: xvid_global (NULL, ...) src/client/cinematic/cl_cinematic_ogm.c:106:39: Null storage passed as non-null param: xvid_global (..., NULL) src/client/cinematic/cl_cinematic_ogm.c:106:2: Return value (type int) ignored: xvid_global(NULL... src/client/cinematic/cl_cinematic_ogm.c:109:30: Left operand of << may be negative (int): ((1) & 0xff) << 16 src/client/cinematic/cl_cinematic_ogm.c:109:49: Left operand of << may be negative (int): ((1) & 0xff) << 8 src/client/cinematic/cl_cinematic_ogm.c:115:20: Null storage passed as non-null param: xvid_decore (NULL, ...) src/client/cinematic/cl_cinematic_ogm.c:115:47: Null storage passed as non-null param: xvid_decore (..., NULL) src/client/cinematic/cl_cinematic_ogm.c:117:2: Implicitly only storage ogmCin.xvidDecodeHandle (type void *) not released before assignment: ogmCin.xvidDecodeHandle = xvid_dec_create.handle src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_XVID_Decode) src/client/cinematic/cl_cinematic_ogm.c:133:29: Left operand of << may be negative (int): ((1) & 0xff) << 16 src/client/cinematic/cl_cinematic_ogm.c:133:48: Left operand of << may be negative (int): ((1) & 0xff) << 8 src/client/cinematic/cl_cinematic_ogm.c:134:37: Left operand of << may be negative (int): ((1) & 0xff) << 16 src/client/cinematic/cl_cinematic_ogm.c:134:56: Left operand of << may be negative (int): ((1) & 0xff) << 8 src/client/cinematic/cl_cinematic_ogm.c:140:2: Implicitly only storage xvid_dec_frame.bitstream (type void *) not released before assignment: xvid_dec_frame.bitstream = input src/client/cinematic/cl_cinematic_ogm.c:144:2: Only storage ogmCin.outputBuffer assigned to unqualified: xvid_dec_frame.output.plane[0] = ogmCin.outputBuffer src/client/cinematic/cl_cinematic_ogm.c:153:13: Only storage xvid_dec_frame.bitstream (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:153:13: Function returns with possibly null storage derivable from global ogmCin.outputBuffer src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_XVID_Shutdown) src/client/cinematic/cl_cinematic_ogm.c:161:49: Null storage passed as non-null param: xvid_decore (..., NULL, ...) src/client/cinematic/cl_cinematic_ogm.c:161:55: Null storage passed as non-null param: xvid_decore (..., NULL) src/client/cinematic/cl_cinematic_ogm.c:163:13: Function returns with possibly null storage derivable from global ogmCin.xvidDecodeHandle src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_LoadBlockToSync) src/client/cinematic/cl_cinematic_ogm.c:174:6: Operands of || are non-booleans (FILE *, void *): ogmCin.ogmFile.f || ogmCin.ogmFile.z src/client/cinematic/cl_cinematic_ogm.c:177:3: Return value (type int) ignored: ogg_sync_wrote(&... src/client/cinematic/cl_cinematic_ogm.c:179:3: Assignment of boolean to int: r = (bytes == 0) src/client/cinematic/cl_cinematic_ogm.c:180:3: Fresh storage buffer not released before scope exit src/client/cinematic/cl_cinematic_ogm.c:175:42: Fresh storage buffer created src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_LoadPagesToStream) src/client/cinematic/cl_cinematic_ogm.c:196:10: Operand of ! is non-boolean (int): !audioPages src/client/cinematic/cl_cinematic_ogm.c:196:25: Operand of ! is non-boolean (int): !videoPages src/client/cinematic/cl_cinematic_ogm.c:197:36: Passed storage og contains 4 undefined fields: header, header_len, body, body_len src/client/cinematic/cl_cinematic_ogm.c:210:4: Return value (type int) ignored: ogg_stream_pagei... src/client/cinematic/cl_cinematic_ogm.c:214:6: Operands of && are non-boolean (int): audioPages && videoPages src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_LoadAudioFrame) src/client/cinematic/cl_cinematic_ogm.c:233:2: Return value (type int) ignored: vorbis_block_ini... src/client/cinematic/cl_cinematic_ogm.c:237:59: Passed storage &pcm not completely defined: vorbis_synthesis_pcmout (..., &pcm) src/client/cinematic/cl_cinematic_ogm.c:243:30: Variable samplesNeeded initialized to type arbitrary unsigned integral type, expects int: sizeof((rawBuffer)) / (width * channel) src/client/cinematic/cl_cinematic_ogm.c:253:74: Incompatible types for * (int, boolean): 32767 * ((left[i] > 0.0f) - (left[i] < 0.0f)) src/client/cinematic/cl_cinematic_ogm.c:253:5: Assignment of float to short int: ptr[0] = (left[i] >= -1.0f && left[i] <= 1.0f) ? left[i] * 32767.f : 32767 * ((left[i] > 0.0f) - (left[i] < 0.0f)) src/client/cinematic/cl_cinematic_ogm.c:254:77: Incompatible types for * (int, boolean): 32767 * ((right[i] > 0.0f) - (right[i] < 0.0f)) src/client/cinematic/cl_cinematic_ogm.c:254:5: Assignment of float to short int: ptr[1] = (right[i] >= -1.0f && right[i] <= 1.0f) ? right[i] * 32767.f : 32767 * ((right[i] > 0.0f) - (right[i] < 0.0f)) src/client/cinematic/cl_cinematic_ogm.c:258:4: Return value (type int) ignored: vorbis_synthesis... src/client/cinematic/cl_cinematic_ogm.c:260:9: Operand of ! is non-boolean (qboolean): !cin.noSound src/client/cinematic/cl_cinematic_ogm.c:261:46: Function M_AddToSampleBuffer expects arg 2 to be int gets long int: ogmCin.vi.rate src/client/cinematic/cl_cinematic_ogm.c:264:8: Test expression for if not boolean, type int: ogg_stream_packetout(&ogmCin.os_audio, &op) src/client/cinematic/cl_cinematic_ogm.c:266:6: Return value (type int) ignored: vorbis_synthesis... src/client/cinematic/cl_cinematic_ogm.c:272:2: Return value (type int) ignored: vorbis_block_cle... src/client/cinematic/cl_cinematic_ogm.c:274:9: Return value type boolean does not match declared type qboolean: ogmCin.currentTime > (int)(ogmCin.vd.granulepos * 1000 / ogmCin.vi.rate) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.pcm (type float **) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.opb.buffer (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.opb.ptr (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.vd (type vorbis_dsp_state *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.localstore (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.reap (type struct alloc_chain *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:274:82: Only storage vb.internal (type void *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_XVID_LoadVideoFrame) src/client/cinematic/cl_cinematic_ogm.c:289:10: Operand of ! is non-boolean (int): !r src/client/cinematic/cl_cinematic_ogm.c:289:15: Right operand of && is non-boolean (int): !r && (ogg_stream_packetout(&ogmCin.os_video, &op)) src/client/cinematic/cl_cinematic_ogm.c:290:46: Function CIN_XVID_Decode expects arg 2 to be int gets long int: op.bytes src/client/cinematic/cl_cinematic_ogm.c:304:6: Return value (type uint32_t) ignored: _Mem_Free((ogmCi... src/client/cinematic/cl_cinematic_ogm.c:307:46: Function _Mem_Alloc expects arg 1 to be size_t gets int: (ogmCin.outputBufferSize * 4) src/client/cinematic/cl_cinematic_ogm.c:307:5: Implicitly only storage ogmCin.outputBuffer (type byte *) not released before assignment: ogmCin.outputBuffer = (byte *)_Mem_Alloc((ogmCin.outputBu fferSize * 4), qtrue, (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/sr c/client/cinematic/cl_cinematic_ogm.c", 307) src/client/cinematic/cl_cinematic_ogm.c:316:56: Function CIN_XVID_Decode expects arg 2 to be int gets long int: op.bytes - usedBytes src/client/cinematic/cl_cinematic_ogm.c:327:11: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_THEORA_FindSizeShift) src/client/cinematic/cl_cinematic_ogm.c:340:20: Right operand of >> may be negative (int): y >> i src/client/cinematic/cl_cinematic_ogm.c:340:15: Left operand of >> may be negative (int): y >> i src/client/cinematic/cl_cinematic_ogm.c:340:14: Test expression for for not boolean, type int: (y >> i) src/client/cinematic/cl_cinematic_ogm.c:341:18: Right operand of >> may be negative (int): y >> i src/client/cinematic/cl_cinematic_ogm.c:341:13: Left operand of >> may be negative (int): y >> i src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_THEORA_ClampByte) src/client/cinematic/cl_cinematic_ogm.c:359:9: Return value type int does not match declared type byte: value src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_THEORA_FrameYUVtoRGB24) src/client/cinematic/cl_cinematic_ogm.c:370:56: Right operand of >> may be negative (int): i >> yWShift src/client/cinematic/cl_cinematic_ogm.c:370:51: Left operand of >> may be negative (int): i >> yWShift src/client/cinematic/cl_cinematic_ogm.c:370:73: Right operand of >> may be negative (int): j >> yHShift src/client/cinematic/cl_cinematic_ogm.c:370:68: Left operand of >> may be negative (int): j >> yHShift src/client/cinematic/cl_cinematic_ogm.c:370:28: Array fetch using non-integer, unsigned char: ogmCin_yuvTable.yy[(y[(i >> yWShift) + (j >> yHShift) * y_stride])] To allow char types to index arrays, use +charindex. (Use +charindex to inhibit warning) src/client/cinematic/cl_cinematic_ogm.c:371:26: Right operand of >> may be negative (int): i >> uvWShift src/client/cinematic/cl_cinematic_ogm.c:371:21: Left operand of >> may be negative (int): i >> uvWShift src/client/cinematic/cl_cinematic_ogm.c:371:44: Right operand of >> may be negative (int): j >> uvHShift src/client/cinematic/cl_cinematic_ogm.c:371:39: Left operand of >> may be negative (int): j >> uvHShift src/client/cinematic/cl_cinematic_ogm.c:373:46: Array fetch using non-integer, unsigned char: ogmCin_yuvTable.vr[v[uvI]] src/client/cinematic/cl_cinematic_ogm.c:373:40: Left operand of >> may be negative (long int): (YY + ogmCin_yuvTable.vr[v[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:373:40: Function CIN_THEORA_ClampByte expects arg 1 to be int gets long int: (YY + ogmCin_yuvTable.vr[v[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:374:46: Array fetch using non-integer, unsigned char: ogmCin_yuvTable.ug[u[uvI]] src/client/cinematic/cl_cinematic_ogm.c:374:75: Array fetch using non-integer, unsigned char: ogmCin_yuvTable.vg[v[uvI]] src/client/cinematic/cl_cinematic_ogm.c:374:40: Left operand of >> may be negative (long int): (YY + ogmCin_yuvTable.ug[u[uvI]] + ogmCin_yuvTable.vg[v[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:374:40: Function CIN_THEORA_ClampByte expects arg 1 to be int gets long int: (YY + ogmCin_yuvTable.ug[u[uvI]] + ogmCin_yuvTable.vg[v[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:375:46: Array fetch using non-integer, unsigned char: ogmCin_yuvTable.ub[u[uvI]] src/client/cinematic/cl_cinematic_ogm.c:375:40: Left operand of >> may be negative (long int): (YY + ogmCin_yuvTable.ub[u[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:375:40: Function CIN_THEORA_ClampByte expects arg 1 to be int gets long int: (YY + ogmCin_yuvTable.ub[u[uvI]]) >> 6 src/client/cinematic/cl_cinematic_ogm.c:377:27: Variable rgb24 initialized to type int, expects uint32_t: LittleLong(r | (g << 8) | (b << 16) | (255 << 24)) src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_THEORA_LoadVideoFrame) src/client/cinematic/cl_cinematic_ogm.c:399:10: Operand of ! is non-boolean (int): !r src/client/cinematic/cl_cinematic_ogm.c:399:15: Right operand of && is non-boolean (int): !r && (ogg_stream_packetout(&ogmCin.os_video, &op)) src/client/cinematic/cl_cinematic_ogm.c:401:3: Return value (type int) ignored: theora_decode_pa... src/client/cinematic/cl_cinematic_ogm.c:405:8: Operands of < have incompatible types (int, ogg_int64_t): ogmCin.videoFrameCount < th_frame src/client/cinematic/cl_cinematic_ogm.c:405:45: Operands of >= have incompatible types (ogg_int64_t, int): th_frame >= CIN_THEORA_NextNeededFrame() src/client/cinematic/cl_cinematic_ogm.c:409:8: Test expression for if not boolean, type int: theora_decode_YUVout(&ogmCin.th_state, &ogmCin.th_yuvbuffer) src/client/cinematic/cl_cinematic_ogm.c:412:8: Operands of != have incompatible types (int, ogg_uint32_t): ogmCin.outputWidth != ogmCin.th_info.width src/client/cinematic/cl_cinematic_ogm.c:412:54: Operands of != have incompatible types (int, ogg_uint32_t): ogmCin.outputHeight != ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:413:5: Assignment of ogg_uint32_t to int: ogmCin.outputWidth = ogmCin.th_info.width src/client/cinematic/cl_cinematic_ogm.c:414:5: Assignment of ogg_uint32_t to int: ogmCin.outputHeight = ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:418:8: Operands of < have incompatible types (int, unsigned int): ogmCin.outputBufferSize < ogmCin.th_info.width * ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:419:5: Assignment of unsigned int to int: ogmCin.outputBufferSize = ogmCin.th_info.width * ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:423:6: Return value (type uint32_t) ignored: _Mem_Free((ogmCi... src/client/cinematic/cl_cinematic_ogm.c:426:46: Function _Mem_Alloc expects arg 1 to be size_t gets int: (ogmCin.outputBufferSize * 4) src/client/cinematic/cl_cinematic_ogm.c:434:68: Function CIN_THEORA_FindSizeShift expects arg 2 to be int gets ogg_uint32_t: ogmCin.th_info.width src/client/cinematic/cl_cinematic_ogm.c:435:70: Function CIN_THEORA_FindSizeShift expects arg 2 to be int gets ogg_uint32_t: ogmCin.th_info.width src/client/cinematic/cl_cinematic_ogm.c:436:69: Function CIN_THEORA_FindSizeShift expects arg 2 to be int gets ogg_uint32_t: ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:437:71: Function CIN_THEORA_FindSizeShift expects arg 2 to be int gets ogg_uint32_t: ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:444:7: Function CIN_THEORA_FrameYUVtoRGB24 expects arg 4 to be int gets ogg_uint32_t: ogmCin.th_info.width src/client/cinematic/cl_cinematic_ogm.c:444:29: Function CIN_THEORA_FrameYUVtoRGB24 expects arg 5 to be int gets ogg_uint32_t: ogmCin.th_info.height src/client/cinematic/cl_cinematic_ogm.c:449:5: Assignment of ogg_int64_t to int: ogmCin.videoFrameCount = th_frame src/client/cinematic/cl_cinematic_ogm.c:454:11: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_LoadVideoFrame) src/client/cinematic/cl_cinematic_ogm.c:465:6: Test expression for if not boolean, type qboolean: ogmCin.videoStreamIsXvid src/client/cinematic/cl_cinematic_ogm.c:469:6: Test expression for if not boolean, type qboolean: ogmCin.videoStreamIsTheora src/client/cinematic/cl_cinematic_ogm.c:474:6: Test expression for if not boolean, type long int: ogmCin.os_video.serialno src/client/cinematic/cl_cinematic_ogm.c:477:49: Passed storage op contains 6 undefined fields: packet, bytes, b_o_s, e_o_s, ... src/client/cinematic/cl_cinematic_ogm.c:477:10: Test expression for while not boolean, type int: ogg_stream_packetout(&ogmCin.os_video, &op) src/client/cinematic/cl_cinematic_ogm.c:479:3: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_LoadFrame) src/client/cinematic/cl_cinematic_ogm.c:494:32: Operands of || are non-boolean (qboolean): needVOutputData || audioWantsMoreData src/client/cinematic/cl_cinematic_ogm.c:494:9: Left operand of && is non-boolean (qboolean): anyDataTransferred && (needVOutputData || audioWantsMoreData) src/client/cinematic/cl_cinematic_ogm.c:496:7: Operands of && are non-booleans (qboolean, int): needVOutputData && (status = CIN_OGM_LoadVideoFrame()) src/client/cinematic/cl_cinematic_ogm.c:505:7: Operands of || are non-boolean (qboolean): needVOutputData || audioWantsMoreData src/client/cinematic/cl_cinematic_ogm.c:507:8: Test expression for if not boolean, type int: CIN_OGM_LoadPagesToStream() src/client/cinematic/cl_cinematic_ogm.c:509:28: Operand of ! is non-boolean (int): !CIN_OGM_LoadBlockToSync() src/client/cinematic/cl_cinematic_ogm.c:521:10: Operand of ! is non-boolean (qboolean): !anyDataTransferred src/client/cinematic/cl_cinematic_ogm.c:521:9: Return value type boolean does not match declared type qboolean: !anyDataTransferred src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_PlayCinematic) src/client/cinematic/cl_cinematic_ogm.c:569:6: Operands of || are non-booleans (FILE *, void *): ogmCin.ogmFile.f || ogmCin.ogmFile.z src/client/cinematic/cl_cinematic_ogm.c:584:2: Return value (type int) ignored: ogg_sync_init(&o... src/client/cinematic/cl_cinematic_ogm.c:588:10: Operand of ! is non-boolean (long int): !ogmCin.os_audio.serialno src/client/cinematic/cl_cinematic_ogm.c:588:39: Operand of ! is non-boolean (long int): !ogmCin.os_video.serialno src/client/cinematic/cl_cinematic_ogm.c:589:36: Passed storage og contains 4 undefined fields: header, header_len, body, body_len src/client/cinematic/cl_cinematic_ogm.c:591:9: Test expression for if not boolean, type long int: ogmCin.os_audio.serialno src/client/cinematic/cl_cinematic_ogm.c:595:6: Return value (type int) ignored: ogg_stream_init(... src/client/cinematic/cl_cinematic_ogm.c:596:6: Return value (type int) ignored: ogg_stream_pagei... src/client/cinematic/cl_cinematic_ogm.c:601:9: Test expression for if not boolean, type long int: ogmCin.os_video.serialno src/client/cinematic/cl_cinematic_ogm.c:606:6: Return value (type int) ignored: ogg_stream_init(... src/client/cinematic/cl_cinematic_ogm.c:607:6: Return value (type int) ignored: ogg_stream_pagei... src/client/cinematic/cl_cinematic_ogm.c:613:9: Test expression for if not boolean, type long int: ogmCin.os_video.serialno src/client/cinematic/cl_cinematic_ogm.c:625:6: Return value (type int) ignored: ogg_stream_init(... src/client/cinematic/cl_cinematic_ogm.c:626:6: Return value (type int) ignored: ogg_stream_pagei... src/client/cinematic/cl_cinematic_ogm.c:630:14: Test expression for if not boolean, type int: CIN_OGM_LoadBlockToSync() src/client/cinematic/cl_cinematic_ogm.c:634:6: Operands of && are non-boolean (qboolean): ogmCin.videoStreamIsXvid && ogmCin.videoStreamIsTheora src/client/cinematic/cl_cinematic_ogm.c:639:7: Operand of ! is non-boolean (long int): !ogmCin.os_audio.serialno src/client/cinematic/cl_cinematic_ogm.c:643:7: Operand of ! is non-boolean (long int): !ogmCin.os_video.serialno src/client/cinematic/cl_cinematic_ogm.c:653:51: Passed storage op contains 6 undefined fields: packet, bytes, b_o_s, e_o_s, ... src/client/cinematic/cl_cinematic_ogm.c:656:14: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:662:15: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:665:14: Test expression for if not boolean, type int: CIN_OGM_LoadPagesToStream() src/client/cinematic/cl_cinematic_ogm.c:666:8: Test expression for if not boolean, type int: CIN_OGM_LoadBlockToSync() src/client/cinematic/cl_cinematic_ogm.c:668:16: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:673:2: Return value (type int) ignored: vorbis_synthesis... src/client/cinematic/cl_cinematic_ogm.c:677:6: Test expression for if not boolean, type int: status src/client/cinematic/cl_cinematic_ogm.c:684:6: Test expression for if not boolean, type qboolean: ogmCin.videoStreamIsTheora src/client/cinematic/cl_cinematic_ogm.c:690:52: Passed storage op contains 6 undefined fields: packet, bytes, b_o_s, e_o_s, ... src/client/cinematic/cl_cinematic_ogm.c:694:15: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:701:16: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:704:15: Test expression for if not boolean, type int: CIN_OGM_LoadPagesToStream() src/client/cinematic/cl_cinematic_ogm.c:705:9: Test expression for if not boolean, type int: CIN_OGM_LoadBlockToSync() src/client/cinematic/cl_cinematic_ogm.c:708:17: Only storage op.packet (type unsigned char *) derived from variable declared in this scope is not released (memory leak) src/client/cinematic/cl_cinematic_ogm.c:713:3: Return value (type int) ignored: theora_decode_in... src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_RunCinematic) src/client/cinematic/cl_cinematic_ogm.c:748:10: Operand of ! is non-boolean (int): !ogmCin.videoFrameCount src/client/cinematic/cl_cinematic_ogm.c:749:7: Test expression for if not boolean, type qboolean: CIN_OGM_LoadFrame() src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_StopCinematic) src/client/cinematic/cl_cinematic_ogm.c:761:2: Return value (type int) ignored: CIN_XVID_Shutdown() src/client/cinematic/cl_cinematic_ogm.c:773:3: Return value (type uint32_t) ignored: _Mem_Free((ogmCi... src/client/cinematic/cl_cinematic_ogm.c:774:2: Implicitly only storage ogmCin.outputBuffer (type byte *) not released before assignment: ogmCin.outputBuffer = NULL src/client/cinematic/cl_cinematic_ogm.c:780:2: Return value (type int) ignored: ogg_stream_clear... src/client/cinematic/cl_cinematic_ogm.c:781:2: Return value (type int) ignored: ogg_stream_clear... src/client/cinematic/cl_cinematic_ogm.c:783:2: Return value (type int) ignored: ogg_sync_clear(&... src/client/cinematic/cl_cinematic_ogm.c:786:2: Function returns with null storage derivable from global ogmCin.outputBuffer src/client/cinematic/cl_cinematic_ogm.c:774:24: Storage ogmCin.outputBuffer becomes null src/client/cinematic/cl_cinematic_ogm.c: (in function CIN_OGM_Init) src/client/cinematic/cl_cinematic_ogm.c:803:35: Left operand of << may be negative (long int): i << 6 src/client/cinematic/cl_cinematic_ogm.c:803:46: Left operand of >> may be negative (long int): i >> 2 src/common/routing.h:137:105: Function parameter pos declared as manifest array (size constant is meaningless) src/common/routing.h:138:27: Function parameter map_min declared as manifest array (size constant is meaningless) src/common/routing.h:138:43: Function parameter map_max declared as manifest array (size constant is meaningless) src/common/routing.h:149:85: Function parameter mins declared as manifest array (size constant is meaningless) src/common/routing.h:149:105: Function parameter maxs declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function MSG_Write_PA) src/client/battlescape/cl_actor.c:81:2: Fresh storage msg not released before return src/client/battlescape/cl_actor.c:74:38: Fresh storage msg created src/client/battlescape/cl_actor.c: (in function CL_ActorGetSkillString) src/client/battlescape/cl_actor.c:126:10: Observer storage returned without qualification: "" src/client/battlescape/cl_actor.c:126:10: Storage becomes observer src/client/battlescape/cl_actor.c: (in function CL_ActorSetFireDef) src/client/battlescape/cl_actor.c:134:2: Implicitly only storage actor->fd (type fireDef_t *) not released before assignment: actor->fd = fd src/client/battlescape/cl_actor.c:134:2: Implicitly temp storage fd assigned to implicitly only: actor->fd = fd src/client/battlescape/cl_actor.c: (in function CL_ActorMoveMode) src/client/battlescape/cl_actor.c:144:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_actor.c:145:6: Test expression for if not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_actor.c:146:7: Test expression for if not boolean, type int: cl_autostand->integer src/client/battlescape/cl_actor.c: (in function CL_ActorCvars) src/client/battlescape/cl_actor.c:173:9: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_actor.c:179:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/battlescape/cl_actor.c:181:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/battlescape/cl_actor.c:185:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/battlescape/cl_actor.c:187:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/battlescape/cl_actor.c: (in function CL_ActorGetNumber) src/client/battlescape/cl_actor.c:203:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_actor.c: (in function CL_ActorGetChr) src/client/battlescape/cl_actor.c:224:10: Null storage returned as non-null: NULL src/client/battlescape/cl_actor.c:227:9: Unqualified storage cl.chrList.chr[actorIdx] returned as implicitly only: cl.chrList.chr[actorIdx] src/client/battlescape/cl_actor.c:227:34: Global storage cl.chrList contains 1 undefined field when call returns: chr src/client/battlescape/cl_actor.c: (in function CL_ActorSetRFMode) src/client/battlescape/cl_actor.c:240:2: Assignment of int to fireDefIndex_t: chr->RFmode.fmIdx = fireModeIndex src/client/battlescape/cl_actor.c:241:2: Implicitly only storage chr->RFmode.weapon (type objDef_t *) not released before assignment: chr->RFmode.weapon = weapon src/client/battlescape/cl_actor.c:241:2: Implicitly temp storage weapon assigned to implicitly only: chr->RFmode.weapon = weapon src/client/battlescape/cl_actor.c: (in function CL_ActorSetShotSettings) src/client/battlescape/cl_actor.c:254:2: Assignment of int to fireDefIndex_t: chr->reservedTus.shotSettings.fmIdx = fireModeIndex src/client/battlescape/cl_actor.c:255:2: Implicitly only storage chr->reservedTus.shotSettings.weapon (type objDef_t *) not released before assignment: chr->reservedTus.shotSettings.weapon = weapon src/client/battlescape/cl_actor.c:255:2: Implicitly temp storage weapon assigned to implicitly only: chr->reservedTus.shotSettings.weapon = weapon src/client/battlescape/cl_actor.c: (in function CL_ActorReservedTUs) src/client/battlescape/cl_actor.c:286:59: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:290:7: Test expression for if not boolean, type int: (le->state & 0x0300) src/client/battlescape/cl_actor.c:291:60: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:293:41: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:296:27: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:298:25: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:300:23: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c:303:13: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:273:2: Fresh storage chr created src/client/battlescape/cl_actor.c: (in function CL_ActorReserveTUs) src/client/battlescape/cl_actor.c:348:2: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:337:2: Fresh storage chr created src/client/battlescape/cl_actor.c: (in function CL_ActorAddToTeamList) src/client/battlescape/cl_actor.c:367:60: Right operand of || is non-boolean (int): !le || le->team != cls.team || le->pnum != cl.pnum || ((le)->state & 0x0003) src/client/battlescape/cl_actor.c:380:3: Implicitly only storage le->pathMap (type pathing_t *) not released before assignment: le->pathMap = _Mem_Alloc((sizeof((*le->pathMap))), qtrue, (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/battlescape/c l_actor.c", 380) src/client/battlescape/cl_actor.c:385:4: Return value (type qboolean) ignored: CL_ActorSelectLi... src/client/battlescape/cl_actor.c: (in function CL_ActorCleanup) src/client/battlescape/cl_actor.c:392:3: Return value (type uint32_t) ignored: _Mem_Free((le->p... src/client/battlescape/cl_actor.c:393:2: Implicitly only storage le->pathMap (type pathing_t *) not released before assignment: le->pathMap = NULL src/client/battlescape/cl_actor.c:394:2: Function returns with null storage derivable from parameter le->pathMap src/client/battlescape/cl_actor.c:393:16: Storage le->pathMap becomes null src/client/battlescape/cl_actor.c: (in function CL_ActorRemoveFromTeamList) src/client/battlescape/cl_actor.c:423:6: Test expression for if not boolean, type qboolean: le->selected src/client/battlescape/cl_actor.c:425:8: Operands of && are non-booleans (le_t *, qboolean): cl.teamList[i] && CL_ActorSelect(cl.teamList[i]) src/client/battlescape/cl_actor.c:430:19: Null storage passed as non-null param: CL_ActorSelect (NULL) src/client/battlescape/cl_actor.c:430:4: Return value (type qboolean) ignored: CL_ActorSelect(NULL) src/client/battlescape/cl_actor.c:432:2: Function returns with null storage derivable from global cl.teamList[] src/client/battlescape/cl_actor.c: (in function CL_ActorSelect) src/client/battlescape/cl_actor.c:451:17: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:449:14: Storage selActor becomes null src/client/battlescape/cl_actor.c:451:17: Function returns with non-null global menuInventory referencing null storage src/client/battlescape/cl_actor.c:450:19: Storage menuInventory becomes null src/client/battlescape/cl_actor.c:454:30: Right operand of || is non-boolean (int): le->team != cls.team || ((le)->state & 0x0003) src/client/battlescape/cl_actor.c:454:57: Operand of ! is non-boolean (qboolean): !le->inuse src/client/battlescape/cl_actor.c:457:6: Test expression for if not boolean, type qboolean: le->selected src/client/battlescape/cl_actor.c:478:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", actorIdx) src/client/battlescape/cl_actor.c:478:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/battlescape/cl_actor.c:486:17: Possibly null storage chr passed as non-null param: CL_ActorCvars (chr) src/client/battlescape/cl_actor.c:480:8: Storage chr may become null src/client/battlescape/cl_actor.c:489:15: Possibly null storage chr passed as non-null param: CL_UGVCvars (chr) src/client/battlescape/cl_actor.c:480:8: Storage chr may become null src/client/battlescape/cl_actor.c:497:15: Fresh storage chr not released before return src/client/battlescape/cl_actor.c:480:2: Fresh storage chr created src/client/battlescape/cl_actor.c: (in function CL_ActorSelectList) src/client/battlescape/cl_actor.c:521:14: Operand of ! is non-boolean (qboolean): !CL_ActorSelect(le) src/client/battlescape/cl_actor.c:526:33: Function Cvar_SetValue expects arg 2 to be float gets pos_t: le->pos[2] src/client/battlescape/cl_actor.c: (in function CL_ActorSelectNext) src/client/battlescape/cl_actor.c:543:7: Operands of && are non-booleans (le_t *, qboolean): le && le->selected src/client/battlescape/cl_actor.c:543:29: Right operand of && is non-boolean (qboolean): le && le->selected && le->inuse src/client/battlescape/cl_actor.c:543:43: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_actor.c:553:9: Test expression for while not boolean, type enum { qfalse, qtrue }: qtrue src/client/battlescape/cl_actor.c:557:7: Test expression for if not boolean, type qboolean: CL_ActorSelectList(i) src/client/battlescape/cl_actor.c: (in function CL_BuildForbiddenList) src/client/battlescape/cl_actor.c:597:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:593:13: Storage le becomes null src/client/battlescape/cl_actor.c:598:7: Test expression for if not boolean, type qboolean: le->invis src/client/battlescape/cl_actor.c:601:34: Right operand of || is non-boolean (qboolean): le->type == ET_ACTOR2x2 || LE_IsLivingAndVisibleActor(le) src/client/battlescape/cl_actor.c: (in function CL_DisplayBlockedPaths_f) src/client/battlescape/cl_actor.c:628:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:623:13: Storage le becomes null src/client/battlescape/cl_actor.c:633:9: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_actor.c:634:50: Passed storage s not completely defined (*s is undefined): Grid_PosToVec (..., s) src/client/battlescape/cl_actor.c:645:46: Passed storage s not completely defined (*s is undefined): CL_ParticleSpawn (..., s, ...) src/client/battlescape/cl_actor.c:645:49: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:645:55: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:653:59: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:653:65: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:658:5: Fresh storage ptl2 not released before scope exit src/client/battlescape/cl_actor.c:653:71: Fresh storage ptl2 created src/client/battlescape/cl_actor.c:661:2: Fresh storage ptl not released before return src/client/battlescape/cl_actor.c:645:3: Fresh storage ptl created src/client/battlescape/cl_actor.c: (in function CL_ActorConditionalMoveCalc) src/client/battlescape/cl_actor.c:673:6: Operands of && are non-booleans (le_t *, qboolean): le && le->selected src/client/battlescape/cl_actor.c:674:31: Test expression for conditional not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_actor.c:674:31: Variable crouchingState initialized to type int, expects byte: ((le)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_actor.c: (in function CL_ActorCheckAction) src/client/battlescape/cl_actor.c:691:6: Test expression for if not boolean, type int: le->pathLength src/client/battlescape/cl_actor.c:695:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("This isn't your round\n") src/client/battlescape/cl_actor.c:710:62: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_ActorMoveLength) src/client/battlescape/cl_actor.c:712:30: Test expression for conditional not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_actor.c:712:30: Variable crouchingState initialized to type int, expects byte: ((le)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_actor.c:733:49: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_ActorTraceMove) src/client/battlescape/cl_actor.c:748:7: Operand of ! is non-boolean (byte): !length src/client/battlescape/cl_actor.c:751:19: Test expression for conditional not boolean, type int: ((selActor)->state & 0x0004) src/client/battlescape/cl_actor.c:751:2: Assignment of int to byte: crouchingState = ((selActor)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_actor.c:753:48: Passed storage oldVec not completely defined (*oldVec is undefined): Grid_PosToVec (..., oldVec) src/client/battlescape/cl_actor.c:761:70: Test expression for conditional not boolean, type int: ((selActor)->state & 0x0004) src/client/battlescape/cl_actor.c:768:20: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:768:50: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:768:64: Assignment of int to pos_t: pos[2] = (dv & ((1 << 3) - 1)) src/client/battlescape/cl_actor.c:768:121: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:770:50: Passed storage vec not completely defined (*vec is undefined): Grid_PosToVec (..., vec) src/client/battlescape/cl_actor.c:771:7: Operands of > have incompatible types (byte, int): length > CL_ActorUsableTUs(selActor) src/client/battlescape/cl_actor.c:772:56: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:772:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:773:12: Test expression for if not boolean, type byte: crouchingState src/client/battlescape/cl_actor.c:774:52: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:774:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:776:51: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:776:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:789:47: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c:789:74: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_ActorMaximumMove) src/client/battlescape/cl_actor.c:792:24: Operands of && are non-booleans (le_t *, int): le && ((le)->state & 0x0004) src/client/battlescape/cl_actor.c:792:24: Variable crouchingState initialized to type int, expects byte: le && ((le)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_actor.c:793:36: Possibly null storage le passed as non-null param: CL_ActorUsableTUs (le) src/client/battlescape/cl_actor.c:795:7: Operand of ! is non-boolean (byte): !length src/client/battlescape/cl_actor.c:802:7: Operands of <= have incompatible types (byte, int): length2 <= tus src/client/battlescape/cl_actor.c:804:20: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:804:50: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:804:64: Assignment of int to pos_t: pos[2] = (dv & ((1 << 3) - 1)) src/client/battlescape/cl_actor.c:804:121: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_actor.c:820:49: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_ActorStartMove) src/client/battlescape/cl_actor.c:828:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(le) src/client/battlescape/cl_actor.c:833:7: Operand of ! is non-boolean (byte): !length src/client/battlescape/cl_actor.c:839:30: Passed storage toReal not completely defined (*toReal is undefined): CL_ActorMaximumMove (..., toReal) src/client/battlescape/cl_actor.c:844:6: Operands of < have incompatible types (int, byte): CL_ActorUsableTUs(le) < length src/client/battlescape/cl_actor.c:863:51: Function parameter at declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_ActorShoot) src/client/battlescape/cl_actor.c:870:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(le) src/client/battlescape/cl_actor.c: (in function CL_ActorGetContainerForReload) src/client/battlescape/cl_actor.c:899:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/battlescape/cl_actor.c:908:9: Operands of && are non-boolean (qboolean): INVSH_LoadableInWeapon(od, weapon) && GAME_ItemIsUseable(od) src/client/battlescape/cl_actor.c:917:9: Return value type containerIndex_t does not match declared type int: bestContainer src/client/battlescape/cl_actor.c: (in function CL_ActorReload) src/client/battlescape/cl_actor.c:933:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(le) src/client/battlescape/cl_actor.c:941:42: Right operand of && is non-boolean (qboolean): containerID == csi.idLeft && inv->c[csi.idRight]->item.t->holdTwoHanded src/client/battlescape/cl_actor.c:953:7: Operand of ! is non-boolean (int): !weapon->reload src/client/battlescape/cl_actor.c:956:7: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(weapon) src/client/battlescape/cl_actor.c:957:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot reload this unknown item.\n") src/client/battlescape/cl_actor.c:961:48: Passed storage &ic not completely defined: CL_ActorGetContainerForReload (&ic, ...) src/client/battlescape/cl_actor.c:961:53: Possibly null storage inv->c[] derivable from parameter CL_ActorGetContainerForReload (..., inv, ...) src/client/battlescape/cl_actor.c:961:2: Assignment of int to containerIndex_t: bestContainer = CL_ActorGetContainerForReload(&ic, inv, weapon) src/client/battlescape/cl_actor.c:966:35: Passed storage &x not completely defined: INVSH_GetFirstShapePosition (..., &x, ...) src/client/battlescape/cl_actor.c:966:39: Passed storage &y not completely defined: INVSH_GetFirstShapePosition (..., &y) src/client/battlescape/cl_actor.c: (in function CL_ActorInvMove) src/client/battlescape/cl_actor.c:987:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_actor.c: (in function CL_ActorUseDoor) src/client/battlescape/cl_actor.c:999:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(le) src/client/battlescape/cl_actor.c:1002:9: Function assert expects arg 1 to be boolean gets struct le_s *: le->clientAction src/client/battlescape/cl_actor.c: (in function CL_ActorDoorAction_f) src/client/battlescape/cl_actor.c:1013:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_actor.c: (in function CL_ActorFireModeActivated) src/client/battlescape/cl_actor.c:1034:9: Return value type boolean does not match declared type qboolean: ((mode) == M_FIRE_R || (mode) == M_PEND_FIRE_R) || ((mode) == M_FIRE_L || (mode) == M_PEND_FIRE_L) || ((mode) == M_FIRE_HEADGEAR) src/client/battlescape/cl_actor.c: (in function CL_ActorTurnMouse) src/client/battlescape/cl_actor.c:1048:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_actor.c:1057:6: Test expression for if not boolean, type qboolean: CL_ActorFireModeActivated(selActor->actorMode) src/client/battlescape/cl_actor.c:1063:4: Assignment of arbitrary unsigned integral type to vec_t: div[0] = mousePos[0] - selActor->pos[0] src/client/battlescape/cl_actor.c:1063:42: Assignment of arbitrary unsigned integral type to vec_t: div[1] = mousePos[1] - selActor->pos[1] src/client/battlescape/cl_actor.c:1063:80: Assignment of arbitrary unsigned integral type to vec_t: div[2] = mousePos[2] - selActor->pos[2] src/client/battlescape/cl_actor.c:1064:8: Left operand of << may be negative (int): AngleToDir((int)(atan2(div[1], div[0]) * (180.0f / 3.14159265358979323846))) << 3 src/client/battlescape/cl_actor.c:1064:2: Assignment of int to byte: dv = (AngleToDir((int)(atan2(div[1], div[0]) * (180.0f / 3.14159265358979323846))) << 3) src/client/battlescape/cl_actor.c: (in function CL_ActorStandCrouch_f) src/client/battlescape/cl_actor.c:1075:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_actor.c: (in function CL_ActorUseHeadgear_f) src/client/battlescape/cl_actor.c:1098:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_actor.c: (in function CL_ActorMoveMouse) src/client/battlescape/cl_actor.c:1132:6: Operands of > have incompatible types (pos_t, int): mousePos[2] > cl_worldlevel->integer src/client/battlescape/cl_actor.c:1136:7: Test expression for if not boolean, type int: (mousePos[0] == selActor->mousePendPos[0] ? mousePos[1] == selActor->mousePendPos[1] ? mousePos[2] == selActor->mousePendPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1146:7: Left operand of || is non-boolean (int): confirm_actions->integer || cls.team != cl.actTeam src/client/battlescape/cl_actor.c: (in function CL_ActorSelectMouse) src/client/battlescape/cl_actor.c:1172:22: Operand of ! is non-boolean (qboolean): !mouseActor->selected src/client/battlescape/cl_actor.c:1172:7: Left operand of && is non-boolean (le_t *): mouseActor && !mouseActor->selected src/client/battlescape/cl_actor.c:1172:46: Right operand of && is non-boolean (qboolean): mouseActor && !mouseActor->selected && CL_ActorSelect(mouseActor) src/client/battlescape/cl_actor.c:1181:7: Test expression for if not boolean, type int: (mousePos[0] == selActor->mousePendPos[0] ? mousePos[1] == selActor->mousePendPos[1] ? mousePos[2] == selActor->mousePendPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1196:7: Operands of && are non-booleans (le_t *, qboolean): mouseActor && mouseActor->selected src/client/battlescape/cl_actor.c:1208:7: Operands of && are non-booleans (le_t *, qboolean): mouseActor && mouseActor->selected src/client/battlescape/cl_actor.c:1222:2: Function returns with non-null global mouseActor referencing null storage src/client/battlescape/cl_actor.c: (in function CL_ActorActionMouse) src/client/battlescape/cl_actor.c:1235:6: Test expression for if not boolean, type qboolean: CL_ActorFireModeActivated(selActor->actorMode) src/client/battlescape/cl_actor.c: (in function CL_ActorMouseTrace) src/client/battlescape/cl_actor.c:1273:2: Assignment of double to float: cur[0] = (mousePosX * viddef.rx - viddef.viewWidth * 0.5 - viddef.x) / (viddef.viewWidth * 0.5) src/client/battlescape/cl_actor.c:1274:2: Assignment of double to float: cur[1] = (mousePosY * viddef.ry - viddef.viewHeight * 0.5 - viddef.y) / (viddef.viewHeight * 0.5) src/client/battlescape/cl_actor.c:1282:6: Test expression for if not boolean, type int: cl_isometric->integer src/client/battlescape/cl_actor.c:1283:3: Assignment of double to float: frustumSlope[0] = 10.0 * refdef.fieldOfViewX src/client/battlescape/cl_actor.c:1285:3: Assignment of double to float: frustumSlope[0] = tan(refdef.fieldOfViewX * 3.14159265358979323846 / 360.0) * projectionDistance src/client/battlescape/cl_actor.c:1289:46: Passed storage stop not completely defined (*stop is undefined): VectorMA (..., stop) src/client/battlescape/cl_actor.c:1294:6: Test expression for if not boolean, type int: cl_isometric->integer src/client/battlescape/cl_actor.c:1314:3: Assignment of double to vec_t: P3[0] = (0.) src/client/battlescape/cl_actor.c:1314:16: Assignment of double to vec_t: P3[1] = (0.) src/client/battlescape/cl_actor.c:1314:29: Assignment of double to vec_t: P3[2] = (cl_worldlevel->integer * 64 + 64 * 0.4) src/client/battlescape/cl_actor.c:1315:3: Assignment of double to vec_t: mapNormal[0] = (0.) src/client/battlescape/cl_actor.c:1315:23: Assignment of double to vec_t: mapNormal[1] = (0.) src/client/battlescape/cl_actor.c:1315:43: Assignment of double to vec_t: mapNormal[2] = (1.) src/client/battlescape/cl_actor.c:1327:36: Passed storage end not completely defined (*end is undefined): CM_TestLineDMWithEnt (..., end, ...) src/client/battlescape/cl_actor.c:1327:3: Return value (type qboolean) ignored: CM_TestLineDMWit... src/client/battlescape/cl_actor.c:1330:23: Assignment of int to pos_t: testPos[0] = ((int)end[0] + 4096) / 32 src/client/battlescape/cl_actor.c:1330:66: Assignment of int to pos_t: testPos[1] = ((int)end[1] + 4096) / 32 src/client/battlescape/cl_actor.c:1330:109: Assignment of int to pos_t: testPos[2] = (int)end[2] / 64 src/client/battlescape/cl_actor.c:1331:2: Assignment of pos_t to int: restingLevel = Grid_Fall(clMap, fieldSize, testPos) src/client/battlescape/cl_actor.c:1335:6: Assignment of int to vec_t: pA[0] = ((int)testPos[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_actor.c:1335:67: Assignment of int to vec_t: pA[1] = ((int)testPos[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_actor.c:1335:128: Assignment of int to vec_t: pA[2] = (int)testPos[2] * 64 + 64 / 2 src/client/battlescape/cl_actor.c:1340:6: Test expression for if not boolean, type qboolean: CL_OutsideMap(pA, 100) src/client/battlescape/cl_actor.c:1341:10: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c:1349:31: Passed storage pC not completely defined (*pC is undefined): CM_TestLineDMWithEnt (..., pC, ...) src/client/battlescape/cl_actor.c:1349:2: Return value (type qboolean) ignored: CM_TestLineDMWit... src/client/battlescape/cl_actor.c:1350:23: Assignment of int to pos_t: testPos[0] = ((int)pC[0] + 4096) / 32 src/client/battlescape/cl_actor.c:1350:65: Assignment of int to pos_t: testPos[1] = ((int)pC[1] + 4096) / 32 src/client/battlescape/cl_actor.c:1350:107: Assignment of int to pos_t: testPos[2] = (int)pC[2] / 64 src/client/battlescape/cl_actor.c:1351:18: Operands of < have incompatible types (int, pos_t): (restingLevel) < (Grid_Fall(clMap, fieldSize, testPos)) src/client/battlescape/cl_actor.c:1351:73: Conditional clauses are not of same type: (restingLevel) (int), (Grid_Fall(clMap, fieldSize, testPos)) (pos_t) src/client/battlescape/cl_actor.c:1357:3: Return value (type qboolean) ignored: CM_TestLineDMWit... src/client/battlescape/cl_actor.c:1358:24: Assignment of int to pos_t: testPos[0] = ((int)end[0] + 4096) / 32 src/client/battlescape/cl_actor.c:1358:67: Assignment of int to pos_t: testPos[1] = ((int)end[1] + 4096) / 32 src/client/battlescape/cl_actor.c:1358:110: Assignment of int to pos_t: testPos[2] = (int)end[2] / 64 src/client/battlescape/cl_actor.c:1359:3: Assignment of pos_t to int: restingLevel = Grid_Fall(clMap, fieldSize, testPos) src/client/battlescape/cl_actor.c:1364:10: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c:1368:2: Assignment of int to pos_t: truePos[2] = cl_worldlevel->integer src/client/battlescape/cl_actor.c:1371:2: Assignment of int to pos_t: testPos[2] = restingLevel src/client/battlescape/cl_actor.c:1377:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:1376:7: Storage le becomes null src/client/battlescape/cl_actor.c:1378:7: Test expression for if not boolean, type qboolean: LE_IsLivingAndVisibleActor(le) src/client/battlescape/cl_actor.c:1381:9: Test expression for if not boolean, type int: (le->pos[0] == mousePos[0] ? le->pos[1] == mousePos[1] ? le->pos[2] == mousePos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1389:9: Operands of || are non-boolean (int): (le->pos[0] == mousePos[0] ? le->pos[1] == mousePos[1] ? le->pos[2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[0][0] == mousePos[0] ? actor2x2[0][1] == mousePos[1] ? actor2x2[0][2] == mousePos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1391:8: Right operand of || is non-boolean (int): (le->pos[0] == mousePos[0] ? le->pos[1] == mousePos[1] ? le->pos[2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[0][0] == mousePos[0] ? actor2x2[0][1] == mousePos[1] ? actor2x2[0][2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[1][0] == mousePos[0] ? actor2x2[1][1] == mousePos[1] ? actor2x2[1][2] == mousePos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1392:8: Right operand of || is non-boolean (int): (le->pos[0] == mousePos[0] ? le->pos[1] == mousePos[1] ? le->pos[2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[0][0] == mousePos[0] ? actor2x2[0][1] == mousePos[1] ? actor2x2[0][2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[1][0] == mousePos[0] ? actor2x2[1][1] == mousePos[1] ? actor2x2[1][2] == mousePos[2] ? 1 : 0 : 0 : 0) || (actor2x2[2][0] == mousePos[0] ? actor2x2[2][1] == mousePos[1] ? actor2x2[2][2] == mousePos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1402:19: Operand of ! is non-boolean (int): !(mousePos[0] == mouseLastPos[0] ? mousePos[1] == mouseLastPos[1] ? mousePos[2] == mouseLastPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1402:6: Left operand of && is non-boolean (le_t *): selActor && !(mousePos[0] == mouseLastPos[0] ? mousePos[1] == mouseLastPos[1] ? mousePos[2] == mouseLastPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1409:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c:1409:2: Function returns with non-null global mouseActor referencing null storage src/client/battlescape/cl_actor.c:1375:15: Storage mouseActor becomes null src/client/battlescape/cl_actor.c: (in function CL_AddActorWeapon) src/client/battlescape/cl_actor.c:1428:7: Test expression for if not boolean, type qboolean: od->virtual src/client/battlescape/cl_actor.c:1429:18: Fresh storage od not released before return src/client/battlescape/cl_actor.c:1427:50: Fresh storage od created src/client/battlescape/cl_actor.c:1430:16: Fresh storage od not released before return src/client/battlescape/cl_actor.c:1427:50: Fresh storage od created src/client/battlescape/cl_actor.c: (in function CL_AddActor) src/client/battlescape/cl_actor.c:1448:7: Operand of ! is non-boolean (int): !cl_showactors->integer src/client/battlescape/cl_actor.c:1452:7: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_actor.c:1456:7: Test expression for if not boolean, type qboolean: addLeftHandWeapon src/client/battlescape/cl_actor.c:1459:4: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = cls.modelPool[le->left] src/client/battlescape/cl_actor.c:1459:4: Unqualified storage cls.modelPool[le->left] assigned to implicitly only: add.model = cls.modelPool[le->left] src/client/battlescape/cl_actor.c:1464:4: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 2 + addRightHandWeapon src/client/battlescape/cl_actor.c:1464:4: Dependent storage assigned to implicitly only: add.tagent = R_GetFreeEntity() + 2 + addRightHandWeapon src/client/battlescape/cl_actor.c:1464:17: Storage becomes dependent src/client/battlescape/cl_actor.c:1465:4: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_lweapon" src/client/battlescape/cl_actor.c:1465:4: Observer storage assigned to unqualified reference: add.tagname = "tag_lweapon" src/client/battlescape/cl_actor.c:1465:18: Storage becomes observer src/client/battlescape/cl_actor.c:1466:4: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1466:4: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1468:16: Possibly null storage add.model derivable from parameter R_AddEntity (&add) src/client/battlescape/cl_actor.c:1459:16: Storage add.model may become null src/client/battlescape/cl_actor.c:1468:4: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_actor.c:1472:7: Test expression for if not boolean, type qboolean: addRightHandWeapon src/client/battlescape/cl_actor.c:1476:4: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = cls.modelPool[le->right] src/client/battlescape/cl_actor.c:1476:4: Unqualified storage cls.modelPool[le->right] assigned to implicitly only: add.model = cls.modelPool[le->right] src/client/battlescape/cl_actor.c:1481:4: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 2 src/client/battlescape/cl_actor.c:1481:4: Dependent storage assigned to implicitly only: add.tagent = R_GetFreeEntity() + 2 src/client/battlescape/cl_actor.c:1481:17: Storage becomes dependent src/client/battlescape/cl_actor.c:1482:4: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_rweapon" src/client/battlescape/cl_actor.c:1482:4: Observer storage assigned to unqualified reference: add.tagname = "tag_rweapon" src/client/battlescape/cl_actor.c:1482:18: Storage becomes observer src/client/battlescape/cl_actor.c:1483:4: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1483:4: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1485:16: Possibly null storage add.model derivable from parameter R_AddEntity (&add) src/client/battlescape/cl_actor.c:1476:16: Storage add.model may become null src/client/battlescape/cl_actor.c:1485:4: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_actor.c:1493:2: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = le->model2 src/client/battlescape/cl_actor.c:1499:2: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 1 src/client/battlescape/cl_actor.c:1499:2: Dependent storage assigned to implicitly only: add.tagent = R_GetFreeEntity() + 1 src/client/battlescape/cl_actor.c:1499:15: Storage becomes dependent src/client/battlescape/cl_actor.c:1500:2: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_head" src/client/battlescape/cl_actor.c:1500:2: Observer storage assigned to unqualified reference: add.tagname = "tag_head" src/client/battlescape/cl_actor.c:1500:16: Storage becomes observer src/client/battlescape/cl_actor.c:1501:2: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1501:2: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_actor.c:1503:14: Possibly null storage add.model derivable from parameter R_AddEntity (&add) src/client/battlescape/cl_actor.c:1493:14: Storage add.model may become null src/client/battlescape/cl_actor.c:1503:2: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_actor.c:1508:6: Left operand of && is non-boolean (int): (((le)->state & 0x0043) & ~0x0003) && le->HP <= le->maxHP / 2 src/client/battlescape/cl_actor.c:1510:11: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/cl_actor.c:1518:7: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_actor.c:1518:34: Operand of ! is non-boolean (int): !(((le)->state & 0x0043) & ~0x0003) src/client/battlescape/cl_actor.c:1519:7: Test expression for if not boolean, type qboolean: le->selected src/client/battlescape/cl_actor.c:1529:6: Test expression for if not boolean, type int: ent->flags & 0x00000008 src/client/battlescape/cl_actor.c:1533:3: Implicitly only storage ent->deathTexture (type image_t *) not released before assignment: ent->deathTexture = R_FindImageDebug(deathTextureName, it_effect, "/home/mattn/dev/ufoai/trunk/src/client/battlescape/cl_actor.c", 1533) src/client/battlescape/cl_actor.c:1536:15: Only storage add.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1536:15: Only storage add.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1536:15: Only storage add.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1536:15: Only storage add.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1536:15: Only storage add.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1536:15: Storage le->model2 reachable from parameter is kept (should be implicitly only) src/client/battlescape/cl_actor.c:1493:2: Storage le->model2 becomes kept src/client/battlescape/cl_actor.c:1550:46: Function parameter center declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_TargetingRadius) src/client/battlescape/cl_actor.c:1552:58: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1552:64: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1554:2: Fresh storage particle not released before return src/client/battlescape/cl_actor.c:1552:70: Fresh storage particle created src/client/battlescape/cl_actor.c:1566:48: Function parameter fromPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c:1566:101: Function parameter toPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_TargetingStraight) src/client/battlescape/cl_actor.c:1581:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:1573:13: Storage le becomes null src/client/battlescape/cl_actor.c:1582:7: Operands of && are non-booleans (qboolean, int): LE_IsLivingAndVisibleActor(le) && (le->pos[0] == toPos[0] ? le->pos[1] == toPos[1] ? le->pos[2] == toPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1595:47: Passed storage start not completely defined (*start is undefined): Grid_PosToVec (..., start) src/client/battlescape/cl_actor.c:1596:43: Passed storage end not completely defined (*end is undefined): Grid_PosToVec (..., end) src/client/battlescape/cl_actor.c:1597:6: Test expression for if not boolean, type int: mousePosTargettingAlign src/client/battlescape/cl_actor.c:1602:2: Return value (type vec_t) ignored: VectorNormalize(dir) src/client/battlescape/cl_actor.c:1606:45: Passed storage mid not completely defined (*mid is undefined): VectorMA (..., mid) src/client/battlescape/cl_actor.c:1613:18: Function VectorMA expects arg 2 to be float gets double: 32 * 1.4 To make float and double types equivalent, use +floatdouble. src/client/battlescape/cl_actor.c:1613:33: Passed storage temp not completely defined (*temp is undefined): VectorMA (..., temp) src/client/battlescape/cl_actor.c:1615:65: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_actor.c:1616:6: Left operand of && is non-boolean (struct le_s *): tr.le && (tr.le->team == cls.team || ((tr.le)->team == 0)) src/client/battlescape/cl_actor.c:1616:68: Right operand of && is non-boolean (int): tr.le && (tr.le->team == cls.team || ((tr.le)->team == 0)) && ((tr.le)->state & 0x0004) src/client/battlescape/cl_actor.c:1617:19: Function VectorMA expects arg 2 to be float gets double: 32 * 1.4 src/client/battlescape/cl_actor.c:1621:63: Possibly null storage target passed as non-null param: CL_Trace (..., target, ...) src/client/battlescape/cl_actor.c:1574:17: Storage target may become null src/client/battlescape/cl_actor.c:1624:3: Assignment of double to float: d = (sqrt((mid[0] - temp[0]) * (mid[0] - temp[0]) + (mid[1] - temp[1]) * (mid[1] - temp[1]) + (mid[2] - temp[2]) * (mid[2] - temp[2]))) src/client/battlescape/cl_actor.c:1630:51: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1630:2: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1631:6: Test expression for if not boolean, type qboolean: crossNo src/client/battlescape/cl_actor.c:1632:52: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1632:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1633:40: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1633:46: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1633:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1635:37: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1635:43: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1635:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1637:2: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1637:2: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1637:2: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1649:47: Function parameter fromPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c:1649:100: Function parameter toPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_TargetingGrenade) src/client/battlescape/cl_actor.c:1661:36: Right operand of || is non-boolean (int): !selActor || !selActor->fd || (fromPos[0] == toPos[0] ? fromPos[1] == toPos[1] ? 1 : 0 : 0) src/client/battlescape/cl_actor.c:1665:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:1657:13: Storage le becomes null src/client/battlescape/cl_actor.c:1666:7: Operands of && are non-booleans (qboolean, int): LE_IsLivingAndVisibleActor(le) && (le->pos[0] == toPos[0] ? le->pos[1] == toPos[1] ? le->pos[2] == toPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_actor.c:1680:47: Passed storage from not completely defined (*from is undefined): Grid_PosToVec (..., from) src/client/battlescape/cl_actor.c:1681:43: Passed storage at not completely defined (*at is undefined): Grid_PosToVec (..., at) src/client/battlescape/cl_actor.c:1686:6: Test expression for if not boolean, type int: mousePosTargettingAlign src/client/battlescape/cl_actor.c:1691:102: Passed storage v0 not completely defined (*v0 is undefined): Com_GrenadeTarget (..., v0) src/client/battlescape/cl_actor.c:1692:7: Operand of ! is non-boolean (float): !dt src/client/battlescape/cl_actor.c:1693:42: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1693:48: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1693:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1699:3: Assignment of double to vec_t: (ds)[0] = (ds)[0] * (1.0 / 20) src/client/battlescape/cl_actor.c:1699:36: Assignment of double to vec_t: (ds)[1] = (ds)[1] * (1.0 / 20) src/client/battlescape/cl_actor.c:1699:69: Assignment of double to vec_t: (ds)[2] = (ds)[2] * (1.0 / 20) src/client/battlescape/cl_actor.c:1700:2: Assignment of int to vec_t: ds[2] = 0 src/client/battlescape/cl_actor.c:1709:4: Assignment of double to vec_t: (at)[0] = (v0)[0] * ((i + 1.0) / 20) src/client/battlescape/cl_actor.c:1709:43: Assignment of double to vec_t: (at)[1] = (v0)[1] * ((i + 1.0) / 20) src/client/battlescape/cl_actor.c:1709:82: Assignment of double to vec_t: (at)[2] = (v0)[2] * ((i + 1.0) / 20) src/client/battlescape/cl_actor.c:1713:65: Possibly null storage target passed as non-null param: CL_Trace (..., target, ...) src/client/battlescape/cl_actor.c:1658:17: Storage target may become null src/client/battlescape/cl_actor.c:1723:7: Left operand of || is non-boolean (qboolean): obstructed || VectorLength(at) > selActor->fd->range src/client/battlescape/cl_actor.c:1724:55: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1724:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1726:53: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1726:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1730:6: Left operand of || is non-boolean (qboolean): obstructed || VectorLength(at) > selActor->fd->range src/client/battlescape/cl_actor.c:1731:42: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1731:48: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1731:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1733:39: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_actor.c:1733:45: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:1733:3: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c:1735:6: Test expression for if not boolean, type float: selActor->fd->splrad src/client/battlescape/cl_actor.c:1739:2: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1739:2: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1739:2: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1745:33: Initial value of boxSize[0] is type int, expects vec_t: 11 src/client/battlescape/cl_actor.c:1745:37: Initial value of boxSize[1] is type int, expects vec_t: 11 src/client/battlescape/cl_actor.c:1745:41: Initial value of boxSize[2] is type int, expects vec_t: 27 src/client/battlescape/cl_actor.c:1754:40: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_AddTargetingBox) src/client/battlescape/cl_actor.c:1763:7: Operand of ! is non-boolean (int): !cl_showactors->integer src/client/battlescape/cl_actor.c:1764:10: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c:1774:6: Left operand of && is non-boolean (le_t *): selActor && selActor->actorMoveLength < 0xFF src/client/battlescape/cl_actor.c:1774:54: Operands of <= have incompatible types (byte, int): selActor->actorMoveLength <= CL_ActorUsableTUs(selActor) src/client/battlescape/cl_actor.c:1775:4: Assignment of int to vec_t: ent.color[0] = (0) src/client/battlescape/cl_actor.c:1775:23: Assignment of int to vec_t: ent.color[1] = (1) src/client/battlescape/cl_actor.c:1775:42: Assignment of int to vec_t: ent.color[2] = (0) src/client/battlescape/cl_actor.c:1777:4: Assignment of int to vec_t: ent.color[0] = (0) src/client/battlescape/cl_actor.c:1777:23: Assignment of int to vec_t: ent.color[1] = (0) src/client/battlescape/cl_actor.c:1777:42: Assignment of double to vec_t: ent.color[2] = (0.6) src/client/battlescape/cl_actor.c:1782:21: Operand of ! is non-boolean (qboolean): !mouseActor->selected src/client/battlescape/cl_actor.c:1782:6: Left operand of && is non-boolean (le_t *): mouseActor && !mouseActor->selected src/client/battlescape/cl_actor.c:1783:3: Assignment of double to float: ent.alpha = 0.4 + 0.2 * sin((float)cl.time / 80) src/client/battlescape/cl_actor.c:1790:6: Assignment of int to vec_t: ent.color[0] = (1) src/client/battlescape/cl_actor.c:1790:25: Assignment of int to vec_t: ent.color[1] = (1) src/client/battlescape/cl_actor.c:1790:44: Assignment of int to vec_t: ent.color[2] = (0) src/client/battlescape/cl_actor.c:1794:10: Test expression for if not boolean, type qboolean: GAME_TeamIsKnown(mouseActor->teamDef) src/client/battlescape/cl_actor.c:1795:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext(mouseActor->teamDef->name) src/client/battlescape/cl_actor.c:1797:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Unknown alien race") src/client/battlescape/cl_actor.c:1801:52: New fresh storage (type char *) passed as implicitly temp (not released): CL_PlayerGetName(mouseActor->pnum) src/client/battlescape/cl_actor.c:1804:6: Assignment of int to vec_t: ent.color[0] = (1) src/client/battlescape/cl_actor.c:1804:25: Assignment of int to vec_t: ent.color[1] = (0) src/client/battlescape/cl_actor.c:1804:44: Assignment of int to vec_t: ent.color[2] = (0) src/client/battlescape/cl_actor.c:1810:51: New fresh storage (type char *) passed as implicitly temp (not released): CL_PlayerGetName(mouseActor->pnum) src/client/battlescape/cl_actor.c:1814:12: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_actor.c:1816:5: Fresh storage chr not released before scope exit src/client/battlescape/cl_actor.c:1813:51: Fresh storage chr created src/client/battlescape/cl_actor.c:1818:5: Assignment of double to vec_t: ent.color[0] = (0.2) src/client/battlescape/cl_actor.c:1818:26: Assignment of double to vec_t: ent.color[1] = (0.3) src/client/battlescape/cl_actor.c:1818:47: Assignment of int to vec_t: ent.color[2] = (1) src/client/battlescape/cl_actor.c:1822:6: Assignment of arbitrary integral type to vec_t: cursorOffset[0] = (selActor->fieldSize - 1) * (32 + 11) src/client/battlescape/cl_actor.c:1822:58: Assignment of arbitrary integral type to vec_t: cursorOffset[1] = (selActor->fieldSize - 1) * (32 + 11) src/client/battlescape/cl_actor.c:1822:110: Assignment of int to vec_t: cursorOffset[2] = 0 src/client/battlescape/cl_actor.c:1825:6: Assignment of arbitrary integral type to vec_t: realBoxSize[0] = selActor->fieldSize * boxSize[0] + ((selActor->fieldSize - 1) * 32) src/client/battlescape/cl_actor.c:1825:84: Assignment of arbitrary integral type to vec_t: realBoxSize[1] = selActor->fieldSize * boxSize[1] + ((selActor->fieldSize - 1) * 32) src/client/battlescape/cl_actor.c:1830:6: Assignment of arbitrary integral type to vec_t: cursorOffset[0] = (selActor->fieldSize - 1) * (32 + 11) src/client/battlescape/cl_actor.c:1830:58: Assignment of arbitrary integral type to vec_t: cursorOffset[1] = (selActor->fieldSize - 1) * (32 + 11) src/client/battlescape/cl_actor.c:1830:110: Assignment of int to vec_t: cursorOffset[2] = 0 src/client/battlescape/cl_actor.c:1834:6: Assignment of arbitrary integral type to vec_t: realBoxSize[0] = selActor->fieldSize * boxSize[0] + ((selActor->fieldSize - 1) * 32) src/client/battlescape/cl_actor.c:1834:84: Assignment of arbitrary integral type to vec_t: realBoxSize[1] = selActor->fieldSize * boxSize[1] + ((selActor->fieldSize - 1) * 32) src/client/battlescape/cl_actor.c:1843:6: Test expression for if not boolean, type qboolean: pendBox src/client/battlescape/cl_actor.c:1844:4: Assignment of int to vec_t: ent.color[0] = (0) src/client/battlescape/cl_actor.c:1844:23: Assignment of int to vec_t: ent.color[1] = (1) src/client/battlescape/cl_actor.c:1844:42: Assignment of int to vec_t: ent.color[2] = (1) src/client/battlescape/cl_actor.c:1849:2: Return value (type int) ignored: R_AddEntity(&ent) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.tagname (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:1850:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c:1850:2: Function returns with non-null global mouseActor referencing null storage src/client/battlescape/cl_actor.c:1375:15: Storage mouseActor may become null src/client/battlescape/cl_actor.c: (in function CL_ActorTargetAlign_f) src/client/battlescape/cl_actor.c:1864:7: Operand of ! is non-boolean (qboolean): !CL_ActorFireModeActivated(selActor->actorMode) src/client/battlescape/cl_actor.c:1869:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_actor.c:1873:8: Test expression for if not boolean, type qboolean: selActor->fd->gravity src/client/battlescape/cl_actor.c:1880:8: Test expression for if not boolean, type qboolean: selActor->fd->gravity src/client/battlescape/cl_actor.c:1888:8: Test expression for if not boolean, type qboolean: selActor->fd->gravity src/client/battlescape/cl_actor.c: (in function CL_AddTargeting) src/client/battlescape/cl_actor.c:1926:7: Operands of > have incompatible types (pos_t, int): mousePos[2] > cl_worldlevel->integer src/client/battlescape/cl_actor.c:1935:9: Operand of ! is non-boolean (qboolean): !CL_ActorTraceMove(selActor->mousePendPos) src/client/battlescape/cl_actor.c:1944:8: Operand of ! is non-boolean (qboolean): !selActor->fd->gravity src/client/battlescape/cl_actor.c:1960:8: Operand of ! is non-boolean (qboolean): !selActor->fd->gravity src/client/battlescape/cl_actor.c:1970:34: Initial value of boxShift[0] is type int, expects vec_t: 9 src/client/battlescape/cl_actor.c:1970:37: Initial value of boxShift[1] is type int, expects vec_t: 9 src/client/battlescape/cl_actor.c:1970:40: Initial value of boxShift[2] is type double, expects vec_t: 64 / 2 - (0.03125) src/client/battlescape/cl_actor.c:1976:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_AddPathingBox) src/client/battlescape/cl_actor.c:1985:31: Test expression for conditional not boolean, type int: ((selActor)->state & 0x0004) src/client/battlescape/cl_actor.c:1985:31: Variable crouchingState initialized to type int, expects byte: ((selActor)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_actor.c:1986:22: Variable TUneed initialized to type pos_t, expects int: Grid_MoveLength(selActor->pathMap, pos, crouchingState, qfalse) src/client/battlescape/cl_actor.c:2001:5: Assignment of double to vec_t: ent.color[0] = (0.0) src/client/battlescape/cl_actor.c:2001:26: Assignment of double to vec_t: ent.color[1] = (0.0) src/client/battlescape/cl_actor.c:2001:47: Assignment of double to vec_t: ent.color[2] = (0.0) src/client/battlescape/cl_actor.c:2006:5: Assignment of boolean to vec_t: ent.color[0] = ((TUneed > TUhave)) src/client/battlescape/cl_actor.c:2006:40: Assignment of boolean to vec_t: ent.color[1] = ((TUneed != 0xFF)) src/client/battlescape/cl_actor.c:2006:74: Assignment of int to vec_t: ent.color[2] = (0) src/client/battlescape/cl_actor.c:2011:3: Assignment of int to vec_t: ent.oldorigin[2] = height src/client/battlescape/cl_actor.c:2012:3: Assignment of int to vec_t: ent.oldorigin[0] = TUneed src/client/battlescape/cl_actor.c:2013:3: Assignment of int to vec_t: ent.oldorigin[1] = TUhave src/client/battlescape/cl_actor.c:2018:3: Return value (type int) ignored: R_AddEntity(&ent) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.tagname (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2019:3: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2020:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c: (in function CL_AddPathing) src/client/battlescape/cl_actor.c:2031:2: Assignment of int to pos_t: pos[2] = cl_worldlevel->integer src/client/battlescape/cl_actor.c: (in function CL_ActorPlaySound) src/client/battlescape/cl_actor.c:2051:3: Fresh storage sample not released before scope exit src/client/battlescape/cl_actor.c:2046:49: Fresh storage sample created src/client/battlescape/cl_actor.c:2052:2: Fresh storage actorSound not released before return src/client/battlescape/cl_actor.c:2044:81: Fresh storage actorSound created src/client/battlescape/cl_actor.c:2057:33: Function parameter from declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c:2057:46: Function parameter to declared as manifest array (size constant is meaningless) src/client/battlescape/cl_actor.c: (in function CL_AddArrow) src/client/battlescape/cl_actor.c:2072:2: Return value (type int) ignored: R_AddEntity(&ent) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.tagname (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2073:2: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c: (in function CL_DisplayFloorArrows) src/client/battlescape/cl_actor.c:2086:43: Passed storage base not completely defined (*base is undefined): Grid_PosToVec (..., base) src/client/battlescape/cl_actor.c:2091:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c: (in function CL_DisplayObstructionArrows) src/client/battlescape/cl_actor.c:2104:43: Passed storage base not completely defined (*base is undefined): Grid_PosToVec (..., base) src/client/battlescape/cl_actor.c:2107:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c: (in function CL_DumpMoveMark_f) src/client/battlescape/cl_actor.c:2119:42: Test expression for conditional not boolean, type int: ((selActor)->state & 0x0004) src/client/battlescape/cl_actor.c:2119:30: Variable crouchingState initialized to type int, expects byte: selActor ? (((selActor)->state & 0x0004) ? 1 : 0) : 0 src/client/battlescape/cl_actor.c:2123:10: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_actor.c: (in function CL_DumpTUs_f) src/client/battlescape/cl_actor.c:2148:19: Test expression for conditional not boolean, type int: ((selActor)->state & 0x0004) src/client/battlescape/cl_actor.c:2153:7: Assignment of arbitrary unsigned integral type to int: y = ((0) > (pos[1] - 8) ? (0) : (pos[1] - 8)) src/client/battlescape/cl_actor.c:2154:8: Assignment of arbitrary unsigned integral type to int: x = ((0) > (pos[0] - 8) ? (0) : (pos[0] - 8)) src/client/battlescape/cl_actor.c:2155:5: Assignment of int to pos_t: loc[0] = (x) src/client/battlescape/cl_actor.c:2155:18: Assignment of int to pos_t: loc[1] = (y) src/client/battlescape/cl_actor.c:2156:63: Function Grid_MoveLength expects arg 3 to be byte gets int: crouchingState src/client/battlescape/cl_actor.c:2160:107: Function Grid_MoveLength expects arg 3 to be byte gets int: crouchingState src/client/battlescape/cl_actor.c: (in function CL_DebugPath_f) src/client/battlescape/cl_actor.c:2202:33: Function CL_DebugPathDisplay expects arg 2 to be int gets pos_t: x src/client/battlescape/cl_actor.c:2202:36: Function CL_DebugPathDisplay expects arg 3 to be int gets pos_t: y src/client/battlescape/cl_actor.c:2202:39: Function CL_DebugPathDisplay expects arg 4 to be int gets pos_t: z src/client/battlescape/cl_actor.c: (in function CL_ActorNext_f) src/client/battlescape/cl_actor.c:2251:6: Test expression for if not boolean, type qboolean: CL_BattlescapeRunning() src/client/battlescape/cl_actor.c:2252:3: Return value (type qboolean) ignored: CL_ActorSelectNext() src/client/battlescape/cl_actor.c: (in function CL_ActorEquipmentSelect_f) src/client/battlescape/cl_actor.c:2267:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_actor.c:2273:6: Left operand of && is non-boolean (struct inventory_s *): menuInventory && menuInventory != &chr->i src/client/battlescape/cl_actor.c:2285:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", num) src/client/battlescape/cl_actor.c:2285:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/battlescape/cl_actor.c:2286:26: Function Cvar_SetValue expects arg 2 to be float gets int: chrDisplayList.chr[num]->ucn src/client/battlescape/cl_actor.c: (in function CL_ActorSelect_f) src/client/battlescape/cl_actor.c:2307:6: Test expression for if not boolean, type qboolean: CL_BattlescapeRunning() src/client/battlescape/cl_actor.c:2308:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_actor.c:2309:3: Return value (type qboolean) ignored: CL_ActorSelectLi... src/client/battlescape/cl_actor.c: (in function CL_ActorUpdate_f) src/client/battlescape/cl_actor.c:2322:10: Function assert expects arg 1 to be boolean gets character_t *: chrDisplayList.chr[num] src/client/battlescape/cl_actor.c: (in function CL_ActorVis) src/client/battlescape/cl_actor.c:2347:6: Test expression for if not boolean, type int: ((check)->state & 0x0003) src/client/battlescape/cl_actor.c:2350:13: Test expression for if not boolean, type int: ((check)->state & 0x0004) src/client/battlescape/cl_actor.c:2361:2: Assignment of int to vec_t: dir[2] = 0 src/client/battlescape/cl_actor.c:2362:2: Return value (type vec_t) ignored: VectorNormalize(dir) src/client/battlescape/cl_actor.c:2367:73: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_actor.c:2371:9: Operand of ! is non-boolean (float): !delta src/client/battlescape/cl_actor.c:2372:19: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2372:19: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2372:19: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2378:16: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2378:16: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c:2378:16: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_actor.c: (in function CL_NextAlienVisibleFromActor_f) src/client/battlescape/cl_actor.c:2405:7: Operands of && are non-boolean (qboolean): le->inuse && LE_IsLivingAndVisibleActor(le) src/client/battlescape/cl_actor.c:2407:8: Test expression for if not boolean, type qboolean: CL_ActorVis(selActor, le) src/client/battlescape/cl_actor.c:2410:69: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_actor.c:2410:5: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_actor.c: (in function CL_NextAlien_f) src/client/battlescape/cl_actor.c:2435:21: Operand of ! is non-boolean (qboolean): !le->invis src/client/battlescape/cl_actor.c:2435:7: Left operand of && is non-boolean (qboolean): le->inuse && !le->invis src/client/battlescape/cl_actor.c:2435:34: Right operand of && is non-boolean (qboolean): le->inuse && !le->invis && LE_IsLivingAndVisibleActor(le) src/client/battlescape/cl_actor.c: (in function CL_ActorConfirmAction_f) src/client/battlescape/cl_actor.c:2482:32: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_actor.c:2481:14: Storage le becomes null src/client/battlescape/cl_actor.c:2483:8: Left operand of && is non-boolean (qboolean): LE_IsLivingActor(le) && le->team == cls.team src/client/battlescape/cl_actor.c: (in function ACTOR_InitStartup) src/client/battlescape/cl_actor.c:2496:2: Only storage assigned to unqualified static: cl_autostand = Cvar_Get("cl_autostand", "1", 2 | 1, "Save accidental TU waste by allowing server to autostand before long walks") src/client/battlescape/cl_actor.c:2497:2: Only storage assigned to unqualified static: confirm_actions = Cvar_Get("confirm_actions", "0", 1, "Confirm all actions in tactical mode") src/client/battlescape/cl_actor.c:2498:2: Only storage assigned to unqualified static: cl_showactors = Cvar_Get("cl_showactors", "1", 0, "Show actors on the battlefield") src/client/battlescape/cl_actor.c:2499:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle to next actor") src/client/battlescape/cl_actor.c:2500:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Select an actor from list") src/client/battlescape/cl_actor.c:2501:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Update an actor") src/client/battlescape/cl_actor.c:2503:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle stand/crounch") src/client/battlescape/cl_actor.c:2504:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle the headgear") src/client/battlescape/cl_actor.c:2505:59: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Opens or closes a door") src/client/battlescape/cl_actor.c:2506:65: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Confirm the current action") src/client/battlescape/cl_actor.c:2507:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle to next alien visible from selected actor.") src/client/battlescape/cl_actor.c:2509:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle to next alien") src/client/battlescape/cl_actor.c:2516:39: Null storage passed as non-null param: Cmd_AddCommand (..., NULL, ...) src/client/battlescape/cl_battlescape.c: (in function CL_OnBattlescape) src/client/battlescape/cl_battlescape.c:52:6: Test expression for if not boolean, type int: Com_ServerState() src/client/battlescape/cl_battlescape.c: (in function CL_LookupErrorFunction) src/client/battlescape/cl_battlescape.c:109:2: Assignment of double to float: ifloat = floor(z * 10.0f) src/client/battlescape/cl_battlescape.c: (in function CL_GetHitProbability) src/client/battlescape/cl_battlescape.c:135:9: Function assert expects arg 1 to be boolean gets le_t *: actor src/client/battlescape/cl_battlescape.c:136:9: Function assert expects arg 1 to be boolean gets fireDef_t *: actor->fd src/client/battlescape/cl_battlescape.c:149:6: Left operand of && is non-boolean (qboolean): le->selected && !((le->fd)->damage[0] < 0) src/client/battlescape/cl_battlescape.c:150:12: Fresh storage le not released before return src/client/battlescape/cl_battlescape.c:144:2: Fresh storage le created src/client/battlescape/cl_battlescape.c:156:2: Assignment of double to int: distx = fabs(shooter[0] - target[0]) src/client/battlescape/cl_battlescape.c:157:2: Assignment of double to int: disty = fabs(shooter[1] - target[1]) src/client/battlescape/cl_battlescape.c:158:18: Function sqrt expects arg 1 to be double gets int: distx * distx + disty * disty src/client/battlescape/cl_battlescape.c:158:2: Assignment of double to float: distance = sqrt(distx * distx + disty * disty) src/client/battlescape/cl_battlescape.c:164:11: Test expression for conditional not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_battlescape.c:164:2: Assignment of int to float: height = ((le)->state & 0x0004) ? (5 - -24) : (20 - -24) src/client/battlescape/cl_battlescape.c:170:26: Arrow access from possibly null pointer chr: chr->score src/client/battlescape/cl_battlescape.c:166:8: Storage chr may become null src/client/battlescape/cl_battlescape.c:171:4: Test expression for conditional not boolean, type int: actor->fd->weaponSkill src/client/battlescape/cl_battlescape.c:173:12: Operands of && are non-booleans (int, float): ((actor)->state & 0x0004) && actor->fd->crouch src/client/battlescape/cl_battlescape.c:175:2: Assignment of double to float: commonfactor = crouch * (3.14159265358979323846 / 180.0f) * distance * ((float)(actor->HP) / (float)(actor->maxHP) > 0.5f ? 1.0f : 1.0f + 0.2f * ((1.0f / ((float)(actor->HP) / (float)(actor->maxHP) + 0.5f)) - 1.0f) * (float)100 / (float)(chr->score.skills[ABILITY_MIND])) src/client/battlescape/cl_battlescape.c:188:2: Assignment of int to float: perpX = disty / distance * width src/client/battlescape/cl_battlescape.c:189:2: Assignment of int to float: perpY = 0 - distx / distance * width src/client/battlescape/cl_battlescape.c:196:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:201:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:206:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:209:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:214:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:219:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:224:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:229:7: Operand of ! is non-boolean (qboolean): !TR_TestLine(shooter, target, 0x0000) src/client/battlescape/cl_battlescape.c:232:9: Return value type double does not match declared type int: 100 * (hitchance * (0.125) * n) src/client/battlescape/cl_battlescape.c:232:41: Fresh storage le not released before return src/client/battlescape/cl_battlescape.c:144:2: Fresh storage le created src/client/battlescape/cl_battlescape.c:232:41: Fresh storage chr not released before return src/client/battlescape/cl_battlescape.c:166:2: Fresh storage chr created src/client/battlescape/cl_camera.c: (in function CL_CameraMove) src/client/battlescape/cl_camera.c:106:7: Operand of ! is non-boolean (int): !viddef.viewWidth src/client/battlescape/cl_camera.c:106:28: Operand of ! is non-boolean (int): !viddef.viewHeight src/client/battlescape/cl_camera.c:111:2: Assignment of double to float: frac = cls.frametime * moveaccel * 2.5 src/client/battlescape/cl_camera.c:120:4: Assignment of int to vec_t: cl.cam.omega[i] = 0 src/client/battlescape/cl_camera.c:134:2: Assignment of int to vec_t: cl.cam.omega[2] = 0 src/client/battlescape/cl_camera.c:146:6: Test expression for if not boolean, type qboolean: cameraRoute src/client/battlescape/cl_camera.c:151:35: Passed storage delta not completely defined (*delta is undefined): VectorNormalize2 (..., delta) src/client/battlescape/cl_camera.c:151:4: Return value (type vec_t) ignored: VectorNormalize2... src/client/battlescape/cl_camera.c:162:23: Variable angle initialized to type double, expects float: cl.cam.angles[1] * (3.14159265358979323846 / 180.0f) src/client/battlescape/cl_camera.c:163:20: Variable sy initialized to type double, expects float: sin(angle) src/client/battlescape/cl_camera.c:164:20: Variable cy initialized to type double, expects float: cos(angle) src/client/battlescape/cl_camera.c:167:44: Assignment of double to vec_t: g_forward[2] = (0.0) src/client/battlescape/cl_camera.c:168:41: Assignment of double to vec_t: g_right[2] = (0.0) src/client/battlescape/cl_camera.c:169:4: Assignment of double to vec_t: g_up[0] = (0.0) src/client/battlescape/cl_camera.c:169:20: Assignment of double to vec_t: g_up[1] = (0.0) src/client/battlescape/cl_camera.c:169:36: Assignment of double to vec_t: g_up[2] = (1.0) src/client/battlescape/cl_camera.c:175:35: Passed storage delta not completely defined (*delta is undefined): VectorNormalize2 (..., delta) src/client/battlescape/cl_camera.c:175:4: Return value (type vec_t) ignored: VectorNormalize2... src/client/battlescape/cl_camera.c:178:37: Assignment of int to vec_t: cl.cam.speed[2] = 0 src/client/battlescape/cl_camera.c:181:3: Assignment of double to float: frac = cls.frametime * moveaccel * 3.5 src/client/battlescape/cl_camera.c:182:22: Assignment of int to vec_t: delta[2] = 0 src/client/battlescape/cl_camera.c:185:3: Return value (type vec_t) ignored: VectorNormalize(... src/client/battlescape/cl_camera.c:203:4: Assignment of double to vec_t: (cl.cam.speed)[0] = (cl.cam.speed)[0] * (1.0 / frac) src/client/battlescape/cl_camera.c:203:59: Assignment of double to vec_t: (cl.cam.speed)[1] = (cl.cam.speed)[1] * (1.0 / frac) src/client/battlescape/cl_camera.c:203:114: Assignment of double to vec_t: (cl.cam.speed)[2] = (cl.cam.speed)[2] * (1.0 / frac) src/client/battlescape/cl_camera.c:220:2: Assignment of double to vec_t: cl.cam.origin[2] = 0. src/client/battlescape/cl_camera.c:221:6: Test expression for if not boolean, type int: cl_isometric->integer src/client/battlescape/cl_camera.c:226:20: Function CL_ClampCamToMap expects arg 1 to be float gets double: ((144. * (cl.cam.zoom - cl_camzoommin->value - 0.4) / cl_camzoommax->value) < (86) ? (144. * (cl.cam.zoom - cl_camzoommin->value - 0.4) / cl_camzoommax->value) : (86)) src/client/battlescape/cl_camera.c:239:35: Function parameter from declared as manifest array (size constant is meaningless) src/client/battlescape/cl_camera.c:239:54: Function parameter target declared as manifest array (size constant is meaningless) src/client/battlescape/cl_camera.c: (in function CL_CameraRoute) src/client/battlescape/cl_camera.c:241:7: Operand of ! is non-boolean (int): !cl_centerview->integer src/client/battlescape/cl_camera.c:245:6: Assignment of int to vec_t: routeFrom[0] = ((int)from[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_camera.c:245:71: Assignment of int to vec_t: routeFrom[1] = ((int)from[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_camera.c:245:136: Assignment of int to vec_t: routeFrom[2] = (int)from[2] * 64 + 64 / 2 src/client/battlescape/cl_camera.c:246:6: Assignment of int to vec_t: routeDelta[0] = ((int)target[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_camera.c:246:74: Assignment of int to vec_t: routeDelta[1] = ((int)target[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_camera.c:246:142: Assignment of int to vec_t: routeDelta[2] = (int)target[2] * 64 + 64 / 2 src/client/battlescape/cl_camera.c:248:2: Assignment of int to vec_t: routeDelta[2] = 0 src/client/battlescape/cl_camera.c:250:2: Return value (type vec_t) ignored: VectorNormalize(... src/client/battlescape/cl_camera.c:257:33: Function Cvar_SetValue expects arg 2 to be float gets pos_t: target[2] src/client/battlescape/cl_camera.c:259:35: Assignment of int to vec_t: cl.cam.speed[2] = 0 src/client/battlescape/cl_camera.c: (in function CL_CameraZoomIn) src/client/battlescape/cl_camera.c:274:3: Assignment of double to float: quant = 1 + 0.05 src/client/battlescape/cl_camera.c:276:3: Assignment of double to float: quant = 1 + 1.0 src/client/battlescape/cl_camera.c: (in function CL_CameraZoomOut) src/client/battlescape/cl_camera.c:297:3: Assignment of double to float: quant = 1 + 0.05 src/client/battlescape/cl_camera.c:299:3: Assignment of double to float: quant = 1 + 1.0 src/client/battlescape/cl_camera.c: (in function CL_CamSetAngles_f) src/client/battlescape/cl_camera.c:332:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_camera.c:332:2: Assignment of double to vec_t: cl.cam.angles[0] = atof(Cmd_Argv(1)) src/client/battlescape/cl_camera.c:333:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/battlescape/cl_camera.c:333:2: Assignment of double to vec_t: cl.cam.angles[1] = atof(Cmd_Argv(2)) src/client/battlescape/cl_camera.c: (in function CL_CamSetZoom_f) src/client/battlescape/cl_camera.c:347:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_camera.c:347:2: Assignment of double to float: cl.cam.zoom = atof(Cmd_Argv(1)) src/client/battlescape/cl_camera.c: (in function CL_CenterCameraIntoMap_f) src/client/battlescape/cl_camera.c:355:43: Passed storage center not completely defined (*center is undefined): VectorCenterFromMinsMaxs (..., center) src/client/battlescape/cl_camera.c: (in function CL_CameraInit) src/client/battlescape/cl_camera.c:361:56: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/battlescape/cl_camera.c:361:2: Only storage assigned to unqualified static: cl_camrotspeed = Cvar_Get("cl_camrotspeed", "250", 1, NULL) src/client/battlescape/cl_camera.c:362:58: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/battlescape/cl_camera.c:362:2: Only storage assigned to unqualified static: cl_cammovespeed = Cvar_Get("cl_cammovespeed", "750", 1, NULL) src/client/battlescape/cl_camera.c:363:59: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/battlescape/cl_camera.c:363:2: Only storage assigned to unqualified static: cl_cammoveaccel = Cvar_Get("cl_cammoveaccel", "1250", 1, NULL) src/client/battlescape/cl_camera.c:364:2: Only storage assigned to unqualified static: cl_campitchmax = Cvar_Get("cl_campitchmax", "89", 0, "Max camera pitch - over 90 presents apparent mouse inversion") src/client/battlescape/cl_camera.c:365:2: Only storage assigned to unqualified static: cl_campitchmin = Cvar_Get("cl_campitchmin", "35", 0, "Min camera pitch - under 35 presents difficulty positioning cursor") src/client/battlescape/cl_camera.c:366:59: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/battlescape/cl_hud.c:82:27: Incompatible types for * (boolean, int): (((sizeof((shootTypeStrings)) / sizeof((*(shootTypeStrings)))) == BT_NUM_TYPES) != 0) * 2 src/client/battlescape/cl_hud.c:103:27: Incompatible types for * (boolean, int): (((sizeof((moveModeDescriptions)) / sizeof((*(moveModeDescriptions)))) == WALKTYPE_MAX) != 0) * 2 src/client/battlescape/cl_hud.c: (in function HUD_DisplayMessage) src/client/battlescape/cl_hud.c:122:9: Function assert expects arg 1 to be boolean gets char *: text src/client/battlescape/cl_hud.c: (in function HUD_UpdateAllActors) src/client/battlescape/cl_hud.c:135:39: Function Cvar_SetValue expects arg 2 to be float gets int: cl.numAliensSpotted src/client/battlescape/cl_hud.c:138:14: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_hud.c:138:7: Left operand of && is non-boolean (le_t *): le && !((le)->state & 0x0003) src/client/battlescape/cl_hud.c:142:11: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_hud.c:145:42: Operand of ! is non-boolean (qboolean): !invList->item.t->holdTwoHanded src/client/battlescape/cl_hud.c:145:77: Right operand of && is non-boolean (invList_t *): (!invList || !invList->item.t || !invList->item.t->holdTwoHanded) && (((le)->i.c[(csi.idLeft)])) src/client/battlescape/cl_hud.c:149:44: Operands of && are non-booleans (invList_t *, objDef_t *): invList && invList->item.t src/client/battlescape/cl_hud.c:148:17: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\nHP: %i/%i TU: %i\n%s") src/client/battlescape/cl_hud.c:153:4: Fresh storage tooltip not released before scope exit src/client/battlescape/cl_hud.c:148:4: Fresh storage tooltip created src/client/battlescape/cl_hud.c:153:4: Fresh storage chr not released before scope exit src/client/battlescape/cl_hud.c:141:48: Fresh storage chr created src/client/battlescape/cl_hud.c: (in function HUD_UsableReactionTUs) src/client/battlescape/cl_hud.c:201:6: Test expression for if not boolean, type int: le->state & 0x0300 src/client/battlescape/cl_hud.c: (in function HUD_CheckFiremodeReservation) src/client/battlescape/cl_hud.c:230:16: Operands of < have incompatible types (int, fireDefIndex_t): i < ammo->numFiredefs[fireDef->weapFdsIdx] src/client/battlescape/cl_hud.c:242:3: Fresh storage fireDef not released before scope exit src/client/battlescape/cl_hud.c:226:3: Fresh storage fireDef created src/client/battlescape/cl_hud.c:242:11: Test expression for while not boolean, type enum { qfalse, qtrue }: qtrue src/client/battlescape/cl_hud.c: (in function HUD_PopupFiremodeReservation) src/client/battlescape/cl_hud.c:273:9: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_hud.c:275:6: Test expression for if not boolean, type qboolean: reset src/client/battlescape/cl_hud.c:277:56: Null storage passed as non-null param: CL_ActorSetShotSettings (..., NULL) src/client/battlescape/cl_hud.c:278:10: Fresh storage chr not released before return src/client/battlescape/cl_hud.c:272:2: Fresh storage chr created src/client/battlescape/cl_hud.c:287:18: Null storage popupListText derivable from parameter LIST_AddPointer (&popupListText, ...) src/client/battlescape/cl_hud.c:265:32: Storage popupListText becomes null src/client/battlescape/cl_hud.c:287:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("[0 TU] No reservation") src/client/battlescape/cl_hud.c:292:2: Return value (type linkedList_t *) ignored: LIST_Add(&popupL... src/client/battlescape/cl_hud.c:301:16: Operands of < have incompatible types (int, fireDefIndex_t): i < ammo->numFiredefs[fd->weapFdsIdx] src/client/battlescape/cl_hud.c:305:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("[%i TU] %s") src/client/battlescape/cl_hud.c:305:6: Return value (type qboolean) ignored: Com_sprintf(text... src/client/battlescape/cl_hud.c:315:6: Return value (type linkedList_t *) ignored: LIST_Add(&popupL... src/client/battlescape/cl_hud.c:319:10: Operands of == have incompatible types (fireDefIndex_t, int): chr->reservedTus.shotSettings.fmIdx == i src/client/battlescape/cl_hud.c:332:3: Fresh storage fd not released before scope exit src/client/battlescape/cl_hud.c:296:70: Fresh storage fd created src/client/battlescape/cl_hud.c:332:11: Test expression for while not boolean, type enum { qfalse, qtrue }: qtrue src/client/battlescape/cl_hud.c:334:39: Right operand of || is non-boolean (qboolean): LIST_Count(popupListData) > 1 || popupReload src/client/battlescape/cl_hud.c:337:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Shot Reservation") src/client/battlescape/cl_hud.c:337:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reserve TUs for firing/using.") src/client/battlescape/cl_hud.c:337:3: Only storage assigned to unqualified static: popupListNode = MN_PopupList(gettext("Shot Reservation"), gettext("Reserve TUs for firing/using."), popupListText, "hud_shotreserve ") src/client/battlescape/cl_hud.c:339:4: Assignment of double to vec_t: popupListNode->selectedColor[0] = (0.0) src/client/battlescape/cl_hud.c:339:44: Assignment of double to vec_t: popupListNode->selectedColor[1] = (0.78) src/client/battlescape/cl_hud.c:339:85: Assignment of double to vec_t: popupListNode->selectedColor[2] = (0.0) src/client/battlescape/cl_hud.c:340:3: Assignment of double to vec_t: popupListNode->selectedColor[3] = 1.0 src/client/battlescape/cl_hud.c:343:2: Fresh storage chr not released before return src/client/battlescape/cl_hud.c:272:2: Fresh storage chr created src/client/battlescape/cl_hud.c: (in function HUD_PopupFiremodeReservation_f) src/client/battlescape/cl_hud.c:353:31: Function HUD_PopupFiremodeReservation expects arg 1 to be qboolean gets boolean: Cmd_Argc() == 2 src/client/battlescape/cl_hud.c: (in function HUD_ShotReserve_f) src/client/battlescape/cl_hud.c:374:28: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_hud.c:387:10: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_hud.c:392:3: Fresh storage od not released before scope exit src/client/battlescape/cl_hud.c:385:60: Fresh storage od created src/client/battlescape/cl_hud.c:392:3: Fresh storage chr not released before scope exit src/client/battlescape/cl_hud.c:386:47: Fresh storage chr created src/client/battlescape/cl_hud.c:393:2: Fresh storage reserveShotData not released before return src/client/battlescape/cl_hud.c:378:2: Fresh storage reserveShotData created src/client/battlescape/cl_hud.c:393:2: Function returns with non-null global popupListNode referencing null storage src/client/battlescape/cl_hud.c: (in function HUD_DisplayFiremodeEntry) src/client/battlescape/cl_hud.c:407:6: Operands of < have incompatible types (int, fireDefIndex_t): index < ammo->numFiredefs[weapFdsIdx] src/client/battlescape/cl_hud.c:419:9: Function assert expects arg 1 to be boolean gets le_t *: actor src/client/battlescape/cl_hud.c:422:2: Assignment of boolean to qboolean: status = fd->time <= CL_ActorUsableTUs(actor) src/client/battlescape/cl_hud.c:426:15: Passed storage tuString not completely defined (*tuString is undefined): Com_sprintf (tuString, ...) src/client/battlescape/cl_hud.c:426:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Remaining TUs: %i") src/client/battlescape/cl_hud.c:426:3: Return value (type qboolean) ignored: Com_sprintf(tuSt... src/client/battlescape/cl_hud.c:429:3: Clauses exit with tooltip referencing stack storage in true branch, fresh storage in false branch src/client/battlescape/cl_hud.c:429:3: Fresh storage tooltip created src/client/battlescape/cl_hud.c:427:3: Storage tooltip becomes stack-allocated storage src/client/battlescape/cl_hud.c:432:59: New fresh storage (type char *) passed as implicitly temp (not released): gettext("TU: %i") src/client/battlescape/cl_hud.c:433:7: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Shots: %i") src/client/battlescape/cl_hud.c:436:6: Test expression for if not boolean, type qboolean: fd->reaction src/client/battlescape/cl_hud.c:438:27: Variable active initialized to type boolean, expects qboolean: ((&chr->RFmode)->hand == (hand) && (&chr->RFmode)->fmIdx == (fd->fdIdx)) src/client/battlescape/cl_hud.c:441:3: Fresh storage chr not released before scope exit src/client/battlescape/cl_hud.c:437:44: Fresh storage chr created src/client/battlescape/cl_hud.c: (in function HUD_DisplayFiremodes) src/client/battlescape/cl_hud.c:466:10: Fresh storage fd not released before return src/client/battlescape/cl_hud.c:459:2: Fresh storage fd created src/client/battlescape/cl_hud.c:469:6: Test expression for if not boolean, type qboolean: firemodesChangeDisplay src/client/battlescape/cl_hud.c:480:9: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_hud.c:486:2: Fresh storage fd not released before return src/client/battlescape/cl_hud.c:459:2: Fresh storage fd created src/client/battlescape/cl_hud.c:486:2: Fresh storage chr not released before return src/client/battlescape/cl_hud.c:479:2: Fresh storage chr created src/client/battlescape/cl_hud.c: (in function HUD_SwitchFiremodeList_f) src/client/battlescape/cl_hud.c:519:6: Operands of || are non-boolean (qboolean): visibleFiremodeListRight || visibleFiremodeListLeft src/client/battlescape/cl_hud.c: (in function HUD_UpdateReactionFiremodes) src/client/battlescape/cl_hud.c:534:9: Function assert expects arg 1 to be boolean gets le_t *: actor src/client/battlescape/cl_hud.c:543:7: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(od) src/client/battlescape/cl_hud.c:544:10: Fresh storage fd not released before return src/client/battlescape/cl_hud.c:536:2: Fresh storage fd created src/client/battlescape/cl_hud.c:547:2: Fresh storage fd not released before return src/client/battlescape/cl_hud.c:536:2: Fresh storage fd created src/client/battlescape/cl_hud.c: (in function HUD_SelectReactionFiremode_f) src/client/battlescape/cl_hud.c:566:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/battlescape/cl_hud.c:566:2: Assignment of int to fireDefIndex_t: firemode = atoi(Cmd_Argv(2)) src/client/battlescape/cl_hud.c: (in function HUD_RemainingTUs_f) src/client/battlescape/cl_hud.c:591:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/battlescape/cl_hud.c:595:7: Operand of ! is non-boolean (int): !strcmp(type, "reload_r") src/client/battlescape/cl_hud.c:597:14: Operand of ! is non-boolean (int): !strcmp(type, "reload_l") src/client/battlescape/cl_hud.c:599:14: Operand of ! is non-boolean (int): !strcmp(type, "crouch") src/client/battlescape/cl_hud.c:602:2: Fresh storage type not released before return src/client/battlescape/cl_hud.c:590:2: Fresh storage type created src/client/battlescape/cl_hud.c: (in function HUD_GetMinimumTUsForUsage) src/client/battlescape/cl_hud.c:614:9: Function assert expects arg 1 to be boolean gets objDef_t *: invList->item.t src/client/battlescape/cl_hud.c:627:8: Operand of ! is non-boolean (int): !fdArray[i].time src/client/battlescape/cl_hud.c:633:14: Fresh storage fdArray not released before return src/client/battlescape/cl_hud.c:616:2: Fresh storage fdArray created src/client/battlescape/cl_hud.c: (in function HUD_WeaponCanBeReloaded) src/client/battlescape/cl_hud.c:649:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_hud.c:658:9: Function assert expects arg 1 to be boolean gets objDef_t *: weapon src/client/battlescape/cl_hud.c:661:7: Operand of ! is non-boolean (int): !weapon->reload src/client/battlescape/cl_hud.c:667:6: Left operand of && is non-boolean (objDef_t *): invList->item.m && weapon->ammo == invList->item.a src/client/battlescape/cl_hud.c:674:54: Function HUD_CalcReloadTime expects arg 3 to be int gets containerIndex_t: containerID src/client/battlescape/cl_hud.c: (in function HUD_WeaponWithReaction) src/client/battlescape/cl_hud.c:696:16: Fresh storage weapon not released before return src/client/battlescape/cl_hud.c:694:83: Fresh storage weapon created src/client/battlescape/cl_hud.c:697:9: Return value type boolean does not match declared type qboolean: INVSH_HasReactionFireEnabledWeapon((((actor)->i.c[(csi.idLeft)]))) != NULL src/client/battlescape/cl_hud.c: (in function HUD_DisplayImpossibleReaction) src/client/battlescape/cl_hud.c:711:7: Operand of ! is non-boolean (qboolean): !actor->selected src/client/battlescape/cl_hud.c:715:6: Test expression for if not boolean, type int: actor->state & 0x0100 src/client/battlescape/cl_hud.c:717:11: Test expression for if not boolean, type int: actor->state & 0x0200 src/client/battlescape/cl_hud.c: (in function HUD_DisplayPossibleReaction) src/client/battlescape/cl_hud.c:735:7: Operand of ! is non-boolean (qboolean): !actor->selected src/client/battlescape/cl_hud.c:739:6: Test expression for if not boolean, type int: actor->state & 0x0100 src/client/battlescape/cl_hud.c:741:11: Test expression for if not boolean, type int: actor->state & 0x0200 src/client/battlescape/cl_hud.c: (in function HUD_RefreshButtons) src/client/battlescape/cl_hud.c:765:19: Operand of ! is non-boolean (qboolean): !weaponr->item.t->holdTwoHanded src/client/battlescape/cl_hud.c:771:6: Test expression for if not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_hud.c:773:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough TUs for standing up.") src/client/battlescape/cl_hud.c:773:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:776:37: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Stand up (%i TU)") src/client/battlescape/cl_hud.c:776:34: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Stand up (%i TU)"), 3) src/client/battlescape/cl_hud.c:776:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:781:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough TUs for crouching.") src/client/battlescape/cl_hud.c:781:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:784:37: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Crouch (%i TU)") src/client/battlescape/cl_hud.c:784:34: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Crouch (%i TU)"), 3) src/client/battlescape/cl_hud.c:784:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:792:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i TUs reserved for crouching/standing up.\nClick to clear.") src/client/battlescape/cl_hud.c:792:40: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i TUs reserved for crouching/standing up.\nClick to clear."), CL_ActorReservedTUs(le, RES_CROUCH)) src/client/battlescape/cl_hud.c:792:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:796:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reserve %i TUs for crouching/standing up.") src/client/battlescape/cl_hud.c:796:40: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Reserve %i TUs for crouching/standing up."), 3) src/client/battlescape/cl_hud.c:796:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:799:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough TUs left to reserve for crouching/standing up.") src/client/battlescape/cl_hud.c:799:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_cro... src/client/battlescape/cl_hud.c:803:6: Test expression for if not boolean, type int: CL_ActorReservedTUs(le, RES_SHOT) src/client/battlescape/cl_hud.c:805:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i TUs reserved for shooting.\nClick to change.\nRight-Click to clear.") src/client/battlescape/cl_hud.c:805:38: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i TUs reserved for shooting.\nClick to change.\nRight-Click to clear."), CL_ActorReservedTUs(le, RES_SHOT)) src/client/battlescape/cl_hud.c:805:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/battlescape/cl_hud.c:807:13: Test expression for if not boolean, type qboolean: HUD_CheckFiremodeReservation() src/client/battlescape/cl_hud.c:809:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reserve TUs for shooting.") src/client/battlescape/cl_hud.c:809:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/battlescape/cl_hud.c:812:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reserving TUs for shooting not possible.") src/client/battlescape/cl_hud.c:812:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/battlescape/cl_hud.c:816:7: Operand of ! is non-boolean (int): !(le->state & 0x0300) src/client/battlescape/cl_hud.c:817:56: Right operand of && is non-boolean (qboolean): time >= CL_ActorReservedTUs(le, RES_REACTION) && HUD_WeaponWithReaction(le) src/client/battlescape/cl_hud.c:822:7: Test expression for if not boolean, type qboolean: HUD_WeaponWithReaction( le) src/client/battlescape/cl_hud.c:825:4: Return value (type qboolean) ignored: HUD_DisplayImpos... src/client/battlescape/cl_hud.c:830:64: Passed storage &reason not completely defined: HUD_WeaponCanBeReloaded (..., &reason) src/client/battlescape/cl_hud.c:833:36: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reload weapon (%i TU).") src/client/battlescape/cl_hud.c:833:33: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Reload weapon (%i TU)."), rightCanBeReloaded) src/client/battlescape/cl_hud.c:833:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rel... src/client/battlescape/cl_hud.c:835:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rel... src/client/battlescape/cl_hud.c:842:35: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reload weapon (%i TU).") src/client/battlescape/cl_hud.c:842:32: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Reload weapon (%i TU)."), leftCanBeReloaded) src/client/battlescape/cl_hud.c:842:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rel... src/client/battlescape/cl_hud.c:844:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rel... src/client/battlescape/cl_hud.c:883:30: Right operand of && is non-boolean (char *): menuName[0] != '\0' && strstr(MN_GetActiveWindowName(), "popup_list") src/client/battlescape/cl_hud.c:888:3: Fresh storage menuName not released before scope exit src/client/battlescape/cl_hud.c:882:51: Fresh storage menuName created src/client/battlescape/cl_hud.c: (in function HUD_DrawMouseCursorText) src/client/battlescape/cl_hud.c:901:6: Operands of && are non-booleans (char *, int): string && cl_show_cursor_tooltips->integer src/client/battlescape/cl_hud.c:905:107: Null storage passed as non-null param: R_FontTextSize (..., NULL, ...) src/client/battlescape/cl_hud.c:905:113: Null storage passed as non-null param: R_FontTextSize (..., NULL) src/client/battlescape/cl_hud.c:907:8: Operand of ! is non-boolean (int): !width src/client/battlescape/cl_hud.c:908:11: Fresh storage string not released before return src/client/battlescape/cl_hud.c:899:42: Fresh storage string created src/client/battlescape/cl_hud.c:910:151: Null storage passed as non-null param: MN_DrawString (..., NULL, ...) src/client/battlescape/cl_hud.c:910:3: Return value (type int) ignored: MN_DrawString("f... src/client/battlescape/cl_hud.c:912:2: Fresh storage string not released before return src/client/battlescape/cl_hud.c:899:42: Fresh storage string created src/client/battlescape/cl_hud.c: (in function HUD_UpdateCursor) src/client/battlescape/cl_hud.c:938:7: Operands of || are non-boolean (int): ((le)->state & 0x0004) || (le->state & 0x0300) src/client/battlescape/cl_hud.c:946:34: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetText(TEXT_MOUSECURSOR_PLAYERNAMES) src/client/battlescape/cl_hud.c:946:127: Null storage passed as non-null param: R_FontTextSize (..., NULL, ...) src/client/battlescape/cl_hud.c:946:133: Null storage passed as non-null param: R_FontTextSize (..., NULL, ...) src/client/battlescape/cl_hud.c:946:139: Null storage passed as non-null param: R_FontTextSize (..., NULL) src/client/battlescape/cl_hud.c:949:7: Operands of || are non-boolean (int): width || (le->state & 0x0300) src/client/battlescape/cl_hud.c:955:21: Right operand of && is non-boolean (char *): width == 0 && MN_GetText(TEXT_MOUSECURSOR_RIGHT) src/client/battlescape/cl_hud.c:956:34: New fresh storage (type char *) passed as implicitly temp (not released): MN_GetText(TEXT_MOUSECURSOR_RIGHT) src/client/battlescape/cl_hud.c:956:121: Null storage passed as non-null param: R_FontTextSize (..., NULL, ...) src/client/battlescape/cl_hud.c:956:127: Null storage passed as non-null param: R_FontTextSize (..., NULL, ...) src/client/battlescape/cl_hud.c:956:133: Null storage passed as non-null param: R_FontTextSize (..., NULL) src/client/battlescape/cl_hud.c:961:7: Test expression for if not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_hud.c:964:17: Function R_DrawImage expects arg 1 to be float gets int: mousePosX - image->width / 2 + iconOffsetX src/client/battlescape/cl_hud.c:964:61: Function R_DrawImage expects arg 2 to be float gets int: mousePosY - image->height / 2 + iconOffsetY src/client/battlescape/cl_hud.c:972:7: Test expression for if not boolean, type int: le->state & 0x0100 src/client/battlescape/cl_hud.c:974:12: Test expression for if not boolean, type int: le->state & 0x0200 src/client/battlescape/cl_hud.c:980:16: Function R_DrawImage expects arg 1 to be float gets int: mousePosX - image->width / 2 + iconOffsetX src/client/battlescape/cl_hud.c:980:60: Function R_DrawImage expects arg 2 to be float gets int: mousePosY - image->height / 2 + iconOffsetY src/client/battlescape/cl_hud.c:988:3: Fresh storage image not released before scope exit src/client/battlescape/cl_hud.c:975:4: Fresh storage image created src/client/battlescape/cl_hud.c:994:6: Test expression for if not boolean, type int: cl_map_debug->integer & (1 << 1) src/client/battlescape/cl_hud.c: (in function HUD_MapDebugCursor) src/client/battlescape/cl_hud.c:1010:6: Test expression for if not boolean, type int: cl_map_debug->integer & (1 << 1) src/client/battlescape/cl_hud.c:1021:3: Return value (type qboolean) ignored: Com_sprintf(topT... src/client/battlescape/cl_hud.c:1026:3: Return value (type qboolean) ignored: Com_sprintf(bott... src/client/battlescape/cl_hud.c:1031:24: Arrow access from possibly null pointer le: le->pathMap src/client/battlescape/cl_hud.c:1032:79: Left operand of >> may be negative (int): dv >> 3 src/client/battlescape/cl_hud.c:1032:3: Return value (type qboolean) ignored: Com_sprintf(left... src/client/battlescape/cl_hud.c: (in function HUD_UpdateActorFireMode) src/client/battlescape/cl_hud.c:1051:44: Null storage passed as non-null param: HUD_GetLeftHandWeapon (..., NULL) src/client/battlescape/cl_hud.c:1054:2: Clauses exit with selWeapon referencing fresh storage in true branch, local storage in false branch src/client/battlescape/cl_hud.c:1051:3: Fresh storage selWeapon created src/client/battlescape/cl_hud.c:1063:30: Null storage passed as non-null param: CL_ActorSetFireDef (..., NULL) src/client/battlescape/cl_hud.c:1067:31: Null storage passed as non-null param: CL_ActorSetFireDef (..., NULL) src/client/battlescape/cl_hud.c:1071:10: Left operand of || is non-boolean (qboolean): selWeapon->item.t->weapon || selWeapon->item.t->weapons[0] == selWeapon->item.t src/client/battlescape/cl_hud.c:1077:8: Fresh storage old not released before scope exit src/client/battlescape/cl_hud.c:1075:96: Fresh storage old created src/client/battlescape/cl_hud.c:1078:7: Fresh storage fdArray not released before scope exit src/client/battlescape/cl_hud.c:1072:70: Fresh storage fdArray created src/client/battlescape/cl_hud.c:1086:6: Fresh storage old not released before scope exit src/client/battlescape/cl_hud.c:1083:94: Fresh storage old created src/client/battlescape/cl_hud.c:1087:5: Fresh storage fdArray not released before scope exit src/client/battlescape/cl_hud.c:1081:68: Fresh storage fdArray created src/client/battlescape/cl_hud.c:1090:27: Possibly null storage selWeapon->item.t passed as non-null param: GAME_ItemIsUseable (selWeapon->item.t) src/client/battlescape/cl_hud.c:1090:8: Operand of ! is non-boolean (qboolean): !GAME_ItemIsUseable(selWeapon->item.t) src/client/battlescape/cl_hud.c:1091:23: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot use this unknown item.\nYou need to research it first.\n") src/client/battlescape/cl_hud.c:1097:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c:1109:9: Left operand of && is non-boolean (int): selWeapon->item.t->reload && selWeapon->item.a <= 0 src/client/battlescape/cl_hud.c:1112:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\n(empty)\n") src/client/battlescape/cl_hud.c:1112:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c: (in function HUD_UpdateActorMove) src/client/battlescape/cl_hud.c:1134:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Morale %i | Reserved TUs: %i\n") src/client/battlescape/cl_hud.c:1134:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c:1136:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Morale %i") src/client/battlescape/cl_hud.c:1136:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c:1139:48: Function CL_ActorMoveMode expects arg 2 to be int gets byte: actor->actorMoveLength src/client/battlescape/cl_hud.c:1141:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Morale %i | Reserved TUs: %i\n%s %i (%i|%i TU left)\n") src/client/battlescape/cl_hud.c:1141:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c:1145:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Morale %i\n%s %i (%i TU left)\n") src/client/battlescape/cl_hud.c:1145:4: Return value (type qboolean) ignored: Com_sprintf(info... src/client/battlescape/cl_hud.c:1148:7: Operands of <= have incompatible types (byte, int): actor->actorMoveLength <= CL_ActorUsableTUs(actor) src/client/battlescape/cl_hud.c:1149:4: Return value (type qboolean) ignored: Com_sprintf(mous... src/client/battlescape/cl_hud.c:1151:4: Return value (type qboolean) ignored: Com_sprintf(mous... src/client/battlescape/cl_hud.c:1158:9: Return value type byte does not match declared type int: actor->actorMoveLength src/client/battlescape/cl_hud.c: (in function HUD_UpdateActor) src/client/battlescape/cl_hud.c:1177:3: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Time Units\n- Available: %i (of %i)\n- Reserved: %i\n- Remaining: %i\n") src/client/battlescape/cl_hud.c:1176:2: Return value (type qboolean) ignored: Com_sprintf(tuTo... src/client/battlescape/cl_hud.c:1179:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tu_... src/client/battlescape/cl_hud.c:1184:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ani... src/client/battlescape/cl_hud.c:1188:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/battlescape/cl_hud.c:1193:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/battlescape/cl_hud.c:1200:6: Test expression for if not boolean, type int: ((actor)->state & 0x0008) src/client/battlescape/cl_hud.c:1201:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Currently panics!\n") src/client/battlescape/cl_hud.c:1202:13: Test expression for if not boolean, type qboolean: displayRemainingTus[REMAINING_TU_CROUCH] src/client/battlescape/cl_hud.c:1203:25: Possibly null storage actor->i.c[] derivable from parameter CL_ActorUsableTUs (actor) src/client/battlescape/cl_hud.c:1205:13: Operands of || are non-boolean (qboolean): displayRemainingTus[REMAINING_TU_RELOAD_RIGHT] || displayRemainingTus[REMAIN ING_TU_RELOAD_LEFT] src/client/battlescape/cl_hud.c:1207:20: Variable invList shadows outer declaration src/client/battlescape/cl_hud.c:1167:19: Previous definition of invList: invList_t * src/client/battlescape/cl_hud.c:1210:7: Operands of && are non-booleans (qboolean, invList_t *): displayRemainingTus[REMAINING_TU_RELOAD_RIGHT] && (((actor)->i.c[(csi.idRigh t)])) src/client/battlescape/cl_hud.c:1213:14: Operands of && are non-booleans (qboolean, invList_t *): displayRemainingTus[REMAINING_TU_RELOAD_LEFT] && (((actor)->i.c[(csi.idLeft) ])) src/client/battlescape/cl_hud.c:1221:7: Operands of && are non-booleans (invList_t *, objDef_t *): invList && invList->item.t src/client/battlescape/cl_hud.c:1221:37: Right operand of && is non-boolean (objDef_t *): invList && invList->item.t && invList->item.m src/client/battlescape/cl_hud.c:1221:56: Right operand of && is non-boolean (int): invList && invList->item.t && invList->item.m && invList->item.t->reload src/client/battlescape/cl_hud.c:1222:70: Function HUD_CalcReloadTime expects arg 3 to be int gets containerIndex_t: container src/client/battlescape/cl_hud.c:1226:13: Test expression for if not boolean, type qboolean: CL_ActorFireModeActivated(actor->actorMode) src/client/battlescape/cl_hud.c:1227:34: Possibly null storage actor->i.c[] derivable from parameter HUD_UpdateActorFireMode (actor) src/client/battlescape/cl_hud.c:1233:30: Possibly null storage actor->i.c[] derivable from parameter HUD_UpdateActorMove (actor) src/client/battlescape/cl_hud.c:1236:21: Possibly null storage actor->i.c[] derivable from parameter HUD_MapDebugCursor (actor) src/client/battlescape/cl_hud.c:1241:33: Function Cvar_SetValue expects arg 2 to be float gets int: invList->item.a src/client/battlescape/cl_hud.c:1243:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_amm... src/client/battlescape/cl_hud.c:1245:41: Null storage passed as non-null param: HUD_GetLeftHandWeapon (..., NULL) src/client/battlescape/cl_hud.c:1247:32: Function Cvar_SetValue expects arg 2 to be float gets int: invList->item.a src/client/battlescape/cl_hud.c:1249:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_amm... src/client/battlescape/cl_hud.c:1254:26: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", time) src/client/battlescape/cl_hud.c:1254:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tur... src/client/battlescape/cl_hud.c:1255:2: Fresh storage invList not released before return src/client/battlescape/cl_hud.c:1245:2: Fresh storage invList created src/client/battlescape/cl_hud.c:1255:2: Fresh storage animName not released before return src/client/battlescape/cl_hud.c:1182:2: Fresh storage animName created src/client/battlescape/cl_hud.c: (in function HUD_Update) src/client/battlescape/cl_hud.c:1273:6: Test expression for if not boolean, type qboolean: cl_worldlevel->modified src/client/battlescape/cl_hud.c:1290:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ani... src/client/battlescape/cl_hud.c:1291:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/battlescape/cl_hud.c:1292:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/battlescape/cl_hud.c:1296:14: Operand of ! is non-boolean (int): !cl.numTeamList src/client/battlescape/cl_hud.c:1304:2: Function returns with non-null global selActor referencing null storage src/client/battlescape/cl_actor.c:469:13: Storage selActor may become null src/client/battlescape/cl_hud.c: (in function HUD_ActorSelectionChangeListener) src/client/battlescape/cl_hud.c:1314:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/battlescape/cl_hud.c:1312:59: Parameter cvarName not used src/client/battlescape/cl_hud.c: (in function HUD_RightHandChangeListener) src/client/battlescape/cl_hud.c:1341:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/battlescape/cl_hud.c:1339:54: Parameter cvarName not used src/client/battlescape/cl_hud.c:1339:76: Parameter oldValue not used src/client/battlescape/cl_hud.c:1339:98: Parameter newValue not used src/client/battlescape/cl_hud.c: (in function HUD_LeftHandChangeListener) src/client/battlescape/cl_hud.c:1355:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/battlescape/cl_hud.c:1353:53: Parameter cvarName not used src/client/battlescape/cl_hud.c:1353:75: Parameter oldValue not used src/client/battlescape/cl_hud.c:1353:97: Parameter newValue not used src/client/battlescape/cl_hud.c: (in function HUD_TUChangeListener) src/client/battlescape/cl_hud.c:1369:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/battlescape/cl_hud.c:1367:47: Parameter cvarName not used src/client/battlescape/cl_hud.c:1367:69: Parameter oldValue not used src/client/battlescape/cl_hud.c:1367:91: Parameter newValue not used src/client/battlescape/cl_hud.c: (in function CL_CvarWorldLevel) src/client/battlescape/cl_hud.c:1377:23: Test expression for conditional not boolean, type int: cl.mapMaxLevel src/client/battlescape/cl_hud.c:1378:35: Function Cvar_AssertValue expects arg 3 to be float gets int: maxLevel src/client/battlescape/cl_hud.c: (in function HUD_InitStartup) src/client/battlescape/cl_hud.c:1393:2: Return value (type qboolean) ignored: Cvar_SetCheckFun... src/client/battlescape/cl_hud.c:1396:2: Return value (type cvar_t *) ignored: Cvar_Get("mn_amm... src/client/battlescape/cl_hud.c:1397:2: Return value (type cvar_t *) ignored: Cvar_Get("mn_lwe... src/client/battlescape/cl_hud.c:1401:2: Return value (type cvar_t *) ignored: Cvar_Get("mn_amm... src/client/battlescape/cl_hud.c:1402:2: Return value (type cvar_t *) ignored: Cvar_Get("mn_rwe... src/client/battlescape/cl_hud.c:1406:2: Return value (type cvar_t *) ignored: Cvar_Get("mn_tur... src/client/battlescape/cl_hud.c:1411:2: Only storage assigned to unqualified static: cl_hud_message_timeout = Cvar_Get("cl_hud_message_timeout", "2000", 1, "Timeout for HUD messages (milliseconds)") src/client/battlescape/cl_hud.c:1412:2: Only storage assigned to unqualified static: cl_show_cursor_tooltips = Cvar_Get("cl_show_cursor_tooltips", "1", 1, "Show cursor tooltips in tactical game mode") src/client/battlescape/cl_hud_callbacks.c: (in function HUD_GetLeftHandWeapon) src/client/battlescape/cl_hud_callbacks.c:42:27: Operand of ! is non-boolean (qboolean): !invList->item.t->holdTwoHanded src/client/battlescape/cl_hud_callbacks.c:48:9: Possibly null storage invList returned as non-null: invList src/client/battlescape/cl_hud_callbacks.c:43:14: Storage invList may become null src/client/battlescape/cl_hud_callbacks.c:48:17: Storage actor->i reachable from parameter contains 1 undefined field: c src/client/battlescape/cl_hud_callbacks.c: (in function HUD_GetFireDefinitionForHand) src/client/battlescape/cl_hud_callbacks.c:62:10: Null storage returned as non-null: NULL src/client/battlescape/cl_hud_callbacks.c:66:10: Null storage returned as non-null: NULL src/client/battlescape/cl_hud_callbacks.c: (in function HUD_CheckShooting) src/client/battlescape/cl_hud_callbacks.c:86:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No item in hand.\n") src/client/battlescape/cl_hud_callbacks.c:91:29: Right operand of && is non-boolean (int): weapon->item.a <= 0 && weapon->item.t->reload src/client/battlescape/cl_hud_callbacks.c:92:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Can't perform action:\nout of ammo.\n") src/client/battlescape/cl_hud_callbacks.c:96:6: Operands of && are non-booleans (qboolean, invList_t *): weapon->item.t->fireTwoHanded && (((le)->i.c[(csi.idLeft)])) src/client/battlescape/cl_hud_callbacks.c:97:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("This weapon cannot be fired\none handed.\n") src/client/battlescape/cl_hud_callbacks.c: (in function HUD_FireWeapon_f) src/client/battlescape/cl_hud_callbacks.c:125:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/battlescape/cl_hud_callbacks.c:125:2: Assignment of int to fireDefIndex_t: firemode = atoi(Cmd_Argv(2)) src/client/battlescape/cl_hud_callbacks.c:136:7: Operand of ! is non-boolean (qboolean): !HUD_CheckShooting(selActor, (((hand) == ACTOR_HAND_RIGHT) ? (((selActor)->i.c[(csi.idRight)])) : (((hand) == ACTOR_HAND_LEFT) ? (((selActor)->i.c[(csi.idLeft)])) : NULL))) src/client/battlescape/cl_hud_callbacks.c:137:10: Fresh storage fd not released before return src/client/battlescape/cl_hud_callbacks.c:129:2: Fresh storage fd created src/client/battlescape/cl_hud_callbacks.c:151:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Can't perform action:\nnot enough TUs.\n") src/client/battlescape/cl_hud_callbacks.c:153:2: Fresh storage fd not released before return src/client/battlescape/cl_hud_callbacks.c:129:2: Fresh storage fd created src/client/battlescape/cl_hud_callbacks.c: (in function HUD_ToggleCrouchReservation_f) src/client/battlescape/cl_hud_callbacks.c:160:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_hud_callbacks.c: (in function HUD_ToggleReaction_f) src/client/battlescape/cl_hud_callbacks.c:179:7: Operand of ! is non-boolean (int): !CL_ActorCheckAction(selActor) src/client/battlescape/cl_hud_callbacks.c:182:7: Operand of ! is non-boolean (int): !(selActor->state & 0x0300) src/client/battlescape/cl_hud_callbacks.c:184:11: Test expression for if not boolean, type int: selActor->state & 0x0100 src/client/battlescape/cl_hud_callbacks.c:186:11: Test expression for if not boolean, type int: selActor->state & 0x0200 src/client/battlescape/cl_hud_callbacks.c:203:82: Parameter 3, toContainer, of function HUD_CalcReloadTime has inconsistent type: declared containerIndex_t, previously declared int src/client/battlescape/cl_hud_callbacks.h:33:68: Previous declaration of toContainer: int src/client/battlescape/cl_hud_callbacks.c: (in function HUD_CalcReloadTime) src/client/battlescape/cl_hud_callbacks.c:211:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_hud_callbacks.c:212:9: Function assert expects arg 1 to be boolean gets objDef_t *: weapon src/client/battlescape/cl_hud_callbacks.c:214:44: Passed storage &ic not completely defined: CL_ActorGetContainerForReload (&ic, ...) src/client/battlescape/cl_hud_callbacks.c:214:2: Assignment of int to containerIndex_t: container = CL_ActorGetContainerForReload(&ic, &le->i, weapon) src/client/battlescape/cl_hud_callbacks.c: (in function HUD_CheckReload) src/client/battlescape/cl_hud_callbacks.c:240:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No item in hand.\n") src/client/battlescape/cl_hud_callbacks.c:245:7: Operand of ! is non-boolean (int): !weapon->item.t->reload src/client/battlescape/cl_hud_callbacks.c:246:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Can't perform action:\nthis item is not reloadable.\n") src/client/battlescape/cl_hud_callbacks.c:253:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Can't perform action:\nammo not available.\n") src/client/battlescape/cl_hud_callbacks.c:258:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Can't perform action:\nnot enough TUs.\n") src/client/battlescape/cl_hud_callbacks.c: (in function HUD_ReloadLeft_f) src/client/battlescape/cl_hud_callbacks.c:271:33: New fresh storage (type invList_t *) passed as implicitly temp (not released): HUD_GetLeftHandWeapon(selActor, &container) src/client/battlescape/cl_hud_callbacks.c:271:7: Operand of ! is non-boolean (qboolean): !HUD_CheckReload(selActor, HUD_GetLeftHandWeapon(selActor, &container), container) src/client/battlescape/cl_hud_callbacks.c: (in function HUD_ReloadRight_f) src/client/battlescape/cl_hud_callbacks.c:281:20: Operand of ! is non-boolean (qboolean): !HUD_CheckReload(selActor, (((selActor)->i.c[(csi.idRight)])), csi.idRight) src/client/battlescape/cl_hud_callbacks.c: (in function HUD_InitCallbacks) src/client/battlescape/cl_hud_callbacks.c:288:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reload the weapon in the soldiers left hand") src/client/battlescape/cl_hud_callbacks.c:289:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Reload the weapon in the soldiers right hand") src/client/battlescape/cl_hud_callbacks.c:290:75: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle reservation for crouching.") src/client/battlescape/cl_hud_callbacks.c:291:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Toggle reaction fire") src/client/sound/s_mix.h:34:32: Function parameter org declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_GenerateInlineModelList) src/client/battlescape/cl_localentity.c:49:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:46:13: Storage le becomes null src/client/battlescape/cl_localentity.c:50:7: Left operand of && is non-boolean (model_t *): le->model1 && le->inlineModelName[0] == '*' src/client/battlescape/cl_localentity.c:54:2: Function returns with null storage derivable from global cl.leInlineModelList[] src/client/battlescape/cl_localentity.c:53:28: Storage cl.leInlineModelList[] becomes null src/client/battlescape/cl_localentity.c: (in function CL_CompleteRecalcRouting) src/client/battlescape/cl_localentity.c:70:7: Left operand of && is non-boolean (model_t *): le->model1 && le->inlineModelName[0] == '*' src/client/battlescape/cl_localentity.c: (in function CL_RecalcRouting) src/client/battlescape/cl_localentity.c:84:6: Left operand of && is non-boolean (model_t *): le->model1 && le->inlineModelName[0] == '*' src/client/battlescape/cl_localentity.c: (in function LM_AddToScene) src/client/battlescape/cl_localentity.c:103:8: Operand of ! is non-boolean (qboolean): !lm->inuse src/client/battlescape/cl_localentity.c:107:15: Right operand of << may be negative (int): 1 << cl_worldlevel->integer src/client/battlescape/cl_localentity.c:107:8: Operand of ! is non-boolean (int): !((1 << cl_worldlevel->integer) & lm->levelflags) src/client/battlescape/cl_localentity.c:116:10: Function assert expects arg 1 to be boolean gets struct model_s *: lm->model src/client/battlescape/cl_localentity.c:117:3: Implicitly only storage ent.model (type struct model_s *) not released before assignment: ent.model = lm->model src/client/battlescape/cl_localentity.c:120:7: Test expression for if not boolean, type char: lm->animname[0] src/client/battlescape/cl_localentity.c:123:34: Function R_AnimRun expects arg 3 to be int gets float: cls.frametime * 1000 src/client/battlescape/cl_localentity.c:128:4: Implicitly only storage ent.tagent (type struct entity_s *) not released before assignment: ent.tagent = R_GetEntity(lm->parent->renderEntityNum) src/client/battlescape/cl_localentity.c:129:4: Implicitly only storage ent.tagname (type char *) not released before assignment: ent.tagname = lm->tag src/client/battlescape/cl_localentity.c:129:4: Unqualified storage lm->tag assigned to implicitly only: ent.tagname = lm->tag src/client/battlescape/cl_localentity.c:130:3: Storage lm->tag is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:129:4: Storage lm->tag becomes kept src/client/battlescape/cl_localentity.c:130:3: Storage cl.LMs->tag is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:129:4: Storage cl.LMs->tag becomes kept src/client/battlescape/cl_localentity.c:134:3: Implicitly only storage ent.lighting (type static_lighting_t *) not released before assignment: ent.lighting = &lm->lighting src/client/battlescape/cl_localentity.c:134:3: Immediate address &lm->lighting assigned to implicitly only: ent.lighting = &lm->lighting src/client/battlescape/cl_localentity.c:138:2: Clauses exit with cl.LMs->model referencing kept storage in for body, implicitly only storage if for loop body does not execute src/client/battlescape/cl_localentity.c:117:3: Storage cl.LMs->model becomes kept src/client/battlescape/cl_localentity.c:139:2: Only storage ent.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Only storage ent.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Only storage ent.tagname (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Only storage ent.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:139:2: Storage cl.LMs->model reachable from global is unqualified (should be implicitly only) src/client/battlescape/cl_localentity.c: (in function LM_Find) src/client/battlescape/cl_localentity.c:150:11: Immediate address &cl.LMs[] returned as implicitly only: &cl.LMs[i] src/client/battlescape/cl_localentity.c:152:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c: (in function LE_IsActor) src/client/battlescape/cl_localentity.c:162:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_localentity.c:163:9: Return value type boolean does not match declared type qboolean: le->type == ET_ACTOR || le->type == ET_ACTOR2x2 || le->type == ET_ACTORHIDDEN src/client/battlescape/cl_localentity.c: (in function LE_IsLivingActor) src/client/battlescape/cl_localentity.c:174:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_localentity.c:175:28: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_localentity.c:175:9: Left operand of && is non-boolean (qboolean): LE_IsActor(le) && !((le)->state & 0x0003) src/client/battlescape/cl_localentity.c:175:9: Return value type boolean does not match declared type qboolean: LE_IsActor(le) && !((le)->state & 0x0003) src/client/battlescape/cl_localentity.c: (in function LE_IsLivingAndVisibleActor) src/client/battlescape/cl_localentity.c:186:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_localentity.c:187:6: Test expression for if not boolean, type qboolean: le->invis src/client/battlescape/cl_localentity.c: (in function LM_Register) src/client/battlescape/cl_localentity.c:206:3: Implicitly only storage lm->model (type struct model_s *) not released before assignment: lm->model = R_RegisterModelShort(lm->name) src/client/battlescape/cl_localentity.c:207:7: Test expression for if not boolean, type char: lm->animname[0] src/client/battlescape/cl_localentity.c:209:9: Operand of ! is non-boolean (byte): !lm->as.change src/client/battlescape/cl_localentity.c: (in function LM_GetByID) src/client/battlescape/cl_localentity.c:229:8: Operand of ! is non-boolean (int): !strcmp(cl.LMs[i].id, id) src/client/battlescape/cl_localentity.c:230:11: Immediate address &cl.LMs[] returned as implicitly only: &cl.LMs[i] src/client/battlescape/cl_localentity.c:232:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c:249:82: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:249:103: Function parameter angles declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:249:169: Function parameter scale declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LM_AddModel) src/client/battlescape/cl_localentity.c:273:9: Immediate address &cl.LMs[] returned as implicitly only (lm aliases &cl.LMs[]): lm src/client/battlescape/cl_localentity.c:280:38: Function parameter impact declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_ExecuteThink) src/client/battlescape/cl_localentity.c:308:6: Operands of && are non-booleans (qboolean, [function (struct le_s *) returns void] *): le->inuse && le->think src/client/battlescape/cl_localentity.c: (in function LE_Think) src/client/battlescape/cl_localentity.c:331:26: Null storage le passed as non-null param: LE_GetNext (le) src/client/battlescape/cl_localentity.c:326:13: Storage le becomes null src/client/battlescape/cl_localentity.c:334:34: Function R_AnimRun expects arg 3 to be int gets float: cls.frametime * 1000 src/client/battlescape/cl_localentity.c: (in function LE_GetAnim) src/client/battlescape/cl_localentity.c:363:10: Observer storage returned without qualification: "" src/client/battlescape/cl_localentity.c:363:10: Storage becomes observer src/client/battlescape/cl_localentity.c:368:6: Test expression for if not boolean, type int: state & 0x0004 src/client/battlescape/cl_localentity.c:381:8: Test expression for if not boolean, type int: strcmp(csi.ods[left].type, "grenade") src/client/battlescape/cl_localentity.c:384:3: Clauses exit with type referencing unqualified static storage in true branch, local storage in false branch src/client/battlescape/cl_localentity.c:378:4: Storage type becomes static src/client/battlescape/cl_localentity.c:388:23: Operand of ! is non-boolean (int): !strcmp(csi.ods[right].type, "pistol") src/client/battlescape/cl_localentity.c:388:65: Operand of ! is non-boolean (int): !strcmp(csi.ods[left].type, "pistol") src/client/battlescape/cl_localentity.c:392:7: Operand of ! is non-boolean (int): !strncmp(anim, "stand", 5) src/client/battlescape/cl_localentity.c:392:37: Operand of ! is non-boolean (int): !strncmp(anim, "walk", 4) src/client/battlescape/cl_localentity.c:396:3: Assignment of int to char: *mod++ = 0 src/client/battlescape/cl_localentity.c:398:43: Test expression for conditional not boolean, type qboolean: akimbo src/client/battlescape/cl_localentity.c:398:3: Return value (type qboolean) ignored: Com_sprintf(mod,... src/client/battlescape/cl_localentity.c:401:9: Unqualified static storage retAnim returned as implicitly only: retAnim src/client/battlescape/cl_localentity.c:401:17: Function returns with global retAnim referencing released storage src/client/battlescape/cl_localentity.c:401:9: Storage retAnim released src/client/battlescape/cl_localentity.c: (in function LET_StartIdle) src/client/battlescape/cl_localentity.c:417:7: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/cl_localentity.c:418:38: New fresh storage (type char *) passed as implicitly temp (not released): va("dead%i", ((le)->state & 3)) src/client/battlescape/cl_localentity.c:419:12: Test expression for if not boolean, type int: ((le)->state & 0x0008) src/client/battlescape/cl_localentity.c:422:38: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("stand", le->right, le->left, le->state) src/client/battlescape/cl_localentity.c:428:18: Null storage passed as non-null param: LE_SetThink (..., NULL) src/client/battlescape/cl_localentity.c: (in function LE_PlaySoundFileForContents) src/client/battlescape/cl_localentity.c:442:6: Test expression for if not boolean, type int: le->state & ~0x0004 src/client/battlescape/cl_localentity.c:443:7: Test expression for if not boolean, type int: contents & 0x0020 src/client/battlescape/cl_localentity.c:445:8: Test expression for if not boolean, type int: le->positionContents & 0x0020 src/client/battlescape/cl_localentity.c:455:7: Test expression for if not boolean, type int: le->positionContents & 0x0020 src/client/battlescape/cl_localentity.c: (in function LE_PlaySoundFileAndParticleForSurface) src/client/battlescape/cl_localentity.c:478:6: Assignment of int to vec_t: origin[0] = ((int)le->pos[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_localentity.c:478:71: Assignment of int to vec_t: origin[1] = ((int)le->pos[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_localentity.c:478:136: Assignment of int to vec_t: origin[2] = (int)le->pos[2] * 64 + 64 / 2 src/client/battlescape/cl_localentity.c:484:7: Test expression for if not boolean, type qboolean: LE_IsLivingAndVisibleActor(le) src/client/battlescape/cl_localentity.c:485:45: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_localentity.c:485:51: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:485:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_localentity.c:491:3: Fresh storage sample not released before scope exit src/client/battlescape/cl_localentity.c:488:40: Fresh storage sample created src/client/battlescape/cl_localentity.c:492:2: Fresh storage t not released before return src/client/battlescape/cl_localentity.c:473:2: Fresh storage t created src/client/battlescape/cl_localentity.c:499:40: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_GetClosestActor) src/client/battlescape/cl_localentity.c:505:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:502:28: Storage le becomes null src/client/battlescape/cl_localentity.c:510:8: Operand of ! is non-boolean (qboolean): !LE_IsLivingActor(le) src/client/battlescape/cl_localentity.c:513:3: Assignment of vec_t to int: tmp = VectorLength(leOrigin) src/client/battlescape/cl_localentity.c:517:3: Variable le is dependent in true branch, but independent in continuation. src/client/battlescape/cl_localentity.c:517:3: in true branch: src/client/battlescape/cl_localentity.c:515:4: Storage le becomes dependent src/client/battlescape/cl_localentity.c:517:3: in continuation: src/client/battlescape/cl_localentity.c:505:10: Fresh storage le created src/client/battlescape/cl_localentity.c:520:9: Null storage actor returned as non-null: actor src/client/battlescape/cl_localentity.c:502:16: Storage actor becomes null src/client/battlescape/cl_localentity.c:526:55: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:526:73: Function parameter oldPos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_ActorGetStepTime) src/client/battlescape/cl_localentity.c:529:10: Return value type double does not match declared type int: (((dir & (8 - 1)) >= 4 ? 32 * 1.41 : 32) * 1000 / speed) src/client/battlescape/cl_localentity.c:533:47: Passed storage start not completely defined (*start is undefined): Grid_PosToVec (..., start) src/client/battlescape/cl_localentity.c:534:44: Passed storage dest not completely defined (*dest is undefined): Grid_PosToVec (..., dest) src/client/battlescape/cl_localentity.c:536:10: Return value type float does not match declared type int: (start[2] - dest[2]) src/client/battlescape/cl_localentity.c: (in function LE_PlayFootStepSound) src/client/battlescape/cl_localentity.c:543:7: Operand of ! is non-boolean (int): !le->pathContents[le->pathPos] src/client/battlescape/cl_localentity.c:548:7: Assignment of int to vec_t: from[0] = ((int)le->pos[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_localentity.c:548:70: Assignment of int to vec_t: from[1] = ((int)le->pos[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_localentity.c:548:133: Assignment of int to vec_t: from[2] = (int)le->pos[2] * 64 + 64 / 2 src/client/battlescape/cl_localentity.c:553:56: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_localentity.c:553:62: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_localentity.c:556:3: Only storage trace.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:556:3: Only storage trace.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:556:3: Only storage trace.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c: (in function LE_DoPathMove) src/client/battlescape/cl_localentity.c:565:30: Test expression for conditional not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/cl_localentity.c:565:30: Variable crouchingState initialized to type int, expects byte: ((le)->state & 0x0004) ? 1 : 0 src/client/battlescape/cl_localentity.c:575:3: Assignment of byte to int: le->dir = dir & (8 - 1) src/client/battlescape/cl_localentity.c:580:62: Function LE_ActorGetStepTime expects arg 4 to be int gets byte: dir src/client/battlescape/cl_localentity.c: (in function LE_DoEndPathMove) src/client/battlescape/cl_localentity.c:594:7: Operand of ! is non-boolean (int): !(le->pos[0] == le->newPos[0] ? le->pos[1] == le->newPos[1] ? le->pos[2] == le->newPos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_localentity.c:609:2: Fresh storage floor not released before return src/client/battlescape/cl_localentity.c:601:2: Fresh storage floor created src/client/battlescape/cl_localentity.c:617:60: Function parameter impact declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_ActorBodyHit) src/client/battlescape/cl_localentity.c:622:76: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:622:4: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_localentity.c: (in function LET_PathMove) src/client/battlescape/cl_localentity.c:657:50: Passed storage start not completely defined (*start is undefined): Grid_PosToVec (..., start) src/client/battlescape/cl_localentity.c:658:47: Passed storage dest not completely defined (*dest is undefined): Grid_PosToVec (..., dest) src/client/battlescape/cl_localentity.c: (in function LET_StartPathMove) src/client/battlescape/cl_localentity.c:677:36: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("walk", le->right, le->left, le->state) src/client/battlescape/cl_localentity.c:678:7: Operand of ! is non-boolean (byte): !le->as.change src/client/battlescape/cl_localentity.c: (in function LET_Projectile) src/client/battlescape/cl_localentity.c:697:7: Left operand of && is non-boolean (char *): le->ref1 && le->ref1[0] != '\0' src/client/battlescape/cl_localentity.c:699:71: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:699:4: Implicitly only storage le->ptl (type ptl_t *) not released before assignment: le->ptl = CL_ParticleSpawn(le->ref1, 0, impact, bytedirs[le->dir], NULL) src/client/battlescape/cl_localentity.c:702:7: Left operand of && is non-boolean (char *): le->ref2 && le->ref2[0] != '\0' src/client/battlescape/cl_localentity.c:704:33: Function S_PlaySample expects arg 3 to be float gets int: le->fd->impactAttenuation src/client/battlescape/cl_localentity.c:705:4: Fresh storage sample not released before scope exit src/client/battlescape/cl_localentity.c:703:42: Fresh storage sample created src/client/battlescape/cl_localentity.c:710:8: Operands of != have incompatible types (byte, int): le->fd->obj->dmgtype != csi.damStunGas src/client/battlescape/cl_localentity.c:714:13: Test expression for if not boolean, type qboolean: CL_OutsideMap(le->ptl->s, 32 * 10) src/client/battlescape/cl_localentity.c:726:69: Function parameter muzzle declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:726:90: Function parameter impact declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_AddProjectile) src/client/battlescape/cl_localentity.c:736:15: Operand of ! is non-boolean (int): !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:736:2: Assignment of boolean to qboolean: le->invis = !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:738:56: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_localentity.c:738:62: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:738:2: Implicitly only storage le->ptl (type ptl_t *) not released before assignment: le->ptl = CL_ParticleSpawn(fd->projectile, 0, muzzle, NULL, NULL) src/client/battlescape/cl_localentity.c:741:10: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:733:2: Fresh storage le created src/client/battlescape/cl_localentity.c:751:2: Implicitly only storage le->fd (type fireDef_t *) not released before assignment: le->fd = fd src/client/battlescape/cl_localentity.c:751:2: Implicitly temp storage fd assigned to implicitly only: le->fd = fd src/client/battlescape/cl_localentity.c:754:7: Operand of ! is non-boolean (float): !fd->speed src/client/battlescape/cl_localentity.c:758:42: Operand of ! is non-boolean (int): !fd->bounce src/client/battlescape/cl_localentity.c:758:27: Left operand of && is non-boolean (float): fd->splrad && !fd->bounce src/client/battlescape/cl_localentity.c:758:7: Left operand of || is non-boolean (int): flags & (1 | 2) || (fd->splrad && !fd->bounce) src/client/battlescape/cl_localentity.c:760:8: Test expression for if not boolean, type int: flags & 2 src/client/battlescape/cl_localentity.c:761:9: Test expression for if not boolean, type char: fd->hitBodySound[0] src/client/battlescape/cl_localentity.c:763:39: Function S_PlaySample expects arg 3 to be float gets int: le->fd->impactAttenuation src/client/battlescape/cl_localentity.c:764:6: Fresh storage sample not released before scope exit src/client/battlescape/cl_localentity.c:762:44: Fresh storage sample created src/client/battlescape/cl_localentity.c:765:9: Test expression for if not boolean, type char: fd->hitBody[0] src/client/battlescape/cl_localentity.c:766:72: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:772:10: Operands of != have incompatible types (byte, int): fd->obj->dmgtype != csi.damStunGas src/client/battlescape/cl_localentity.c:777:9: Test expression for if not boolean, type char: fd->impactSound[0] src/client/battlescape/cl_localentity.c:779:39: Function S_PlaySample expects arg 3 to be float gets int: le->fd->impactAttenuation src/client/battlescape/cl_localentity.c:780:6: Fresh storage sample not released before scope exit src/client/battlescape/cl_localentity.c:778:44: Fresh storage sample created src/client/battlescape/cl_localentity.c:781:9: Test expression for if not boolean, type char: fd->impact[0] src/client/battlescape/cl_localentity.c:782:71: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:786:4: Fresh storage ptl not released before scope exit src/client/battlescape/cl_localentity.c:782:6: Fresh storage ptl created src/client/battlescape/cl_localentity.c:787:10: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:733:2: Fresh storage le created src/client/battlescape/cl_localentity.c:794:6: Test expression for if not boolean, type int: flags & 2 src/client/battlescape/cl_localentity.c:795:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = fd->hitBody src/client/battlescape/cl_localentity.c:795:3: Unqualified storage fd->hitBody assigned to implicitly only: le->ref1 = fd->hitBody src/client/battlescape/cl_localentity.c:796:3: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->hitBodySound src/client/battlescape/cl_localentity.c:796:3: Unqualified storage fd->hitBodySound assigned to implicitly only: le->ref2 = fd->hitBodySound src/client/battlescape/cl_localentity.c:797:3: Implicitly only storage le->ref3 (type struct le_s *) not released before assignment: le->ref3 = leVictim src/client/battlescape/cl_localentity.c:797:3: Implicitly temp storage leVictim assigned to implicitly only: le->ref3 = leVictim src/client/battlescape/cl_localentity.c:798:42: Operand of ! is non-boolean (int): !fd->bounce src/client/battlescape/cl_localentity.c:798:27: Left operand of && is non-boolean (float): fd->splrad && !fd->bounce src/client/battlescape/cl_localentity.c:798:13: Left operand of || is non-boolean (int): flags & 1 || (fd->splrad && !fd->bounce) src/client/battlescape/cl_localentity.c:799:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = fd->impact src/client/battlescape/cl_localentity.c:799:3: Unqualified storage fd->impact assigned to implicitly only: le->ref1 = fd->impact src/client/battlescape/cl_localentity.c:800:3: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->impactSound src/client/battlescape/cl_localentity.c:800:3: Unqualified storage fd->impactSound assigned to implicitly only: le->ref2 = fd->impactSound src/client/battlescape/cl_localentity.c:802:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = NULL src/client/battlescape/cl_localentity.c:803:7: Test expression for if not boolean, type int: flags & 4 src/client/battlescape/cl_localentity.c:804:4: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->bounceSound src/client/battlescape/cl_localentity.c:804:4: Unqualified storage fd->bounceSound assigned to implicitly only: le->ref2 = fd->bounceSound src/client/battlescape/cl_localentity.c:804:4: Storage le->fd->bounceSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:804:4: Storage le->fd->bounceSound becomes kept src/client/battlescape/cl_localentity.c:804:4: Storage fd->bounceSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:804:4: Storage fd->bounceSound becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage le->fd->impact is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:799:3: Storage le->fd->impact becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage le->fd->impactSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:800:3: Storage le->fd->impactSound becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage fd->impact is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:799:3: Storage fd->impact becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage fd->impactSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:800:3: Storage fd->impactSound becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage fd->bounceSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:804:4: Storage fd->bounceSound becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage fd->hitBody is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:795:3: Storage fd->hitBody becomes kept src/client/battlescape/cl_localentity.c:805:2: Storage fd->hitBodySound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:796:3: Storage fd->hitBodySound becomes kept src/client/battlescape/cl_localentity.c:805:2: Variable leVictim is kept in true branch, but not kept in false branch. src/client/battlescape/cl_localentity.c:805:2: in true branch: src/client/battlescape/cl_localentity.c:797:3: Storage leVictim becomes kept src/client/battlescape/cl_localentity.c:807:14: Passed storage *(le->fd) contains 3 undefined fields: bounceSound, impact, impactSound src/client/battlescape/cl_localentity.c:807:14: Null storage le->ref1 derivable from parameter LE_SetThink (le, ...) src/client/battlescape/cl_localentity.c:802:14: Storage le->ref1 becomes null src/client/battlescape/cl_localentity.c:809:2: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:733:2: Fresh storage le created src/client/battlescape/cl_localentity.c:809:2: Storage fd->hitBody reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:795:3: Storage fd->hitBody becomes kept src/client/battlescape/cl_localentity.c:809:2: Storage fd->hitBodySound reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:796:3: Storage fd->hitBodySound becomes kept src/client/battlescape/cl_localentity.c:809:2: Storage fd->impact reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:799:3: Storage fd->impact becomes kept src/client/battlescape/cl_localentity.c:809:2: Storage fd->impactSound reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:800:3: Storage fd->impactSound becomes kept src/client/battlescape/cl_localentity.c:809:2: Storage *fd reachable from parameter contains 1 undefined field: bounceSound src/client/battlescape/cl_localentity.c: (in function LE_BiggestItem) src/client/battlescape/cl_localentity.c:832:9: Function assert expects arg 1 to be boolean gets objDef_t *: max src/client/battlescape/cl_localentity.c:833:13: Released storage ic->item.t reachable from parameter at return point src/client/battlescape/cl_localentity.c:833:9: Storage ic->item.t released src/client/battlescape/cl_localentity.c: (in function LE_PlaceItem) src/client/battlescape/cl_localentity.c:847:34: Null storage actor passed as non-null param: LE_GetNextInUse (actor) src/client/battlescape/cl_localentity.c:842:16: Storage actor becomes null src/client/battlescape/cl_localentity.c:849:7: Right operand of && is non-boolean (int): (actor->type == ET_ACTOR || actor->type == ET_ACTOR2x2) && (actor->pos[0] == le->pos[0] ? actor->pos[1] == le->pos[1] ? actor->pos[2] == le->pos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_localentity.c:860:3: Implicitly only storage le->model1 (type model_t *) not released before assignment: le->model1 = cls.modelPool[biggest->idx] src/client/battlescape/cl_localentity.c:860:3: Unqualified storage cls.modelPool[biggest->idx] assigned to implicitly only: le->model1 = cls.modelPool[biggest->idx] src/client/battlescape/cl_localentity.c:869:3: Fresh storage biggest not released before scope exit src/client/battlescape/cl_localentity.c:859:62: Fresh storage biggest created src/client/battlescape/cl_localentity.c:883:66: Function parameter muzzle declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:883:87: Function parameter v0 declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_AddGrenade) src/client/battlescape/cl_localentity.c:892:15: Operand of ! is non-boolean (int): !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:892:2: Assignment of boolean to qboolean: le->invis = !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:895:3: Assignment of int to vec_t: accel[0] = (0) src/client/battlescape/cl_localentity.c:895:18: Assignment of int to vec_t: accel[1] = (0) src/client/battlescape/cl_localentity.c:895:33: Assignment of double to vec_t: accel[2] = (-500.0) src/client/battlescape/cl_localentity.c:896:2: Implicitly only storage le->ptl (type ptl_t *) not released before assignment: le->ptl = CL_ParticleSpawn(fd->projectile, 0, muzzle, v0, accel) src/client/battlescape/cl_localentity.c:899:10: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:889:2: Fresh storage le created src/client/battlescape/cl_localentity.c:906:6: Test expression for if not boolean, type int: flags & 2 src/client/battlescape/cl_localentity.c:907:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = fd->hitBody src/client/battlescape/cl_localentity.c:907:3: Unqualified storage fd->hitBody assigned to implicitly only: le->ref1 = fd->hitBody src/client/battlescape/cl_localentity.c:908:3: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->hitBodySound src/client/battlescape/cl_localentity.c:908:3: Unqualified storage fd->hitBodySound assigned to implicitly only: le->ref2 = fd->hitBodySound src/client/battlescape/cl_localentity.c:909:3: Implicitly only storage le->ref3 (type struct le_s *) not released before assignment: le->ref3 = leVictim src/client/battlescape/cl_localentity.c:909:3: Implicitly temp storage leVictim assigned to implicitly only: le->ref3 = leVictim src/client/battlescape/cl_localentity.c:910:42: Operand of ! is non-boolean (int): !fd->bounce src/client/battlescape/cl_localentity.c:910:27: Left operand of && is non-boolean (float): fd->splrad && !fd->bounce src/client/battlescape/cl_localentity.c:910:13: Left operand of || is non-boolean (int): flags & 1 || (fd->splrad && !fd->bounce) src/client/battlescape/cl_localentity.c:911:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = fd->impact src/client/battlescape/cl_localentity.c:911:3: Unqualified storage fd->impact assigned to implicitly only: le->ref1 = fd->impact src/client/battlescape/cl_localentity.c:912:3: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->impactSound src/client/battlescape/cl_localentity.c:912:3: Unqualified storage fd->impactSound assigned to implicitly only: le->ref2 = fd->impactSound src/client/battlescape/cl_localentity.c:914:3: Implicitly only storage le->ref1 (type char *) not released before assignment: le->ref1 = NULL src/client/battlescape/cl_localentity.c:915:7: Test expression for if not boolean, type int: flags & 4 src/client/battlescape/cl_localentity.c:916:4: Implicitly only storage le->ref2 (type char *) not released before assignment: le->ref2 = fd->bounceSound src/client/battlescape/cl_localentity.c:916:4: Unqualified storage fd->bounceSound assigned to implicitly only: le->ref2 = fd->bounceSound src/client/battlescape/cl_localentity.c:916:4: Storage fd->bounceSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:916:4: Storage fd->bounceSound becomes kept src/client/battlescape/cl_localentity.c:917:2: Storage fd->impact is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:911:3: Storage fd->impact becomes kept src/client/battlescape/cl_localentity.c:917:2: Storage fd->impactSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:912:3: Storage fd->impactSound becomes kept src/client/battlescape/cl_localentity.c:917:2: Storage fd->bounceSound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:916:4: Storage fd->bounceSound becomes kept src/client/battlescape/cl_localentity.c:917:2: Storage fd->hitBody is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:907:3: Storage fd->hitBody becomes kept src/client/battlescape/cl_localentity.c:917:2: Storage fd->hitBodySound is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:908:3: Storage fd->hitBodySound becomes kept src/client/battlescape/cl_localentity.c:917:2: Variable leVictim is kept in true branch, but not kept in false branch. src/client/battlescape/cl_localentity.c:917:2: in true branch: src/client/battlescape/cl_localentity.c:909:3: Storage leVictim becomes kept src/client/battlescape/cl_localentity.c:922:2: Implicitly only storage le->fd (type fireDef_t *) not released before assignment: le->fd = fd src/client/battlescape/cl_localentity.c:922:2: Implicitly temp storage fd assigned to implicitly only: le->fd = fd src/client/battlescape/cl_localentity.c:923:9: Function assert expects arg 1 to be boolean gets fireDef_t *: fd src/client/battlescape/cl_localentity.c:924:14: Null storage le->ref1 derivable from parameter LE_SetThink (le, ...) src/client/battlescape/cl_localentity.c:914:14: Storage le->ref1 becomes null src/client/battlescape/cl_localentity.c:924:14: Passed storage *(le->fd) contains 5 undefined fields: bounceSound, impact, impactSound, hitBody, hitBodySound src/client/battlescape/cl_localentity.c:926:2: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:889:2: Fresh storage le created src/client/battlescape/cl_localentity.c:926:2: Storage fd->hitBody reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:907:3: Storage fd->hitBody becomes kept src/client/battlescape/cl_localentity.c:926:2: Storage fd->hitBodySound reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:908:3: Storage fd->hitBodySound becomes kept src/client/battlescape/cl_localentity.c:926:2: Storage fd->impact reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:911:3: Storage fd->impact becomes kept src/client/battlescape/cl_localentity.c:926:2: Storage fd->impactSound reachable from parameter is kept (should be unqualified) src/client/battlescape/cl_localentity.c:912:3: Storage fd->impactSound becomes kept src/client/battlescape/cl_localentity.c:926:2: Storage *fd reachable from parameter contains 1 undefined field: bounceSound src/client/battlescape/cl_localentity.c: (in function LET_BrushModel) src/client/battlescape/cl_localentity.c:961:23: Variable angle initialized to type double, expects float: le->angles[le->dir] + (1.0 / le->rotationSpeed) src/client/battlescape/cl_localentity.c:962:3: Assignment of double to float: le->angles[le->dir] = (angle >= 360.0 ? angle - 360.0 : angle) src/client/battlescape/cl_localentity.c:970:58: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_AddAmbientSound) src/client/battlescape/cl_localentity.c:978:24: Null storage sound passed as non-null param: S_LoadSample (sound) src/client/battlescape/cl_localentity.c:985:10: Fresh storage sample not released before return src/client/battlescape/cl_localentity.c:978:2: Fresh storage sample created src/client/battlescape/cl_localentity.c:988:2: Implicitly only storage le->sample (type struct s_sample_s *) not released before assignment: le->sample = sample src/client/battlescape/cl_localentity.c:990:15: Operand of ! is non-boolean (int): !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:990:2: Assignment of boolean to qboolean: le->invis = !cl_leshowinvis->integer src/client/battlescape/cl_localentity.c:1001:2: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:982:2: Fresh storage le created src/client/battlescape/cl_localentity.c: (in function LE_Add) src/client/battlescape/cl_localentity.c:1016:26: Null storage le passed as non-null param: LE_GetNext (le) src/client/battlescape/cl_localentity.c:1014:13: Storage le becomes null src/client/battlescape/cl_localentity.c:1017:8: Operand of ! is non-boolean (qboolean): !le->inuse src/client/battlescape/cl_localentity.c:1039:9: Immediate address &cl.LEs[] returned as implicitly only (le aliases &cl.LEs[]): le src/client/battlescape/cl_localentity.c: (in function LE_CenterView) src/client/battlescape/cl_localentity.c:1058:7: Operand of ! is non-boolean (int): !cl_centerview->integer src/client/battlescape/cl_localentity.c:1061:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/cl_localentity.c:1062:33: Function Cvar_SetValue expects arg 2 to be float gets pos_t: le->pos[2] src/client/battlescape/cl_localentity.c: (in function LE_Get) src/client/battlescape/cl_localentity.c:1076:10: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c:1078:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:1073:13: Storage le becomes null src/client/battlescape/cl_localentity.c:1085:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c: (in function LE_IsLocked) src/client/battlescape/cl_localentity.c:1096:24: Right operand of && is non-boolean (qboolean): le != NULL && le->locked src/client/battlescape/cl_localentity.c:1096:9: Return value type boolean does not match declared type qboolean: (le != NULL && le->locked) src/client/battlescape/cl_localentity.c:1096:36: Fresh storage le not released before return src/client/battlescape/cl_localentity.c:1095:28: Fresh storage le created src/client/battlescape/cl_localentity.c: (in function LE_Lock) src/client/battlescape/cl_localentity.c:1108:6: Test expression for if not boolean, type qboolean: le->locked src/client/battlescape/cl_localentity.c: (in function LE_Unlock) src/client/battlescape/cl_localentity.c:1127:7: Operand of ! is non-boolean (qboolean): !le->locked src/client/battlescape/cl_localentity.c:1137:35: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_GetFromPos) src/client/battlescape/cl_localentity.c:1141:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:1139:13: Storage le becomes null src/client/battlescape/cl_localentity.c:1142:7: Test expression for if not boolean, type int: (le->pos[0] == pos[0] ? le->pos[1] == pos[1] ? le->pos[2] == pos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_localentity.c:1147:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c: (in function LE_GetNext) src/client/battlescape/cl_localentity.c:1159:7: Operand of ! is non-boolean (int): !cl.numLEs src/client/battlescape/cl_localentity.c:1160:10: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c:1163:10: Unqualified storage cl.LEs returned as implicitly only: cl.LEs src/client/battlescape/cl_localentity.c:1163:17: Released storage cl.LEs reachable from global src/client/battlescape/cl_localentity.c:1163:10: Storage cl.LEs released src/client/battlescape/cl_localentity.c:1172:10: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c:1174:10: Implicitly temp storage lastLE returned as implicitly only (le aliases lastLE): le src/client/battlescape/cl_localentity.c: (in function LE_GetNextInUse) src/client/battlescape/cl_localentity.c:1188:7: Test expression for if not boolean, type qboolean: le->inuse src/client/battlescape/cl_localentity.c:1191:9: Possibly null storage le returned as non-null: le src/client/battlescape/cl_localentity.c:1187:15: Storage le may become null src/client/battlescape/cl_localentity.c:1201:47: Function parameter org declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_FindRadius) src/client/battlescape/cl_localentity.c:1209:4: Assignment of double to vec_t: eorg[j] = org[j] - (le->origin[j] + (le->mins[j] + le->maxs[j]) * 0.5) src/client/battlescape/cl_localentity.c:1217:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c:1225:39: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function LE_Find) src/client/battlescape/cl_localentity.c:1229:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:1227:13: Storage le becomes null src/client/battlescape/cl_localentity.c:1230:27: Right operand of && is non-boolean (int): le->type == type && (le->pos[0] == pos[0] ? le->pos[1] == pos[1] ? le->pos[2] == pos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/cl_localentity.c:1236:9: Null storage returned as non-null: NULL src/client/battlescape/cl_localentity.c: (in function LE_IsOriginBrush) src/client/battlescape/cl_localentity.c:1251:9: Return value type boolean does not match declared type qboolean: (le->type == ET_DOOR || le->type == ET_ROTATING) src/client/battlescape/cl_localentity.c: (in function LE_AddToScene) src/client/battlescape/cl_localentity.c:1267:7: Test expression for if not boolean, type qboolean: le->removeNextFrame src/client/battlescape/cl_localentity.c:1271:21: Operand of ! is non-boolean (qboolean): !le->invis src/client/battlescape/cl_localentity.c:1271:7: Left operand of && is non-boolean (qboolean): le->inuse && !le->invis src/client/battlescape/cl_localentity.c:1272:8: Test expression for if not boolean, type int: le->contents & 0x0001 src/client/battlescape/cl_localentity.c:1273:17: Right operand of << may be negative (int): 1 << cl_worldlevel->integer src/client/battlescape/cl_localentity.c:1273:10: Operand of ! is non-boolean (int): !((1 << cl_worldlevel->integer) & le->levelflags) src/client/battlescape/cl_localentity.c:1275:15: Test expression for if not boolean, type int: le->contents & 0x08000000 src/client/battlescape/cl_localentity.c:1277:15: Operands of > have incompatible types (pos_t, int): le->pos[2] > cl_worldlevel->integer src/client/battlescape/cl_localentity.c:1285:4: Implicitly only storage ent.model (type struct model_s *) not released before assignment: ent.model = le->model1 src/client/battlescape/cl_localentity.c:1303:25: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/cl_localentity.c:1285:4: Storage le->model1 becomes kept src/client/battlescape/cl_localentity.c:1303:8: Test expression for if not boolean, type qboolean: LE_IsOriginBrush(le) src/client/battlescape/cl_localentity.c:1314:7: Assignment of arbitrary integral type to vec_t: modelOffset[0] = (le->fieldSize - 1) * (32 + 11) / 2 src/client/battlescape/cl_localentity.c:1314:54: Assignment of arbitrary integral type to vec_t: modelOffset[1] = (le->fieldSize - 1) * (32 + 11) / 2 src/client/battlescape/cl_localentity.c:1314:101: Assignment of int to vec_t: modelOffset[2] = 0 src/client/battlescape/cl_localentity.c:1322:4: Implicitly only storage ent.lighting (type static_lighting_t *) not released before assignment: ent.lighting = &le->lighting src/client/battlescape/cl_localentity.c:1322:4: Immediate address &le->lighting assigned to implicitly only: ent.lighting = &le->lighting src/client/battlescape/cl_localentity.c:1327:22: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/cl_localentity.c:1285:4: Storage le->model1 becomes kept src/client/battlescape/cl_localentity.c:1327:10: Operand of ! is non-boolean (qboolean): !le->addFunc(le, &ent) src/client/battlescape/cl_localentity.c:1331:4: Return value (type int) ignored: R_AddEntity(&ent) src/client/battlescape/cl_localentity.c:1333:8: Test expression for if not boolean, type int: cl_le_debug->integer src/client/battlescape/cl_localentity.c:1334:46: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_localentity.c:1334:52: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_localentity.c:1334:5: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_localentity.c:1335:3: Storage le->model1 is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:1285:4: Storage le->model1 becomes kept src/client/battlescape/cl_localentity.c:1335:3: Storage cl.LEs->model1 is kept in one path, but live in another. src/client/battlescape/cl_localentity.c:1285:4: Storage cl.LEs->model1 becomes kept src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.tagname (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1337:2: Only storage ent.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c: (in function LE_Cleanup) src/client/battlescape/cl_localentity.c:1350:8: Operand of ! is non-boolean (qboolean): !le->inuse src/client/battlescape/cl_localentity.c:1352:7: Test expression for if not boolean, type qboolean: LE_IsActor(le) src/client/battlescape/cl_localentity.c:1430:64: Function parameter rmaShift declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1430:81: Function parameter angles declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function CL_HullForEntity) src/client/battlescape/cl_localentity.c:1433:6: Test expression for if not boolean, type int: le->contents & 0x0001 src/client/battlescape/cl_localentity.c:1439:16: Arrow access from possibly null pointer model: model->tile src/client/battlescape/cl_localentity.c:1434:24: Storage model may become null src/client/battlescape/cl_localentity.c: (in function CL_ClipMoveToLEs) src/client/battlescape/cl_localentity.c:1461:6: Test expression for if not boolean, type qboolean: clip->trace.allsolid src/client/battlescape/cl_localentity.c:1464:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_localentity.c:1459:13: Storage le becomes null src/client/battlescape/cl_localentity.c:1471:8: Operand of ! is non-boolean (int): !(le->contents & clip->contentmask) src/client/battlescape/cl_localentity.c:1476:42: Passed storage shift not completely defined (*shift is undefined): CL_HullForEntity (..., shift, ...) src/client/battlescape/cl_localentity.c:1476:49: Passed storage angles not completely defined (*angles is undefined): CL_HullForEntity (..., angles) src/client/battlescape/cl_localentity.c:1488:4: Implicitly only storage trace.le (type struct le_s *) not released before assignment: trace.le = le src/client/battlescape/cl_localentity.c:1492:14: Test expression for if not boolean, type qboolean: trace.allsolid src/client/battlescape/cl_localentity.c:1493:4: Implicitly only storage trace.le (type struct le_s *) not released before assignment: trace.le = le src/client/battlescape/cl_localentity.c:1496:14: Test expression for if not boolean, type qboolean: trace.startsolid src/client/battlescape/cl_localentity.c:1497:4: Implicitly only storage trace.le (type struct le_s *) not released before assignment: trace.le = le src/client/battlescape/cl_localentity.c:1499:3: Variable le is kept in true branch, but not kept in continuation. src/client/battlescape/cl_localentity.c:1499:3: in true branch: src/client/battlescape/cl_localentity.c:1497:4: Storage le becomes kept src/client/battlescape/cl_localentity.c:1499:3: in continuation: src/client/battlescape/cl_localentity.c:1464:10: Fresh storage le created src/client/battlescape/cl_localentity.c:1515:44: Function parameter start declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1515:64: Function parameter mins declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1515:83: Function parameter maxs declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1515:102: Function parameter end declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1515:114: Function parameter boxmins declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1515:130: Function parameter boxmaxs declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1545:32: Function parameter start declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1545:52: Function parameter end declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1545:70: Function parameter mins declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c:1545:89: Function parameter maxs declared as manifest array (size constant is meaningless) src/client/battlescape/cl_localentity.c: (in function CL_Trace) src/client/battlescape/cl_localentity.c:1550:65: Right operand of << may be negative (int): 1 << (worldLevel + 1) src/client/battlescape/cl_localentity.c:1551:2: Implicitly only storage clip.trace.le (type struct le_s *) not released before assignment: clip.trace.le = NULL src/client/battlescape/cl_localentity.c:1552:6: Dangerous equality comparison involving float types: clip.trace.fraction == 0 Two real (float, double, or long double) values are compared directly using == or != primitive. This may produce unexpected results since floating point representations are inexact. Instead, compare the difference to FLT_EPSILON or DBL_EPSILON. (Use -realcompare to inhibit warning) src/client/battlescape/cl_localentity.c:1553:21: Null storage clip.trace.le returned as non-null: clip.trace src/client/battlescape/cl_localentity.c:1551:18: Storage clip.trace.le becomes null src/client/battlescape/cl_localentity.c:1564:41: Passed storage clip.boxmins not completely defined (*(clip.boxmins) is undefined): CL_TraceBounds (..., clip.boxmins, ...) src/client/battlescape/cl_localentity.c:1564:55: Passed storage clip.boxmaxs not completely defined (*(clip.boxmaxs) is undefined): CL_TraceBounds (..., clip.boxmaxs) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.mins (type float *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.maxs (type float *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.start (type float *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.end (type float *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.passle (type le_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_localentity.c:1569:20: Only storage clip.passle2 (type le_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_parse.c:40:32: Incompatible types for + (unsigned char, int): UCHAR_MAX + 1 src/client/battlescape/cl_parse.c: (in function CL_ParseServerData) src/client/battlescape/cl_parse.c:91:2: Fresh storage str not released before return src/client/battlescape/cl_parse.c:83:2: Fresh storage str created src/client/battlescape/cl_parse.c: (in function CL_ParseClientinfo) src/client/battlescape/cl_parse.c:107:2: Fresh storage s not released before return src/client/battlescape/cl_parse.c:101:43: Fresh storage s created src/client/battlescape/cl_parse.c: (in function CL_PlayerGetName) src/client/battlescape/cl_parse.c:119:9: Unqualified storage cl.configstrings[(((16 + 25) + 25) + 256) + player] returned as implicitly only: cl.configstrings[(((16 + 25) + 25) + 256) + player] src/client/battlescape/cl_parse.c:119:56: Global storage cl contains 1 undefined field when call returns: configstrings src/client/battlescape/cl_parse.c: (in function CL_ParseConfigString) src/client/battlescape/cl_parse.c:153:7: Test expression for if not boolean, type qboolean: refdef.ready src/client/battlescape/cl_parse.c:164:2: Fresh storage s not released before return src/client/battlescape/cl_parse.c:135:2: Fresh storage s created src/client/battlescape/cl_parse.c:164:2: Storage cl.model_draw[] reachable from global is fresh (should be unqualified) src/client/battlescape/cl_parse.c:154:4: Fresh storage cl.model_draw[] created src/client/battlescape/cl_parse.c:164:2: Storage cl.model_clip[] reachable from global is fresh (should be unqualified) src/client/battlescape/cl_parse.c:157:5: Fresh storage cl.model_clip[] created src/client/battlescape/cl_parse.c:164:2: Function returns with null storage derivable from global cl.model_clip[] src/client/battlescape/cl_parse.c:159:40: Storage cl.model_clip[] becomes null src/client/battlescape/cl_parse.c: (in function CL_ParseStartSoundPacket) src/client/battlescape/cl_parse.c:185:19: Passed storage origin not completely defined (*origin is undefined): NET_ReadPos (..., origin) src/client/battlescape/cl_parse.c:189:2: Fresh storage sound not released before return src/client/battlescape/cl_parse.c:184:2: Fresh storage sound created src/client/battlescape/cl_parse.c:189:2: Fresh storage sample not released before return src/client/battlescape/cl_parse.c:187:2: Fresh storage sample created src/client/battlescape/cl_parse.c: (in function CL_ParseServerMessage) src/client/battlescape/cl_parse.c:245:23: New fresh storage (type char *) passed as implicitly temp (not released): gettext(s) src/client/battlescape/cl_parse.c:284:2: Fresh storage s not released before return src/client/battlescape/cl_parse.c:255:3: Fresh storage s created src/client/renderer/r_light.h:28:30: Function parameter origin declared as manifest array (size constant is meaningless) src/client/renderer/r_light.h:28:65: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_light.h:29:39: Function parameter org declared as manifest array (size constant is meaningless) src/client/renderer/r_light.h:29:71: Function parameter color declared as manifest array (size constant is meaningless) src/client/renderer/r_light.h:31:33: Function parameter offset declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c:68:27: Incompatible types for * (boolean, int): (((sizeof((pf_strings)) / sizeof((*(pf_strings)))) == PF_NUM_PTLFUNCS) != 0) * 2 src/client/battlescape/cl_particle.c:78:27: Incompatible types for * (boolean, int): (((sizeof((pf_values)) / sizeof((*(pf_values)))) == PF_NUM_PTLFUNCS) != 0) * 2 src/client/battlescape/cl_particle.c:111:27: Incompatible types for * (boolean, int): (((sizeof((pc_strings)) / sizeof((*(pc_strings)))) == PC_NUM_PTLCMDS) != 0) * 2 src/client/battlescape/cl_particle.c:127:27: Incompatible types for * (boolean, int): (((sizeof((pc_types)) / sizeof((*(pc_types)))) == PC_NUM_PTLCMDS) != 0) * 2 src/client/battlescape/cl_particle.c:172:3: Static pps[36].string initialized to null value: pps[36].string = NULL src/client/battlescape/cl_particle.c:215:55: Function parameter origin declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c:215:76: Function parameter wait declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c: (in function CL_AddMapParticle) src/client/battlescape/cl_particle.c:229:2: Implicitly temp storage info assigned to implicitly only: mp->info = info src/client/battlescape/cl_particle.c: (in function CL_ParticleLoadArt) src/client/battlescape/cl_particle.c:252:43: Incompatible types for + (arbitrary unsigned integral type, char): a->frame / 10 + '0' src/client/battlescape/cl_particle.c:252:64: Incompatible types for + (byte, char): a->frame % 10 + '0' src/client/battlescape/cl_particle.c:252:5: Clauses exit with imageName referencing local storage in true branch, fresh storage in false branch src/client/battlescape/cl_particle.c:252:5: Fresh storage imageName created src/client/battlescape/cl_particle.c:241:53: Parameter type not used src/client/battlescape/cl_particle.c: (in function CL_ParticleGetArt) src/client/battlescape/cl_particle.c:290:26: Operands of == have incompatible types (byte, int): a->frame == frame src/client/battlescape/cl_particle.c:290:48: Operand of ! is non-boolean (int): !strcmp(name, a->name) src/client/battlescape/cl_particle.c:294:12: Function returns with global r_particlesArt referencing released storage src/client/battlescape/cl_particle.c:294:10: Storage r_particlesArt released src/client/battlescape/cl_particle.c:301:2: Assignment of int to byte: a->frame = (type == ART_PIC) ? frame : 0 src/client/battlescape/cl_particle.c:308:10: Null storage returned as non-null: NULL src/client/battlescape/cl_particle.c:312:11: Function returns with global r_particlesArt referencing released storage src/client/battlescape/cl_particle.c:312:9: Storage r_particlesArt released src/client/battlescape/cl_particle.c: (in function CL_ParticleFunction) src/client/battlescape/cl_particle.c:347:9: Operand of ! is non-boolean (int): !s src/client/battlescape/cl_particle.c:354:9: Operand of ! is non-boolean (int): !i src/client/battlescape/cl_particle.c:360:9: Test expression for if not boolean, type int: (1 << stackType[s]) & ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR)) src/client/battlescape/cl_particle.c:378:43: Variable radr used before definition src/client/battlescape/cl_particle.c:388:28: Operands of == have incompatible types (size_t, int): offsetof(ptl_t,pic) == -cmd->ref src/client/battlescape/cl_particle.c:391:5: Implicitly only storage p->pic (type ptlArt_t *) not released before assignment: p->pic = CL_ParticleGetArt((char *)stackPtr[s], p->frame, ART_PIC) src/client/battlescape/cl_particle.c:395:30: Operands of == have incompatible types (size_t, int): offsetof(ptl_t,model) == -cmd->ref src/client/battlescape/cl_particle.c:398:5: Implicitly only storage p->model (type ptlArt_t *) not released before assignment: p->model = CL_ParticleGetArt((char *)stackPtr[s], 0, ART_MODEL) src/client/battlescape/cl_particle.c:405:28: Variable radr used before definition src/client/battlescape/cl_particle.c:407:23: Variable radr used before definition src/client/battlescape/cl_particle.c:407:5: Return value (type int) ignored: Com_SetValueDebu... src/client/battlescape/cl_particle.c:416:4: Assignment of byte to int: type = stackType[s - 1] src/client/battlescape/cl_particle.c:417:16: Right operand of << may be negative (int): 1 << type src/client/battlescape/cl_particle.c:417:9: Operand of ! is non-boolean (int): !((1 << type) & ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR))) src/client/battlescape/cl_particle.c:421:8: Operands of != have incompatible types (int, byte): type != cmd->type src/client/battlescape/cl_particle.c:428:16: Variable radr used before definition src/client/battlescape/cl_particle.c:428:15: Variable radr used before definition src/client/battlescape/cl_particle.c:430:14: Variable radr used before definition src/client/battlescape/cl_particle.c:430:13: Variable radr used before definition src/client/battlescape/cl_particle.c:441:4: Assignment of byte to int: type = stackType[s - 1] src/client/battlescape/cl_particle.c:442:16: Right operand of << may be negative (int): 1 << type src/client/battlescape/cl_particle.c:442:9: Operand of ! is non-boolean (int): !((1 << type) & ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR))) src/client/battlescape/cl_particle.c:449:9: Operands of != have incompatible types (int, byte): type != cmd->type src/client/battlescape/cl_particle.c:454:22: Variable radr used before definition src/client/battlescape/cl_particle.c:454:21: Variable radr used before definition src/client/battlescape/cl_particle.c:454:7: Assignment of double to float: arg = 1.0 / (*((float *)radr + i)) src/client/battlescape/cl_particle.c:456:15: Variable radr used before definition src/client/battlescape/cl_particle.c:456:14: Variable radr used before definition src/client/battlescape/cl_particle.c:467:19: Variable radr used before definition src/client/battlescape/cl_particle.c:467:5: Assignment of double to float: arg = 1.0 / (*(float *)radr) src/client/battlescape/cl_particle.c:469:12: Variable radr used before definition src/client/battlescape/cl_particle.c:480:36: Variable radr used before definition src/client/battlescape/cl_particle.c:480:4: Assignment of double to float: *(float *)stackPtr[s++] = sin(*(float *)radr * 2 * 3.14159265358979323846) src/client/battlescape/cl_particle.c:489:36: Variable radr used before definition src/client/battlescape/cl_particle.c:489:4: Assignment of double to float: *(float *)stackPtr[s++] = sin(*(float *)radr * 2 * 3.14159265358979323846) src/client/battlescape/cl_particle.c:498:36: Variable radr used before definition src/client/battlescape/cl_particle.c:498:4: Assignment of double to float: *(float *)stackPtr[s++] = sin(*(float *)radr * 2 * 3.14159265358979323846) src/client/battlescape/cl_particle.c:511:39: Variable radr used before definition src/client/battlescape/cl_particle.c:511:38: Variable radr used before definition src/client/battlescape/cl_particle.c:514:39: Variable radr used before definition src/client/battlescape/cl_particle.c:514:38: Variable radr used before definition src/client/battlescape/cl_particle.c:530:10: Operand of ! is non-boolean (int): !((1 << stackType[--s]) & ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR))) src/client/battlescape/cl_particle.c:538:4: Assignment of int to byte: stackType[s++] = V_FLOAT + j - 1 src/client/battlescape/cl_particle.c:546:28: Variable radr used before definition src/client/battlescape/cl_particle.c:556:4: Assignment of byte to int: type = stackType[--s] src/client/battlescape/cl_particle.c:564:29: Variable radr used before definition src/client/battlescape/cl_particle.c:571:28: Variable radr used before definition src/client/battlescape/cl_particle.c:573:5: Implicitly only storage pnew->next (type struct ptl_s *) not released before assignment: pnew->next = p->children src/client/battlescape/cl_particle.c:574:5: Implicitly only storage pnew->parent (type struct ptl_s *) not released before assignment: pnew->parent = p src/client/battlescape/cl_particle.c:574:5: Implicitly temp storage p assigned to implicitly only: pnew->parent = p src/client/battlescape/cl_particle.c:578:4: Storage p->children->parent->children is kept in one path, but live in another. src/client/battlescape/cl_particle.c:573:5: Storage p->children->parent->children becomes kept src/client/battlescape/cl_particle.c:578:4: Variable p is kept in true branch, but not kept in false branch. src/client/battlescape/cl_particle.c:578:4: in true branch: src/client/battlescape/cl_particle.c:574:5: Storage p becomes kept src/client/battlescape/cl_particle.c:584:3: Variable p is kept in one possible execution, but not kept in other possible execution. src/client/battlescape/cl_particle.c:584:3: in one possible execution: src/client/battlescape/cl_particle.c:578:4: Storage p becomes kept src/client/battlescape/cl_particle.c:586:2: Fresh storage pnew not released before return src/client/battlescape/cl_particle.c:564:5: Fresh storage pnew created src/client/battlescape/cl_particle.c:600:73: Function parameter s declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c:600:89: Function parameter v declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c:600:105: Function parameter a declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c: (in function CL_ParticleSpawn) src/client/battlescape/cl_particle.c:606:15: Comparison of unsigned value involving zero: strlen(name) <= 0 An unsigned value is used in a comparison with zero in a way that is either a bug or confusing. (Use -unsignedcompare to inhibit warning) src/client/battlescape/cl_particle.c:607:10: Null storage returned as non-null: NULL src/client/battlescape/cl_particle.c:611:8: Operand of ! is non-boolean (int): !strcmp(name, ptlDef[i].name) src/client/battlescape/cl_particle.c:616:10: Null storage returned as non-null: NULL src/client/battlescape/cl_particle.c:623:8: Operand of ! is non-boolean (qboolean): !r_particles[i].inuse src/client/battlescape/cl_particle.c:631:11: Null storage returned as non-null: NULL src/client/battlescape/cl_particle.c:642:2: Implicitly only storage p->ctrl (type ptlDef_t *) not released before assignment (pd aliases &ptlDef[]): p->ctrl = pd src/client/battlescape/cl_particle.c:642:2: Immediate address &ptlDef[] assigned to implicitly only: p->ctrl = pd src/client/battlescape/cl_particle.c:645:2: Implicitly only storage p->pic (type ptlArt_t *) not released before assignment: p->pic = NULL src/client/battlescape/cl_particle.c:646:2: Implicitly only storage p->model (type ptlArt_t *) not released before assignment: p->model = NULL src/client/battlescape/cl_particle.c:649:6: Test expression for if not boolean, type vec3_t: s src/client/battlescape/cl_particle.c:654:6: Test expression for if not boolean, type vec3_t: v src/client/battlescape/cl_particle.c:657:6: Test expression for if not boolean, type vec3_t: a src/client/battlescape/cl_particle.c:664:22: Null storage p->pic derivable from parameter CL_ParticleFunction (p, ...) src/client/battlescape/cl_particle.c:645:11: Storage p->pic becomes null src/client/battlescape/cl_particle.c:664:22: Null storage p->model derivable from parameter CL_ParticleFunction (p, ...) src/client/battlescape/cl_particle.c:646:13: Storage p->model becomes null src/client/battlescape/cl_particle.c:666:9: Immediate address &r_particles[] returned as implicitly only (p aliases &r_particles[]): p src/client/battlescape/cl_particle.c:701:31: Function parameter color declared as manifest array (size constant is meaningless) src/client/battlescape/cl_particle.c: (in function CL_Fading) src/client/battlescape/cl_particle.c:707:12: Test expression for conditional not boolean, type qboolean: onlyAlpha src/client/battlescape/cl_particle.c:711:12: Test expression for conditional not boolean, type qboolean: onlyAlpha src/client/battlescape/cl_particle.c:715:12: Test expression for conditional not boolean, type qboolean: onlyAlpha src/client/battlescape/cl_particle.c:720:13: Test expression for conditional not boolean, type qboolean: onlyAlpha src/client/battlescape/cl_particle.c:723:13: Test expression for conditional not boolean, type qboolean: onlyAlpha src/client/battlescape/cl_particle.c: (in function CL_ParticleCheckRounds) src/client/battlescape/cl_particle.c:743:7: Test expression for if not boolean, type qboolean: p->inuse src/client/battlescape/cl_particle.c:747:8: Test expression for if not boolean, type int: p->rounds src/client/battlescape/cl_particle.c: (in function CL_ParticleRun2) src/client/battlescape/cl_particle.c:765:2: Assignment of int to float: p->t = (cl.time - p->startTime) * 0.001f src/client/battlescape/cl_particle.c:769:20: Operand of ! is non-boolean (int): !p->roundsCnt src/client/battlescape/cl_particle.c:769:6: Left operand of && is non-boolean (int): p->rounds && !p->roundsCnt src/client/battlescape/cl_particle.c:773:6: Left operand of && is non-boolean (float): p->life && p->t >= p->life src/client/battlescape/cl_particle.c:781:28: Operand of ! is non-boolean (int): !cl_particleweather->integer src/client/battlescape/cl_particle.c:781:13: Left operand of && is non-boolean (qboolean): p->weather && !cl_particleweather->integer src/client/battlescape/cl_particle.c:788:18: Function VectorMA expects arg 2 to be float gets double: 0.5 * p->dt * p->dt src/client/battlescape/cl_particle.c:798:9: Left operand of && is non-boolean (float): p->tps && p->lastThink * p->tps >= 1 src/client/battlescape/cl_particle.c:804:9: Left operand of && is non-boolean (float): p->fps && p->lastFrame * p->fps >= 1 src/client/battlescape/cl_particle.c:812:10: Function assert expects arg 1 to be boolean gets ptlArt_t *: p->pic src/client/battlescape/cl_particle.c:813:3: Implicitly only storage p->pic (type ptlArt_t *) not released before assignment: p->pic = CL_ParticleGetArt(p->pic->name, p->frame, ART_PIC) src/client/battlescape/cl_particle.c:817:6: Operands of || are non-boolean (byte): p->thinkFade || p->frameFade src/client/battlescape/cl_particle.c:818:30: Variable onlyAlpha initialized to type boolean, expects qboolean: (p->blend == BLEND_BLEND) src/client/battlescape/cl_particle.c:819:8: Operand of ! is non-boolean (qboolean): !onlyAlpha src/client/battlescape/cl_particle.c:822:4: Assignment of double to vec_t: p->color[3] = 1.0 src/client/battlescape/cl_particle.c:823:8: Test expression for if not boolean, type byte: p->thinkFade src/client/battlescape/cl_particle.c:824:62: Function CL_Fading expects arg 4 to be qboolean gets boolean: p->blend == BLEND_BLEND src/client/battlescape/cl_particle.c:825:8: Test expression for if not boolean, type byte: p->frameFade src/client/battlescape/cl_particle.c:826:62: Function CL_Fading expects arg 4 to be qboolean gets boolean: p->blend == BLEND_BLEND src/client/battlescape/cl_particle.c:831:6: Test expression for if not boolean, type qboolean: p->autohide src/client/battlescape/cl_particle.c:843:6: Test expression for if not boolean, type qboolean: p->physics src/client/battlescape/cl_particle.c:847:60: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_particle.c:847:66: Null storage passed as non-null param: CL_Trace (..., NULL, ...) src/client/battlescape/cl_particle.c:850:28: Right operand of || is non-boolean (qboolean): tr.fraction < 1.0 || tr.startsolid src/client/battlescape/cl_particle.c:855:9: Operand of ! is non-boolean (qboolean): !p->stayalive src/client/battlescape/cl_particle.c:856:21: Possibly null storage p->ctrl->physics derivable from parameter CL_ParticleFree (p) src/client/battlescape/cl_particle.c:861:11: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:861:11: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:861:11: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:863:3: Only storage tr.surface (type cBspSurface_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:863:3: Only storage tr.le (type struct le_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:863:3: Only storage tr.ent (type struct edict_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_particle.c:866:7: Operands of || are non-boolean (vec_t): p->lightColor[0] || p->lightColor[1] src/client/battlescape/cl_particle.c:866:43: Right operand of || is non-boolean (vec_t): p->lightColor[0] || p->lightColor[1] || p->lightColor[2] src/client/battlescape/cl_particle.c:867:27: Variable intensity initialized to type double, expects float: 0.5 + p->lightIntensity src/client/battlescape/cl_particle.c:868:7: Test expression for if not boolean, type float: p->lightSustain src/client/battlescape/cl_particle.c: (in function CL_ParticleRun) src/client/battlescape/cl_particle.c:890:7: Test expression for if not boolean, type qboolean: p->inuse src/client/battlescape/cl_particle.c: (in function CL_ParseMapParticle) src/client/battlescape/cl_particle.c:918:20: Passed storage keyname not completely defined (*keyname is undefined): Q_strncpyzDebug (keyname, ...) src/client/battlescape/cl_particle.c:921:21: Possibly null storage es derivable from parameter Com_Parse (&es) src/client/battlescape/cl_particle.c:921:3: Fresh storage token (type char *) not released before assignment: token = Com_Parse(&es) src/client/battlescape/cl_particle.c:912:3: Fresh storage token created src/client/battlescape/cl_particle.c:928:8: Operand of ! is non-boolean (qboolean): !afterwards src/client/battlescape/cl_particle.c:930:7: Left operand of && is non-boolean (qboolean): afterwards && keyname[0] != '+' src/client/battlescape/cl_particle.c:934:9: Operand of ! is non-boolean (int): !strcmp(key, pp->string) src/client/battlescape/cl_particle.c:936:10: Operand of ! is non-boolean (int): !strcmp(pp->string, "image") src/client/battlescape/cl_particle.c:937:6: Implicitly only storage ptl->pic (type ptlArt_t *) not released before assignment: ptl->pic = CL_ParticleGetArt(token, ptl->frame, ART_PIC) src/client/battlescape/cl_particle.c:940:10: Operand of ! is non-boolean (int): !strcmp(pp->string, "model") src/client/battlescape/cl_particle.c:941:6: Implicitly only storage ptl->model (type ptlArt_t *) not released before assignment: ptl->model = CL_ParticleGetArt(token, ptl->frame, ART_MODEL) src/client/battlescape/cl_particle.c:946:51: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: pp->ofs src/client/battlescape/cl_particle.c:946:5: Return value (type int) ignored: Com_EParseValueD... src/client/battlescape/cl_particle.c:950:2: Fresh storage token not released before return src/client/battlescape/cl_particle.c:921:3: Fresh storage token created src/client/battlescape/cl_particle.c: (in function CL_RunMapParticles) src/client/battlescape/cl_particle.c:963:7: Left operand of && is non-boolean (int): mp->nextTime && cl.time >= mp->nextTime src/client/battlescape/cl_particle.c:965:64: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_particle.c:965:70: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_particle.c:977:8: Operands of || are non-boolean (vec_t): mp->wait[0] || mp->wait[1] src/client/battlescape/cl_particle.c:982:2: Fresh storage ptl not released before return src/client/battlescape/cl_particle.c:965:4: Fresh storage ptl created src/client/battlescape/cl_particle.c: (in function CL_ParsePtlCmds) src/client/battlescape/cl_particle.c:998:10: Fresh storage token not released before return src/client/battlescape/cl_particle.c:994:2: Fresh storage token created src/client/battlescape/cl_particle.c:1002:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/battlescape/cl_particle.c:994:2: Fresh storage token created src/client/battlescape/cl_particle.c:1009:9: Operand of ! is non-boolean (int): !strcmp(token, pc_strings[i]) src/client/battlescape/cl_particle.c:1016:5: Assignment of int to byte: pc->cmd = i src/client/battlescape/cl_particle.c:1018:10: Operand of ! is non-boolean (int): !pc_types[i] src/client/battlescape/cl_particle.c:1022:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/battlescape/cl_particle.c:1002:3: Fresh storage token created src/client/battlescape/cl_particle.c:1024:13: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1022:5: Fresh storage token created src/client/battlescape/cl_particle.c:1030:7: Incompatible types for -= (int, char): pc->ref -= (token[2] - '0') src/client/battlescape/cl_particle.c:1042:23: Passed storage baseComponentToken not completely defined (*baseComponentToken is undefined): Q_strncpyzDebug (baseComponentToken, ...) src/client/battlescape/cl_particle.c:1045:6: Assignment of size_t to int: len = strlen(baseComponentToken) src/client/battlescape/cl_particle.c:1049:7: Assignment of int to char: baseComponentToken[len - 2] = 0 src/client/battlescape/cl_particle.c:1054:12: Operand of ! is non-boolean (int): !strcmp(baseComponentToken, pp->string) src/client/battlescape/cl_particle.c:1063:10: Test expression for if not boolean, type int: (pc_types[i] & (1 << 31)) src/client/battlescape/cl_particle.c:1069:52: Right operand of << may be negative (int): 1 << pp->type src/client/battlescape/cl_particle.c:1069:45: Operand of ! is non-boolean (int): !((1 << pp->type) & pc_types[i]) src/client/battlescape/cl_particle.c:1075:10: Test expression for if not boolean, type int: len src/client/battlescape/cl_particle.c:1077:17: Right operand of << may be negative (int): 1 << pp->type src/client/battlescape/cl_particle.c:1077:11: Test expression for if not boolean, type int: (1 << pp->type) & ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR)) src/client/battlescape/cl_particle.c:1078:30: Variable component initialized to type char, expects int: (baseComponentToken[len - 1] - '1') src/client/battlescape/cl_particle.c:1087:8: Assignment of arbitrary unsigned integral type to int: pc->ref = -((int)pp->ofs) - component * sizeof(float) src/client/battlescape/cl_particle.c:1097:6: Assignment of int to byte: pc->type = pp->type src/client/battlescape/cl_particle.c:1103:9: Test expression for if not boolean, type int: pc_types[i] & (1 << 31) src/client/battlescape/cl_particle.c:1108:12: Operand of ! is non-boolean (int): !strcmp(token, vt_names[j]) src/client/battlescape/cl_particle.c:1111:38: Right operand of << may be negative (int): 1 << j src/client/battlescape/cl_particle.c:1111:31: Operand of ! is non-boolean (int): !((1 << j) & pc_types[i]) src/client/battlescape/cl_particle.c:1118:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/battlescape/cl_particle.c:1022:5: Fresh storage token created src/client/battlescape/cl_particle.c:1120:14: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1118:6: Fresh storage token created src/client/battlescape/cl_particle.c:1124:5: Assignment of int to byte: pc->type = j src/client/battlescape/cl_particle.c:1126:5: Only storage assigned to unqualified static: pcmdPos = Com_AlignPtr(pcmdPos, pc->type) src/client/battlescape/cl_particle.c:1138:9: Operand of ! is non-boolean (int): !strcmp(token, pp->string) src/client/battlescape/cl_particle.c:1140:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/battlescape/cl_particle.c:1002:3: Fresh storage token created src/client/battlescape/cl_particle.c:1142:13: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1140:5: Fresh storage token created src/client/battlescape/cl_particle.c:1149:5: Assignment of int to byte: pc->type = pp->type src/client/battlescape/cl_particle.c:1151:5: Only storage assigned to unqualified static: pcmdPos = Com_AlignPtr(pcmdPos, pc->type) src/client/battlescape/cl_particle.c:1157:5: Assignment of int to byte: pc->type = pp->type src/client/battlescape/cl_particle.c:1172:2: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1002:3: Fresh storage token created src/client/battlescape/cl_particle.c: (in function CL_ParseParticle) src/client/battlescape/cl_particle.c:1190:8: Operand of ! is non-boolean (int): !strcmp(name, ptlDef[i].name) src/client/battlescape/cl_particle.c:1218:13: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1212:2: Fresh storage token created src/client/battlescape/cl_particle.c:1222:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/battlescape/cl_particle.c:1212:2: Fresh storage token created src/client/battlescape/cl_particle.c:1229:9: Operand of ! is non-boolean (int): !strcmp(token, pf_strings[i]) src/client/battlescape/cl_particle.c:1251:13: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1222:3: Fresh storage token created src/client/battlescape/cl_particle.c:1253:13: Fresh storage token not released before return src/client/battlescape/cl_particle.c:1222:3: Fresh storage token created src/client/battlescape/cl_particle.c: (in function PTL_DebugSpawnMarker_f) src/client/battlescape/cl_particle.c:1268:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/battlescape/cl_particle.c:1268:2: Assignment of double to vec_t: worldOrigin[0] = atof(Cmd_Argv(1)) src/client/battlescape/cl_particle.c:1269:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/battlescape/cl_particle.c:1269:2: Assignment of double to vec_t: worldOrigin[1] = atof(Cmd_Argv(2)) src/client/battlescape/cl_particle.c:1270:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(3) src/client/battlescape/cl_particle.c:1270:2: Assignment of double to vec_t: worldOrigin[2] = atof(Cmd_Argv(3)) src/client/battlescape/cl_particle.c:1272:51: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/cl_particle.c:1272:57: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/cl_particle.c:1272:2: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/battlescape/cl_particle.c: (in function CL_InitParticles) src/client/battlescape/cl_particle.c:1280:2: Only storage assigned to unqualified static: cl_particleweather = Cvar_Get("cl_particleweather", "0", 1 | 16, "Switch the weather particles on or off") src/client/battlescape/cl_ugv.c: (in function CL_UGVCvars) src/client/battlescape/cl_ugv.c:43:9: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/battlescape/cl_ugv.c:49:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/battlescape/cl_ugv.c:50:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/battlescape/cl_ugv.c:51:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vmn... src/client/battlescape/cl_ugv.c:52:22: New fresh storage (type char *) passed as implicitly temp (not released): va("%s (0)", CL_ActorGetSkillString(chr->score.skills[ABILITY_MIND])) src/client/battlescape/cl_ugv.c:52:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tmn... src/client/battlescape/cl_ugv.c: (in function CL_AddUGV) src/client/battlescape/cl_ugv.c:65:7: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_ugv.c:70:4: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = cls.modelPool[le->left] src/client/battlescape/cl_ugv.c:70:4: Unqualified storage cls.modelPool[le->left] assigned to implicitly only: add.model = cls.modelPool[le->left] src/client/battlescape/cl_ugv.c:72:17: Incompatible types for + (entity_t *, boolean): R_GetFreeEntity() + 2 + (le->right != -1) src/client/battlescape/cl_ugv.c:72:4: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 2 + (le->right != -1) src/client/battlescape/cl_ugv.c:73:4: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_lweapon" src/client/battlescape/cl_ugv.c:73:4: Observer storage assigned to unqualified reference: add.tagname = "tag_lweapon" src/client/battlescape/cl_ugv.c:73:18: Storage becomes observer src/client/battlescape/cl_ugv.c:74:4: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:74:4: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:76:4: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_ugv.c:84:4: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = cls.modelPool[le->right] src/client/battlescape/cl_ugv.c:84:4: Unqualified storage cls.modelPool[le->right] assigned to implicitly only: add.model = cls.modelPool[le->right] src/client/battlescape/cl_ugv.c:86:4: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 2 src/client/battlescape/cl_ugv.c:86:4: Dependent storage assigned to implicitly only: add.tagent = R_GetFreeEntity() + 2 src/client/battlescape/cl_ugv.c:86:17: Storage becomes dependent src/client/battlescape/cl_ugv.c:87:4: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_rweapon" src/client/battlescape/cl_ugv.c:87:4: Observer storage assigned to unqualified reference: add.tagname = "tag_rweapon" src/client/battlescape/cl_ugv.c:87:18: Storage becomes observer src/client/battlescape/cl_ugv.c:88:4: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:88:4: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:90:4: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_ugv.c:98:2: Implicitly only storage add.model (type struct model_s *) not released before assignment: add.model = le->model2 src/client/battlescape/cl_ugv.c:102:2: Implicitly only storage add.tagent (type struct entity_s *) not released before assignment: add.tagent = R_GetFreeEntity() + 1 src/client/battlescape/cl_ugv.c:102:2: Dependent storage assigned to implicitly only: add.tagent = R_GetFreeEntity() + 1 src/client/battlescape/cl_ugv.c:102:15: Storage becomes dependent src/client/battlescape/cl_ugv.c:103:2: Implicitly only storage add.tagname (type char *) not released before assignment: add.tagname = "tag_head" src/client/battlescape/cl_ugv.c:103:2: Observer storage assigned to unqualified reference: add.tagname = "tag_head" src/client/battlescape/cl_ugv.c:103:16: Storage becomes observer src/client/battlescape/cl_ugv.c:104:2: Implicitly only storage add.lighting (type static_lighting_t *) not released before assignment: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:104:2: Immediate address &le->lighting assigned to implicitly only: add.lighting = &le->lighting src/client/battlescape/cl_ugv.c:106:2: Return value (type int) ignored: R_AddEntity(&add) src/client/battlescape/cl_ugv.c:112:7: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/cl_ugv.c:113:7: Test expression for if not boolean, type qboolean: le->selected src/client/battlescape/cl_ugv.c:123:15: Only storage add.model (type struct model_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_ugv.c:123:15: Only storage add.tagent (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_ugv.c:123:15: Only storage add.lighting (type static_lighting_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_ugv.c:123:15: Only storage add.deathTexture (type image_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_ugv.c:123:15: Only storage add.next (type struct entity_s *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_ugv.c:123:15: Storage le->model2 reachable from parameter is kept (should be implicitly only) src/client/battlescape/cl_ugv.c:98:2: Storage le->model2 becomes kept src/client/battlescape/cl_view.c: (in function CL_ViewLoadMedia) src/client/battlescape/cl_view.c:55:7: Operand of ! is non-boolean (char): !cl.configstrings[16][0] src/client/battlescape/cl_view.c:58:64: New fresh storage (type char *) passed as implicitly temp (not released): gettext("loading %s") src/client/battlescape/cl_view.c:58:2: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/battlescape/cl_view.c:66:64: New fresh storage (type char *) passed as implicitly temp (not released): gettext("loading models...") src/client/battlescape/cl_view.c:66:2: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/battlescape/cl_view.c:73:34: Right operand of && is non-boolean (char): i < 256 && cl.configstrings[((16 + 25) + 25) + i][0] src/client/battlescape/cl_view.c:78:25: Right operand of && is non-boolean (char): i < 256 && cl.configstrings[((16 + 25) + 25) + i][0] src/client/battlescape/cl_view.c:79:20: Passed storage name not completely defined (*name is undefined): Q_strncpyzDebug (name, ...) src/client/battlescape/cl_view.c:83:5: New fresh storage (type char *) passed as implicitly temp (not released): gettext("loading %s") src/client/battlescape/cl_view.c:82:4: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/battlescape/cl_view.c:101:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/battlescape/cl_view.c:100:7: Storage le becomes null src/client/battlescape/cl_view.c:102:7: Test expression for if not boolean, type int: le->modelnum1 src/client/battlescape/cl_view.c:103:4: Implicitly only storage le->model1 (type model_t *) not released before assignment: le->model1 = cl.model_draw[le->modelnum1] src/client/battlescape/cl_view.c:107:7: Test expression for if not boolean, type int: le->modelnum2 src/client/battlescape/cl_view.c:108:4: Implicitly only storage le->model2 (type model_t *) not released before assignment: le->model2 = cl.model_draw[le->modelnum2] src/client/battlescape/cl_view.c:108:4: Unqualified storage cl.model_draw[le->modelnum2] assigned to implicitly only: le->model2 = cl.model_draw[le->modelnum2] src/client/battlescape/cl_view.c:87:3: Storage cl.model_draw[] created src/client/battlescape/cl_view.c:111:3: Clauses exit with le->model1 referencing kept storage in true branch, implicitly only storage in continuation src/client/battlescape/cl_view.c:108:4: Storage le->model1 becomes kept src/client/battlescape/cl_view.c:118:64: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Awaiting game start") src/client/battlescape/cl_view.c:118:2: Return value (type qboolean) ignored: Com_sprintf(cls.... src/client/battlescape/cl_view.c:123:2: Assignment of double to vec_t: refdef.fogColor[3] = 1.0 src/client/battlescape/cl_view.c:124:3: Assignment of double to vec_t: refdef.fogColor[0] = (0.75) src/client/battlescape/cl_view.c:124:31: Assignment of double to vec_t: refdef.fogColor[1] = (0.75) src/client/battlescape/cl_view.c:124:59: Assignment of double to vec_t: refdef.fogColor[2] = (0.75) src/client/battlescape/cl_view.c:125:2: Function returns with possibly null storage derivable from global cl.model_draw[] src/client/battlescape/cl_view.c:87:22: Storage cl.model_draw[] may become null src/client/battlescape/cl_view.c:125:2: Storage cl.model_clip[] reachable from global is fresh (should be unqualified) src/client/battlescape/cl_view.c:90:4: Fresh storage cl.model_clip[] created src/client/battlescape/cl_view.c:125:2: Function returns with null storage derivable from global cl.model_clip[] src/client/battlescape/cl_view.c:92:23: Storage cl.model_clip[] becomes null src/client/battlescape/cl_view.c:125:2: Global storage cl contains 1 undefined field when call returns: model_draw src/client/battlescape/cl_view.c: (in function CL_ViewCalcFieldOfViewX) src/client/battlescape/cl_view.c:134:6: Test expression for if not boolean, type int: cl_isometric->integer src/client/battlescape/cl_view.c:135:23: Variable zoom initialized to type double, expects float: 3.6 * (cl.cam.zoom - cl_camzoommin->value) + 0.3 * cl_camzoommin->value src/client/battlescape/cl_view.c:136:3: Assignment of double to float: refdef.fieldOfViewX = ((((75.0 / zoom) < (140.0) ? (75.0 / zoom) : (140.0))) > (1.0) ? (((75.0 / zoom) < (140.0) ? (75.0 / zoom) : (140.0))) : (1.0)) src/client/battlescape/cl_view.c:138:3: Assignment of double to float: refdef.fieldOfViewX = ((((75.0 / cl.cam.zoom) < (95.0) ? (75.0 / cl.cam.zoom) : (95.0))) > (55.0) ? (((75.0 / cl.cam.zoom) < (95.0) ? (75.0 / cl.cam.zoom) : (95.0))) : (55.0)) src/client/battlescape/cl_view.c: (in function CL_ViewCalcFieldOfViewY) src/client/battlescape/cl_view.c:147:18: Variable x initialized to type double, expects float: width / tan(refdef.fieldOfViewX / 360.0 * 3.14159265358979323846) src/client/battlescape/cl_view.c:148:2: Assignment of double to float: refdef.fieldOfViewY = atan(height / x) * 360.0 / 3.14159265358979323846 src/client/battlescape/cl_view.c: (in function CL_ViewUpdateRenderData) src/client/battlescape/cl_view.c:159:26: Function CL_ViewCalcFieldOfViewY expects arg 1 to be float gets int: viddef.viewWidth src/client/battlescape/cl_view.c:159:44: Function CL_ViewCalcFieldOfViewY expects arg 2 to be float gets int: viddef.viewHeight src/client/battlescape/cl_view.c:162:2: Assignment of double to float: refdef.time = cl.time * 0.001 src/client/battlescape/cl_view.c: (in function CL_ViewRender) src/client/battlescape/cl_view.c:178:7: Operand of ! is non-boolean (int): !viddef.viewWidth src/client/battlescape/cl_view.c:178:28: Operand of ! is non-boolean (int): !viddef.viewHeight src/client/battlescape/cl_view.c:182:7: Operand of ! is non-boolean (qboolean): !refdef.ready src/client/battlescape/cl_view.c:202:7: Test expression for if not boolean, type int: cl_map_debug->integer src/client/battlescape/cl_view.c:203:8: Test expression for if not boolean, type int: cl_map_debug->integer & (1 << 0) src/client/battlescape/cl_view.c:206:8: Test expression for if not boolean, type int: cl_map_debug->integer & (1 << 2) src/client/battlescape/cl_view.c:209:8: Test expression for if not boolean, type int: cl_map_debug->integer & (1 << 3) src/client/battlescape/cl_view.c:233:48: Function parameter pos declared as manifest array (size constant is meaningless) src/client/battlescape/cl_view.c: (in function CL_ViewCenterAtGridPosition) src/client/battlescape/cl_view.c:237:6: Assignment of int to vec_t: vec[0] = ((int)pos[0] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_view.c:237:64: Assignment of int to vec_t: vec[1] = ((int)pos[1] - (4096 / 32)) * 32 + 32 / 2 src/client/battlescape/cl_view.c:237:122: Assignment of int to vec_t: vec[2] = (int)pos[2] * 64 + 64 / 2 src/client/battlescape/cl_view.c:239:33: Function Cvar_SetValue expects arg 2 to be float gets pos_t: pos[2] src/client/battlescape/cl_spawn.c:84:3: Static localEntityValues[20].string initialized to null value: localEntityValues[20].string = NULL src/client/battlescape/cl_spawn.c:103:3: Static spawns[4].name initialized to null value: spawns[4].name = NULL src/client/battlescape/cl_spawn.c:103:9: Static spawns[4].spawn initialized to null value: spawns[4].spawn = NULL src/client/battlescape/cl_spawn.c: (in function CL_SpawnCall) src/client/battlescape/cl_spawn.c:119:8: Operand of ! is non-boolean (int): !strcmp(s->name, entData->classname) src/client/battlescape/cl_spawn.c: (in function CL_SpawnParseEntitystring) src/client/battlescape/cl_spawn.c:142:6: Operands of || are non-boolean (int): cl.numMapParticles || cl.numLMs src/client/battlescape/cl_spawn.c:143:10: Fresh storage es not released before return src/client/battlescape/cl_spawn.c:133:37: Fresh storage es created src/client/battlescape/cl_spawn.c:146:9: Test expression for while not boolean, type int: 1 src/client/battlescape/cl_spawn.c:159:4: Assignment of int to vec_t: entData.scale[0] = (1) src/client/battlescape/cl_spawn.c:159:27: Assignment of int to vec_t: entData.scale[1] = (1) src/client/battlescape/cl_spawn.c:159:50: Assignment of int to vec_t: entData.scale[2] = (1) src/client/battlescape/cl_spawn.c:162:3: Implicitly only storage entData.entStringPos (type char *) not released before assignment: entData.entStringPos = es src/client/battlescape/cl_spawn.c:167:10: Test expression for while not boolean, type int: 1 src/client/battlescape/cl_spawn.c:170:4: Fresh storage entityToken (type char *) not released before assignment: entityToken = Com_Parse(&es) src/client/battlescape/cl_spawn.c:149:44: Fresh storage entityToken created src/client/battlescape/cl_spawn.c:177:10: Operand of ! is non-boolean (int): !strcmp(entityToken, v->string) src/client/battlescape/cl_spawn.c:179:6: Fresh storage entityToken (type char *) not released before assignment: entityToken = Com_Parse(&es) src/client/battlescape/cl_spawn.c:170:4: Fresh storage entityToken created src/client/battlescape/cl_spawn.c:182:62: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: v->ofs src/client/battlescape/cl_spawn.c:182:6: Return value (type int) ignored: Com_EParseValueD... src/client/battlescape/cl_spawn.c:189:3: Only storage entData.entStringPos (type char *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/cl_spawn.c:189:3: Fresh storage entityToken not released before scope exit src/client/battlescape/cl_spawn.c:149:44: Fresh storage entityToken created src/client/battlescape/cl_spawn.c:189:2: Variable es is kept in while body, but not kept if loop is not taken. src/client/battlescape/cl_spawn.c:189:2: in while body: src/client/battlescape/cl_spawn.c:162:3: Storage es becomes kept src/client/battlescape/cl_spawn.c:189:2: if loop is not taken: src/client/battlescape/cl_spawn.c:133:37: Fresh storage es created src/client/battlescape/cl_spawn.c: (in function SP_misc_model) src/client/battlescape/cl_spawn.c:218:6: Test expression for if not boolean, type int: entData->spawnflags & (1 << 9) src/client/battlescape/cl_spawn.c:227:4: Implicitly only storage lm->parent (type struct lm_s *) not released before assignment: lm->parent = LM_GetByID(entData->target) src/client/battlescape/cl_spawn.c:233:8: Operand of ! is non-boolean (int): !lm->frame src/client/battlescape/cl_spawn.c: (in function SP_misc_particle) src/client/battlescape/cl_spawn.c:243:8: Operands of && are non-boolean (int): dayLightmap && (entData->spawnflags & (1 << 8)) src/client/battlescape/cl_spawn.c: (in function SP_misc_sound) src/client/battlescape/cl_spawn.c:250:8: Operands of && are non-boolean (int): dayLightmap && (entData->spawnflags & (1 << 8)) src/client/battlescape/events/event/actor/e_event_actorturn.h:30:6: Function CL_ActorDoTurn redeclared with 2 args, previously declared with 1 src/client/battlescape/cl_actor.h:83:6: Previous declaration of CL_ActorDoTurn src/client/battlescape/events/event/actor/e_event_actorturn.h:30:44: Parameter 1, self, of function CL_ActorDoTurn has inconsistent type: declared eventRegister_t *, previously declared struct dbuffer * src/client/battlescape/cl_actor.h:83:6: Previous declaration of CL_ActorDoTurn src/client/battlescape/events/e_main.c: (in function CL_CheckDefault) src/client/battlescape/events/e_main.c:74:6: Test expression for if not boolean, type qboolean: result src/client/battlescape/events/e_main.c:76:11: Operand of ! is non-boolean (qboolean): !result src/client/battlescape/events/e_main.c:76:9: Return value type boolean does not match declared type qboolean: (!result) src/client/battlescape/events/e_main.c:70:57: Parameter self not used src/client/battlescape/events/e_main.c:85:27: Global events[0].eventCallback initialized to null value: events[0].eventCallback = NULL src/client/battlescape/events/e_main.c:85:33: Global events[0].timeCallback initialized to null value: events[0].timeCallback = NULL src/client/battlescape/events/e_main.c:85:39: Global events[0].eventCheck initialized to null value: events[0].eventCheck = NULL src/client/battlescape/events/e_main.c:86:41: Global events[1].timeCallback initialized to null value: events[1].timeCallback = NULL src/client/battlescape/events/e_main.c:86:47: Global events[1].eventCheck initialized to null value: events[1].eventCheck = NULL src/client/battlescape/events/e_main.c:87:44: Global events[2].timeCallback initialized to null value: events[2].timeCallback = NULL src/client/battlescape/events/e_main.c:87:50: Global events[2].eventCheck initialized to null value: events[2].eventCheck = NULL src/client/battlescape/events/e_main.c:88:51: Global events[3].timeCallback initialized to null value: events[3].timeCallback = NULL src/client/battlescape/events/e_main.c:88:57: Global events[3].eventCheck initialized to null value: events[3].eventCheck = NULL src/client/battlescape/events/e_main.c:89:74: Global events[4].timeCallback initialized to null value: events[4].timeCallback = NULL src/client/battlescape/events/e_main.c:89:80: Global events[4].eventCheck initialized to null value: events[4].eventCheck = NULL src/client/battlescape/events/e_main.c:91:50: Global events[5].timeCallback initialized to null value: events[5].timeCallback = NULL src/client/battlescape/events/e_main.c:91:56: Global events[5].eventCheck initialized to null value: events[5].eventCheck = NULL src/client/battlescape/events/e_main.c:92:55: Global events[6].timeCallback initialized to null value: events[6].timeCallback = NULL src/client/battlescape/events/e_main.c:92:61: Global events[6].eventCheck initialized to null value: events[6].eventCheck = NULL src/client/battlescape/events/e_main.c:94:56: Global events[7].timeCallback initialized to null value: events[7].timeCallback = NULL src/client/battlescape/events/e_main.c:94:62: Global events[7].eventCheck initialized to null value: events[7].eventCheck = NULL src/client/battlescape/events/e_main.c:95:54: Global events[8].timeCallback initialized to null value: events[8].timeCallback = NULL src/client/battlescape/events/e_main.c:95:60: Global events[8].eventCheck initialized to null value: events[8].eventCheck = NULL src/client/battlescape/events/e_main.c:96:57: Global events[9].timeCallback initialized to null value: events[9].timeCallback = NULL src/client/battlescape/events/e_main.c:96:63: Global events[9].eventCheck initialized to null value: events[9].eventCheck = NULL src/client/battlescape/events/e_main.c:97:75: Global events[10].timeCallback initialized to null value: events[10].timeCallback = NULL src/client/battlescape/events/e_main.c:97:81: Global events[10].eventCheck initialized to null value: events[10].eventCheck = NULL src/client/battlescape/events/e_main.c:98:54: Global events[11].timeCallback initialized to null value: events[11].timeCallback = NULL src/client/battlescape/events/e_main.c:98:60: Global events[11].eventCheck initialized to null value: events[11].eventCheck = NULL src/client/battlescape/events/e_main.c:101:59: Global events[13].timeCallback initialized to null value: events[13].timeCallback = NULL src/client/battlescape/events/e_main.c:101:65: Global events[13].eventCheck initialized to null value: events[13].eventCheck = NULL src/client/battlescape/events/e_main.c:102:57: Global events[14].timeCallback initialized to null value: events[14].timeCallback = NULL src/client/battlescape/events/e_main.c:102:63: Global events[14].eventCheck initialized to null value: events[14].eventCheck = NULL src/client/battlescape/events/e_main.c:104:99: Global events[16].timeCallback initialized to null value: events[16].timeCallback = NULL src/client/battlescape/events/e_main.c:104:105: Global events[16].eventCheck initialized to null value: events[16].eventCheck = NULL src/client/battlescape/events/e_main.c:106:80: Global events[17].timeCallback initialized to null value: events[17].timeCallback = NULL src/client/battlescape/events/e_main.c:106:86: Global events[17].eventCheck initialized to null value: events[17].eventCheck = NULL src/client/battlescape/events/e_main.c:107:90: Global events[18].eventCheck initialized to null value: events[18].eventCheck = NULL src/client/battlescape/events/e_main.c:108:105: Global events[19].eventCheck initialized to null value: events[19].eventCheck = NULL src/client/battlescape/events/e_main.c:109:86: Global events[20].eventCheck initialized to null value: events[20].eventCheck = NULL src/client/battlescape/events/e_main.c:111:53: Global events[21].timeCallback initialized to null value: events[21].timeCallback = NULL src/client/battlescape/events/e_main.c:112:62: Global events[22].timeCallback initialized to null value: events[22].timeCallback = NULL src/client/battlescape/events/e_main.c:112:68: Global events[22].eventCheck initialized to null value: events[22].eventCheck = NULL src/client/battlescape/events/e_main.c:113:76: Global events[23].timeCallback initialized to null value: events[23].timeCallback = NULL src/client/battlescape/events/e_main.c:113:82: Global events[23].eventCheck initialized to null value: events[23].eventCheck = NULL src/client/battlescape/events/e_main.c:114:96: Global events[24].timeCallback initialized to null value: events[24].timeCallback = NULL src/client/battlescape/events/e_main.c:114:102: Global events[24].eventCheck initialized to null value: events[24].eventCheck = NULL src/client/battlescape/events/e_main.c:116:46: Global events[25].timeCallback initialized to null value: events[25].timeCallback = NULL src/client/battlescape/events/e_main.c:116:52: Global events[25].eventCheck initialized to null value: events[25].eventCheck = NULL src/client/battlescape/events/e_main.c:117:48: Global events[26].timeCallback initialized to null value: events[26].timeCallback = NULL src/client/battlescape/events/e_main.c:117:54: Global events[26].eventCheck initialized to null value: events[26].eventCheck = NULL src/client/battlescape/events/e_main.c:118:53: Global events[27].timeCallback initialized to null value: events[27].timeCallback = NULL src/client/battlescape/events/e_main.c:118:59: Global events[27].eventCheck initialized to null value: events[27].eventCheck = NULL src/client/battlescape/events/e_main.c:119:59: Global events[28].timeCallback initialized to null value: events[28].timeCallback = NULL src/client/battlescape/events/e_main.c:119:65: Global events[28].eventCheck initialized to null value: events[28].eventCheck = NULL src/client/battlescape/events/e_main.c:120:51: Global events[29].eventCallback initialized to null value: events[29].eventCallback = NULL src/client/battlescape/events/e_main.c:120:57: Global events[29].timeCallback initialized to null value: events[29].timeCallback = NULL src/client/battlescape/events/e_main.c:120:63: Global events[29].eventCheck initialized to null value: events[29].eventCheck = NULL src/client/battlescape/events/e_main.c:122:58: Global events[30].timeCallback initialized to null value: events[30].timeCallback = NULL src/client/battlescape/events/e_main.c:122:64: Global events[30].eventCheck initialized to null value: events[30].eventCheck = NULL src/client/battlescape/events/e_main.c:123:78: Global events[31].timeCallback initialized to null value: events[31].timeCallback = NULL src/client/battlescape/events/e_main.c:123:84: Global events[31].eventCheck initialized to null value: events[31].eventCheck = NULL src/client/battlescape/events/e_main.c:125:71: Global events[32].timeCallback initialized to null value: events[32].timeCallback = NULL src/client/battlescape/events/e_main.c:125:77: Global events[32].eventCheck initialized to null value: events[32].eventCheck = NULL src/client/battlescape/events/e_main.c:126:75: Global events[33].timeCallback initialized to null value: events[33].timeCallback = NULL src/client/battlescape/events/e_main.c:126:81: Global events[33].eventCheck initialized to null value: events[33].eventCheck = NULL src/client/battlescape/events/e_main.c:128:51: Global events[34].timeCallback initialized to null value: events[34].timeCallback = NULL src/client/battlescape/events/e_main.c:128:57: Global events[34].eventCheck initialized to null value: events[34].eventCheck = NULL src/client/battlescape/events/e_main.c:129:54: Global events[35].timeCallback initialized to null value: events[35].timeCallback = NULL src/client/battlescape/events/e_main.c:129:60: Global events[35].eventCheck initialized to null value: events[35].eventCheck = NULL src/client/battlescape/events/e_main.c:130:63: Global events[36].timeCallback initialized to null value: events[36].timeCallback = NULL src/client/battlescape/events/e_main.c:130:69: Global events[36].eventCheck initialized to null value: events[36].eventCheck = NULL src/client/battlescape/events/e_main.c:131:85: Global events[37].timeCallback initialized to null value: events[37].timeCallback = NULL src/client/battlescape/events/e_main.c:131:91: Global events[37].eventCheck initialized to null value: events[37].eventCheck = NULL src/client/battlescape/events/e_main.c:134:27: Incompatible types for * (boolean, int): (((sizeof((events)) / sizeof((*(events)))) == EV_NUM_EVENTS) != 0) * 2 src/client/battlescape/events/e_main.c: (in function CL_GetEvent) src/client/battlescape/events/e_main.c:142:11: Immediate address &events[] returned as implicitly only: &events[i] src/client/battlescape/events/e_main.c:146:2: Path with no return in function declared to return eventRegister_t * src/client/battlescape/cl_actor.h:83:6: Function CL_ActorDoTurn redeclared with 1 arg, previously declared with 2 src/client/battlescape/cl_actor.h:83:6: Previous declaration of CL_ActorDoTurn src/client/battlescape/cl_actor.h:83:37: Parameter 1, msg, of function CL_ActorDoTurn has inconsistent type: declared struct dbuffer *, previously declared eventRegister_t * src/client/battlescape/cl_actor.h:83:6: Previous declaration of CL_ActorDoTurn src/client/battlescape/events/e_parse.c: (in function CL_LogEvent) src/client/battlescape/events/e_parse.c:74:7: Operand of ! is non-boolean (int): !cl_log_battlescape_events->integer src/client/battlescape/events/e_parse.c:77:28: Passed storage f contains 5 undefined fields: z, f, name, filepos, size src/client/battlescape/events/e_parse.c:77:2: Return value (type int) ignored: FS_OpenFile("eve... src/client/battlescape/events/e_parse.c:79:10: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/events/e_parse.c:83:21: Passed storage tbuf not completely defined (*tbuf is undefined): Com_MakeTimestamp (tbuf, ...) src/client/battlescape/events/e_parse.c:85:3: Return value (type int) ignored: FS_Printf(&f, "%... src/client/battlescape/events/e_parse.c:88:2: Only storage f.z (type void *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/events/e_parse.c:88:2: Only storage f.f (type FILE *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/events/e_parse.c: (in function CL_CheckBattlescapeEvent) src/client/battlescape/events/e_parse.c:118:6: Test expression for if not boolean, type qboolean: CL_AreBattlescapeEventsBlocked() src/client/battlescape/events/e_parse.c:125:17: Fresh storage eventData not released before return src/client/battlescape/events/e_parse.c:122:57: Fresh storage eventData created src/client/battlescape/events/e_parse.c:127:55: Fresh storage eventData not released before return src/client/battlescape/events/e_parse.c:122:57: Fresh storage eventData created src/client/battlescape/events/e_parse.c:116:47: Parameter now not used src/client/battlescape/events/e_parse.c: (in function CL_ExecuteBattlescapeEvent) src/client/battlescape/events/e_parse.c:147:28: Possibly null storage eventData->eventCallback derivable from parameter eventData->eventCallback (eventData, ...) src/client/battlescape/events/e_parse.c:153:2: Return value (type uint32_t) ignored: _Mem_Free((event... src/client/battlescape/events/e_parse.c:154:2: Fresh storage eventData not released before return src/client/battlescape/events/e_parse.c:137:56: Fresh storage eventData created src/client/battlescape/events/e_parse.c: (in function CL_FreeBattlescapeEvent) src/client/battlescape/events/e_parse.c:160:2: Return value (type uint32_t) ignored: _Mem_Free((event... src/client/battlescape/events/e_parse.c: (in function CL_FilterBattlescapeEvents) src/client/battlescape/events/e_parse.c:165:9: Return value type boolean does not match declared type qboolean: (func != &CL_ExecuteBattlescapeEvent) src/client/battlescape/events/e_parse.c:163:49: Parameter when not used src/client/battlescape/events/e_parse.c:163:91: Parameter check not used src/client/battlescape/events/e_parse.c:163:104: Parameter data not used src/client/battlescape/events/e_parse.c: (in function CL_ParseEvent) src/client/battlescape/events/e_parse.c:187:6: Test expression for if not boolean, type int: eType & 0x80 src/client/battlescape/events/e_parse.c:201:6: Test expression for if not boolean, type qboolean: now src/client/battlescape/events/e_parse.c:203:15: Possibly null storage eventData->eventCallback derivable from parameter CL_LogEvent (eventData) src/client/battlescape/events/e_parse.c:213:3: Implicitly only storage cur->msg (type struct dbuffer *) not released before assignment: cur->msg = dbuffer_dup(msg) src/client/battlescape/events/e_parse.c:223:3: Fresh storage cur not released before scope exit src/client/battlescape/events/e_parse.c:207:150: Fresh storage cur created src/client/battlescape/events/e_parse.c:224:2: Fresh storage eventData not released before return src/client/battlescape/events/e_parse.c:197:2: Fresh storage eventData created src/client/battlescape/events/e_server.c:32:13: Function CL_NextRound_f shadows outer declaration src/client/battlescape/cl_actor.h:93:6: Previous declaration of CL_NextRound_f: [function (void) returns void] src/client/battlescape/events/e_server.c: (in function CL_NextRound_f) src/client/battlescape/events/e_server.c:36:7: Operand of ! is non-boolean (qboolean): !CL_BattlescapeRunning() src/client/battlescape/events/e_server.c:47:2: Fresh storage msg not released before return src/client/battlescape/events/e_server.c:44:2: Fresh storage msg created src/client/battlescape/events/e_server.c: (in function CL_ServerEventsInit) src/client/battlescape/events/e_server.c:51:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Ends current round") src/client/battlescape/events/e_time.c: (in function CL_GetEventTime) src/client/battlescape/events/e_time.c:84:7: Test expression for if not boolean, type qboolean: parsedDeath src/client/battlescape/events/e_time.c:116:49: Passed storage &first not completely defined: NET_ReadFormat (..., &first, ...) src/client/battlescape/events/e_time.c:118:29: Variable objIdx used before definition src/client/battlescape/events/e_time.c:119:8: Test expression for if not boolean, type int: first src/client/battlescape/events/e_time.c:123:50: Variable weapFdsIdx used before definition src/client/battlescape/events/e_time.c:123:62: Variable fireDefIndex used before definition src/client/battlescape/events/e_time.c:128:9: Test expression for if not boolean, type float: fd->delayBetweenShots src/client/battlescape/events/e_time.c:130:5: Fresh storage fd not released before scope exit src/client/battlescape/events/e_time.c:123:76: Fresh storage fd created src/client/battlescape/events/e_time.c:132:4: Fresh storage obj not released before scope exit src/client/battlescape/events/e_time.c:118:4: Fresh storage obj created src/client/battlescape/events/e_time.c:152:4: Return value (type int) ignored: NET_ReadByte(msg) src/client/battlescape/events/e_time.c:153:4: Return value (type int) ignored: NET_ReadByte(msg) src/client/battlescape/events/e_time.c:154:4: Return value (type int) ignored: NET_ReadByte(msg) src/client/battlescape/events/e_time.c:156:15: Arrow access from possibly null pointer le: le->pos src/client/battlescape/events/e_time.c:145:9: Storage le may become null src/client/battlescape/events/e_time.c:157:21: Test expression for conditional not boolean, type int: ((le)->state & 0x0004) src/client/battlescape/events/e_time.c:157:4: Assignment of int to byte: crouchingState = ((le)->state & 0x0004) ? 1 : 0 src/client/battlescape/events/e_time.c:160:25: Variable fulldv initialized to type int, expects byte: NET_ReadByte(msg) src/client/battlescape/events/e_time.c:164:50: Function LE_ActorGetStepTime expects arg 4 to be int gets byte: dir src/client/battlescape/events/e_time.c:165:5: Return value (type int) ignored: NET_ReadShort(msg) src/client/battlescape/events/e_time.c:168:4: Fresh storage le not released before scope exit src/client/battlescape/events/e_time.c:145:4: Fresh storage le created src/client/battlescape/events/e_time.c:181:49: Passed storage &dummy not completely defined: NET_ReadFormat (..., &dummy, ...) src/client/battlescape/events/e_time.c:183:29: Variable objIdx used before definition src/client/battlescape/events/e_time.c:184:32: Function FIRESH_GetFiredef expects arg 2 to be weaponFireDefIndex_t gets int: weap_fds_idx src/client/battlescape/events/e_time.c:184:46: Function FIRESH_GetFiredef expects arg 3 to be fireDefIndex_t gets int: fd_idx src/client/battlescape/events/e_time.c:184:32: Variable weap_fds_idx used before definition src/client/battlescape/events/e_time.c:184:46: Variable fd_idx used before definition src/client/battlescape/events/e_time.c:186:10: Variable flags used before definition src/client/battlescape/events/e_time.c:186:9: Operand of ! is non-boolean (int): !(flags & 8) src/client/battlescape/events/e_time.c:188:37: Passed storage impact not completely defined (*impact is undefined): CL_OutsideMap (impact, ...) src/client/battlescape/events/e_time.c:188:23: Operand of ! is non-boolean (qboolean): !CL_OutsideMap(impact, 32 * 10) src/client/battlescape/events/e_time.c:188:9: Left operand of && is non-boolean (float): fd->speed && !CL_OutsideMap(impact, 32 * 10) src/client/battlescape/events/e_time.c:189:57: Array element muzzle[0] used before definition src/client/battlescape/events/e_time.c:189:6: Assignment of double to int: impactTime = shootTime + 1000 * (sqrt((impact[0] - muzzle[0]) * (impact[0] - muzzle[0]) + (impact[1] - muzzle[1]) * (impact[1] - muzzle[1]) + (impact[2] - muzzle[2]) * (impact[2] - muzzle[2]))) / fd->speed src/client/battlescape/events/e_time.c:197:9: Test expression for if not boolean, type float: fd->delayBetweenShots src/client/battlescape/events/e_time.c:202:9: Test expression for if not boolean, type float: fd->speed src/client/battlescape/events/e_time.c:203:35: Array element impact[0] used before definition src/client/battlescape/events/e_time.c:203:46: Array element muzzle[0] used before definition src/client/battlescape/events/e_time.c:208:4: Fresh storage fd not released before scope exit src/client/battlescape/events/e_time.c:184:4: Fresh storage fd created src/client/battlescape/events/e_time.c:208:4: Fresh storage obj not released before scope exit src/client/battlescape/events/e_time.c:183:4: Fresh storage obj created src/client/battlescape/events/e_time.c:222:19: Fresh storage eventData not released before return src/client/battlescape/events/e_time.c:50:56: Fresh storage eventData created src/client/battlescape/events/e_time.c:48:70: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actoradd.c: (in function CL_ActorAdd) src/client/battlescape/events/event/actor/e_event_actoradd.c:47:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actoradd.c:44:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actoradd.c:57:6: Variable teamDefID used before definition src/client/battlescape/events/event/actor/e_event_actoradd.c:60:3: Implicitly only storage le->teamDef (type teamDef_t *) not released before assignment: le->teamDef = &csi.teamDef[teamDefID] src/client/battlescape/events/event/actor/e_event_actoradd.c:60:3: Immediate address &csi.teamDef[] assigned to implicitly only: le->teamDef = &csi.teamDef[teamDefID] src/client/battlescape/events/event/actor/e_event_actorappear.c: (in function CL_ActorAppearTime) src/client/battlescape/events/event/actor/e_event_actorappear.c:33:48: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorappear.c:33:70: Parameter msg not used src/client/battlescape/events/event/actor/e_event_actorappear.c:33:85: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actorappear.c: (in function CL_DrawLineOfSight) src/client/battlescape/events/event/actor/e_event_actorappear.c:55:6: Test expression for if not boolean, type int: ((watcher)->state & 0x0004) src/client/battlescape/events/event/actor/e_event_actorappear.c:60:64: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/events/event/actor/e_event_actorappear.c:63:4: Assignment of double to vec_t: ptl->color[0] = (0.2) src/client/battlescape/events/event/actor/e_event_actorappear.c:63:26: Assignment of double to vec_t: ptl->color[1] = (0.2) src/client/battlescape/events/event/actor/e_event_actorappear.c:63:48: Assignment of int to vec_t: ptl->color[2] = (1) src/client/battlescape/events/event/actor/e_event_actorappear.c:64:2: Fresh storage ptl not released before return src/client/battlescape/events/event/actor/e_event_actorappear.c:60:2: Fresh storage ptl created src/client/battlescape/events/event/actor/e_event_actorappear.c: (in function CL_ActorAppear) src/client/battlescape/events/event/actor/e_event_actorappear.c:110:3: Implicitly only storage le->teamDef (type teamDef_t *) not released before assignment: le->teamDef = &csi.teamDef[teamDefID] src/client/battlescape/events/event/actor/e_event_actorappear.c:110:3: Immediate address &csi.teamDef[] assigned to implicitly only: le->teamDef = &csi.teamDef[teamDefID] src/client/battlescape/events/event/actor/e_event_actorappear.c:124:18: Variable modelnum1 used before definition src/client/battlescape/events/event/actor/e_event_actorappear.c:125:18: Variable modelnum2 used before definition src/client/battlescape/events/event/actor/e_event_actorappear.c:126:2: Implicitly only storage le->model1 (type model_t *) not released before assignment: le->model1 = cl.model_draw[modelnum1] src/client/battlescape/events/event/actor/e_event_actorappear.c:126:2: Unqualified storage cl.model_draw[modelnum1] assigned to implicitly only: le->model1 = cl.model_draw[modelnum1] src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Implicitly only storage le->model2 (type model_t *) not released before assignment: le->model2 = cl.model_draw[modelnum2] src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Unqualified storage cl.model_draw[modelnum2] assigned to implicitly only: le->model2 = cl.model_draw[modelnum2] src/client/battlescape/events/event/actor/e_event_actorappear.c:133:6: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorappear.c:138:14: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:141:23: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:141:6: Left operand of && is non-boolean (qboolean): LE_IsLivingActor(le) && le->team != cls.team src/client/battlescape/events/event/actor/e_event_actorappear.c:145:7: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorappear.c:148:18: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:153:39: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:157:9: Test expression for if not boolean, type qboolean: GAME_TeamIsKnown(le->teamDef) src/client/battlescape/events/event/actor/e_event_actorappear.c:159:18: Passed storage tmpbuf not completely defined (*tmpbuf is undefined): Com_sprintf (tmpbuf, ...) src/client/battlescape/events/event/actor/e_event_actorappear.c:159:42: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Enemy spotted: %s!") src/client/battlescape/events/event/actor/e_event_actorappear.c:159:6: Return value (type qboolean) ignored: Com_sprintf(tmpb... src/client/battlescape/events/event/actor/e_event_actorappear.c:162:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Enemy spotted!\n") src/client/battlescape/events/event/actor/e_event_actorappear.c:164:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Civilian spotted!\n") src/client/battlescape/events/event/actor/e_event_actorappear.c:167:32: Possibly null storage leResponsible passed as non-null param: CL_ActorConditionalMoveCalc (leResponsible ? leResponsible : selActor) src/client/battlescape/events/event/actor/e_event_actorappear.c:82:18: Storage leResponsible may become null src/client/battlescape/events/event/actor/e_event_actorappear.c:172:24: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:173:12: Storage le->model1 reachable from passed parameter is kept (should be implicitly only): le src/client/battlescape/events/event/actor/e_event_actorappear.c:127:2: Storage le->model1 becomes kept src/client/battlescape/events/event/actor/e_event_actorappear.c:174:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorappear.c:81:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorappear.c:174:2: Fresh storage leResponsible not released before return src/client/battlescape/events/event/actor/e_event_actorappear.c:82:2: Fresh storage leResponsible created src/client/battlescape/events/event/actor/e_event_actordie.c: (in function CL_ActorDie) src/client/battlescape/events/event/actor/e_event_actordie.c:42:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actordie.c:46:22: Variable attackerEntnum used before definition src/client/battlescape/events/event/actor/e_event_actordie.c:51:18: Possibly null storage le passed as non-null param: LE_IsActor (le) src/client/battlescape/events/event/actor/e_event_actordie.c:45:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actordie.c:51:7: Operand of ! is non-boolean (qboolean): !LE_IsActor(le) src/client/battlescape/events/event/actor/e_event_actordie.c:54:6: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:65:14: Variable state used before definition src/client/battlescape/events/event/actor/e_event_actordie.c:69:14: Null storage le->i.c[] derivable from parameter LE_SetThink (le, ...) src/client/battlescape/events/event/actor/e_event_actordie.c:63:34: Storage le->i.c[] becomes null src/client/battlescape/events/event/actor/e_event_actordie.c:69:18: Null storage passed as non-null param: LE_SetThink (..., NULL) src/client/battlescape/events/event/actor/e_event_actordie.c:70:7: Operand of ! is non-boolean (qboolean): !le->invis src/client/battlescape/events/event/actor/e_event_actordie.c:71:37: New fresh storage (type char *) passed as implicitly temp (not released): va("death%i", ((le)->state & 3)) src/client/battlescape/events/event/actor/e_event_actordie.c:72:36: New fresh storage (type char *) passed as implicitly temp (not released): va("dead%i", ((le)->state & 3)) src/client/battlescape/events/event/actor/e_event_actordie.c:79:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:80:17: Passed storage tmpbuf not completely defined (*tmpbuf is undefined): Com_sprintf (tmpbuf, ...) src/client/battlescape/events/event/actor/e_event_actordie.c:80:63: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s was stunned\n") src/client/battlescape/events/event/actor/e_event_actordie.c:80:5: Return value (type qboolean) ignored: Com_sprintf(tmpb... src/client/battlescape/events/event/actor/e_event_actordie.c:82:17: Passed storage tmpbuf not completely defined (*tmpbuf is undefined): Com_sprintf (tmpbuf, ...) src/client/battlescape/events/event/actor/e_event_actordie.c:82:63: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s was killed\n") src/client/battlescape/events/event/actor/e_event_actordie.c:82:5: Return value (type qboolean) ignored: Com_sprintf(tmpb... src/client/battlescape/events/event/actor/e_event_actordie.c:86:3: Fresh storage chr not released before scope exit src/client/battlescape/events/event/actor/e_event_actordie.c:76:47: Fresh storage chr created src/client/battlescape/events/event/actor/e_event_actordie.c:89:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:90:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A civilian was stunned.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:92:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A civilian was killed.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:95:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:96:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("An alien was stunned.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:98:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("An alien was killed.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:101:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:102:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A soldier was stunned.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:104:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A soldier was killed.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:107:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/battlescape/events/event/actor/e_event_actordie.c:108:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A member of team %i was stunned.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:108:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("A member of team %i was stunned.\n"), le->team) src/client/battlescape/events/event/actor/e_event_actordie.c:110:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A member of team %i was killed.\n") src/client/battlescape/events/event/actor/e_event_actordie.c:110:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("A member of team %i was killed.\n"), le->team) src/client/battlescape/events/event/actor/e_event_actordie.c:123:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actordie.c:45:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actordie.c:123:2: Fresh storage attackerLE not released before return src/client/battlescape/events/event/actor/e_event_actordie.c:46:2: Fresh storage attackerLE created src/client/battlescape/events/event/actor/e_event_actordooraction.c: (in function CL_ActorDoorAction) src/client/battlescape/events/event/actor/e_event_actordooraction.c:42:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number, ...) src/client/battlescape/events/event/actor/e_event_actordooraction.c:50:4: Arrow access from possibly null pointer le: le->clientAction src/client/battlescape/events/event/actor/e_event_actordooraction.c:45:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actordooraction.c:50:28: Variable doornumber used before definition src/client/battlescape/events/event/actor/e_event_actordooraction.c:50:2: Implicitly only storage le->clientAction (type struct le_s *) not released before assignment: le->clientAction = LE_Get(doornumber) src/client/battlescape/events/event/actor/e_event_actordooraction.c:55:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actordooraction.c:45:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actormove.c: (in function CL_ActorDoMoveTime) src/client/battlescape/events/event/actor/e_event_actormove.c:29:48: Parameter self not used src/client/battlescape/events/event/actor/e_event_actormove.c:29:70: Parameter msg not used src/client/battlescape/events/event/actor/e_event_actormove.c:29:85: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actormove.c: (in function CL_ActorDoMove) src/client/battlescape/events/event/actor/e_event_actormove.c:72:18: Possibly null storage le passed as non-null param: LE_IsActor (le) src/client/battlescape/events/event/actor/e_event_actormove.c:68:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actormove.c:72:7: Operand of ! is non-boolean (qboolean): !LE_IsActor(le) src/client/battlescape/events/event/actor/e_event_actormove.c:76:11: Arrow access from possibly null pointer le: (le)->state src/client/battlescape/events/event/actor/e_event_actormove.c:68:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actormove.c:76:6: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actormove.c:97:2: Assignment of int to pos_t: le->newPos[0] = NET_ReadByte(msg) src/client/battlescape/events/event/actor/e_event_actormove.c:98:2: Assignment of int to pos_t: le->newPos[1] = NET_ReadByte(msg) src/client/battlescape/events/event/actor/e_event_actormove.c:99:2: Assignment of int to pos_t: le->newPos[2] = NET_ReadByte(msg) src/client/battlescape/events/event/actor/e_event_actormove.c:102:3: Assignment of int to byte: le->path[i] = NET_ReadByte(msg) src/client/battlescape/events/event/actor/e_event_actormove.c:109:14: Null storage le->i.c[] derivable from parameter LE_SetThink (le, ...) src/client/battlescape/events/event/actor/e_event_actormove.c:108:34: Storage le->i.c[] becomes null src/client/battlescape/events/event/actor/e_event_actormove.c:113:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actormove.c:68:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actormove.c:61:45: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c: (in function CL_ActorResetClientAction) src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:40:42 : Passed storage &number not completely defined: NET_ReadFormat (..., &number) src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:48:4: Arrow access from possibly null pointer le: le->clientAction src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:43 :7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:48:2: Implicitly only storage le->clientAction (type struct le_s *) not released before assignment: le->clientAction = NULL src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:50:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorresetclientaction.c:43 :2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorreservationchange.c: (in function CL_ActorReservationChange) src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:43:42 : Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:49:23 : Possibly null storage le passed as non-null param: CL_ActorGetChr (le) src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:45 :7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:51:10 : Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:45 :2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:53:30 : Variable reaction used before definition src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:54:26 : Variable shot used before definition src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:55:28 : Variable crouch used before definition src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:56:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:45 :2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:56:2: Fresh storage chr not released before return src/client/battlescape/events/event/actor/e_event_actorreservationchange.c:49 :2: Fresh storage chr created src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c: (in function CL_ActorReactionFireChange) src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:47:4 2: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:53:2 3: Possibly null storage le passed as non-null param: CL_ActorGetChr (le) src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:4 9:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:55:1 0: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:4 9:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:57:6 : Variable odIdx used before definition src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:62:2 5: Variable hand used before definition src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:62:3 1: Variable fmIdx used before definition src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:62:3 8: Null storage od passed as non-null param: CL_ActorSetRFMode (..., od) src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:6 0:8: Storage od becomes null src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:66:2 : Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:4 9:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:66:2 : Fresh storage chr not released before return src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:5 3:2: Fresh storage chr created src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:66:2 : Fresh storage od not released before return src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.c:5 8:3: Fresh storage od created src/client/renderer/r_mesh.h:29:36: Function parameter boxSize declared as manifest array (size constant is meaningless) src/client/renderer/r_mesh.h:29:69: Function parameter scale declared as manifest array (size constant is meaningless) src/client/renderer/r_mesh.h:29:83: Function parameter center declared as manifest array (size constant is meaningless) src/client/battlescape/events/event/actor/e_event_actorshoot.c: (in function CL_ActorDoShootTime) src/client/battlescape/events/event/actor/e_event_actorshoot.c:33:49: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorshoot.c:33:71: Parameter msg not used src/client/battlescape/events/event/actor/e_event_actorshoot.c:33:86: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actorshoot.c:90:58: Function parameter muzzle declared as manifest array (size constant is meaningless) src/client/battlescape/events/event/actor/e_event_actorshoot.c: (in function CL_ActorGetMuzzle) src/client/battlescape/events/event/actor/e_event_actorshoot.c:117:29: Possibly null storage model passed as non-null param: R_GetTagMatrix (model, ...) src/client/battlescape/events/event/actor/e_event_actorshoot.c:112:10: Storage model may become null src/client/battlescape/events/event/actor/e_event_actorshoot.c:125:49: Passed storage mc not completely defined (*mc is undefined): GLMatrixAssemble (..., mc) src/client/battlescape/events/event/actor/e_event_actorshoot.c:127:25: Possibly null storage shooterTag passed as non-null param: memcpy (..., shooterTag, ...) src/client/battlescape/events/event/actor/e_event_actorshoot.c:121:15: Storage shooterTag may become null src/client/battlescape/events/event/actor/e_event_actorshoot.c:129:39: Passed storage matrix not completely defined (*matrix is undefined): GLMatrixMultiply (..., matrix) src/client/battlescape/events/event/actor/e_event_actorshoot.c:138:2: Fresh storage shooterTag not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:121:2: Fresh storage shooterTag created src/client/battlescape/events/event/actor/e_event_actorshoot.c:138:2: Fresh storage muzzleTag not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:117:2: Fresh storage muzzleTag created src/client/battlescape/events/event/actor/e_event_actorshoot.c: (in function CL_ActorDoShoot) src/client/battlescape/events/event/actor/e_event_actorshoot.c:161:42: Passed storage &shooterEntnum not completely defined: NET_ReadFormat (..., &shooterEntnum, ...) src/client/battlescape/events/event/actor/e_event_actorshoot.c:163:6: Variable victimEntnum used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:175:27: Variable objIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:30: Variable weapFdsIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:42: Variable fdIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:178:31: Passed storage muzzle not completely defined (*muzzle is undefined): CL_ActorGetMuzzle (..., muzzle, ...) src/client/battlescape/events/event/actor/e_event_actorshoot.c:178:39: Variable shootType used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:181:23: Variable flags used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:181:38: Passed storage impact not completely defined (*impact is undefined): LE_AddProjectile (..., impact, ...) src/client/battlescape/events/event/actor/e_event_actorshoot.c:181:46: Variable normal used before definition src/client/battlescape/events/event/actor/e_event_actorshoot.c:181:54: Possibly null storage leVictim passed as non-null param: LE_AddProjectile (..., leVictim) src/client/battlescape/events/event/actor/e_event_actorshoot.c:168:14: Storage leVictim may become null src/client/battlescape/events/event/actor/e_event_actorshoot.c:185:27: Operand of ! is non-boolean (int): !(flags & 8) src/client/battlescape/events/event/actor/e_event_actorshoot.c:185:6: Left operand of && is non-boolean (char): fd->fireSound[0] && !(flags & 8) src/client/battlescape/events/event/actor/e_event_actorshoot.c:186:53: Function S_PlaySample expects arg 3 to be float gets int: fd->fireAttenuation src/client/battlescape/events/event/actor/e_event_actorshoot.c:186:24: New fresh storage (type s_sample_t *) passed as implicitly temp (not released): S_LoadSample(fd->fireSound) src/client/battlescape/events/event/actor/e_event_actorshoot.c:188:6: Test expression for if not boolean, type int: fd->irgoggles src/client/battlescape/events/event/actor/e_event_actorshoot.c:193:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorshoot.c:193:10: Fresh storage leVictim not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:164:3: Fresh storage leVictim created src/client/battlescape/events/event/actor/e_event_actorshoot.c:193:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:175:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorshoot.c:195:7: Operand of ! is non-boolean (qboolean): !LE_IsActor(leShooter) src/client/battlescape/events/event/actor/e_event_actorshoot.c:200:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorshoot.c:200:10: Fresh storage leShooter not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:172:2: Fresh storage leShooter created src/client/battlescape/events/event/actor/e_event_actorshoot.c:200:10: Fresh storage leVictim not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:164:3: Fresh storage leVictim created src/client/battlescape/events/event/actor/e_event_actorshoot.c:200:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:175:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorshoot.c:202:6: Test expression for if not boolean, type int: ((leShooter)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorshoot.c:204:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorshoot.c:204:10: Fresh storage leShooter not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:172:2: Fresh storage leShooter created src/client/battlescape/events/event/actor/e_event_actorshoot.c:204:10: Fresh storage leVictim not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:164:3: Fresh storage leVictim created src/client/battlescape/events/event/actor/e_event_actorshoot.c:204:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:175:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorshoot.c:209:51: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("shoot", leShooter->right, leShooter->left, leShooter->state) src/client/battlescape/events/event/actor/e_event_actorshoot.c:210:51: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("stand", leShooter->right, leShooter->left, leShooter->state) src/client/battlescape/events/event/actor/e_event_actorshoot.c:212:51: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("shoot", leShooter->left, leShooter->right, leShooter->state) src/client/battlescape/events/event/actor/e_event_actorshoot.c:213:51: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("stand", leShooter->left, leShooter->right, leShooter->state) src/client/battlescape/events/event/actor/e_event_actorshoot.c:218:2: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:176:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorshoot.c:218:2: Fresh storage leShooter not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:172:2: Fresh storage leShooter created src/client/battlescape/events/event/actor/e_event_actorshoot.c:218:2: Fresh storage leVictim not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:164:3: Fresh storage leVictim created src/client/battlescape/events/event/actor/e_event_actorshoot.c:218:2: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorshoot.c:175:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorshoothidden.c: (in function CL_ActorShootHiddenTime) src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:28:53: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:28:75: Parameter msg not used src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:28:90: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actorshoothidden.c: (in function CL_ActorShootHidden) src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:69:42: Passed storage &first not completely defined: NET_ReadFormat (..., &first, ...) src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:72:27: Variable objIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:73:30: Variable weapFdsIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:73:42: Variable fdIdx used before definition src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:76:8: Operands of && are non-booleans (int, qboolean): first && fd->soundOnce src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:76:37: Operand of ! is non-boolean (int): !first src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:76:47: Operand of ! is non-boolean (qboolean): !fd->soundOnce src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:76:66: Right operand of && is non-boolean (char): ((first && fd->soundOnce) || (!first && !fd->soundOnce)) && fd->fireSound[0] src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:78:2: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:73:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:78:2: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorshoothidden.c:72:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c: (in function CL_ActorStartShootTime) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:30:52: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:30:74: Parameter msg not used src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:30:89: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actorstartshoot.c: (in function CL_ActorStartShoot) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:62:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:64:27: Variable objIdx used before definition src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:30: Variable weapFdsIdx used before definition src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:42: Variable fdIdx used before definition src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:72:18: Passed storage from not completely defined (*from is undefined): CL_CameraRoute (from, ...) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:72:24: Passed storage target not completely defined (*target is undefined): CL_CameraRoute (..., target) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:77:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:77:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:64:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:79:7: Operand of ! is non-boolean (qboolean): !LE_IsLivingActor(le) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:81:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:68:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:81:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:81:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:64:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:86:10: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:86:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:68:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:86:10: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:64:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:89:7: Variable shootType used before definition src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:90:37: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("move", le->right, le->left, le->state) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:92:37: New fresh storage (type char *) passed as implicitly temp (not released): LE_GetAnim("move", le->left, le->right, le->state) src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:97:2: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:65:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:97:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:68:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:97:2: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorstartshoot.c:64:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorstatechange.c: (in function CL_ActorStateChange) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:37:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:43:18: Possibly null storage le passed as non-null param: LE_IsActor (le) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:39:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorstatechange.c:43:7: Operand of ! is non-boolean (qboolean): !LE_IsActor(le) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:45:12: Variable state used before definition src/client/battlescape/events/event/actor/e_event_actorstatechange.c:46:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstatechange.c:39:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstatechange.c:50:8: Variable state used before definition src/client/battlescape/events/event/actor/e_event_actorstatechange.c:50:28: Operand of ! is non-boolean (int): !((le)->state & 0x0004) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:50:7: Left operand of && is non-boolean (int): (state & 0x0004) && !((le)->state & 0x0004) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:51:6: Operand of ! is non-boolean (int): !(state & 0x0004) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:51:26: Right operand of && is non-boolean (int): !(state & 0x0004) && ((le)->state & 0x0004) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:61:27: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:61:6: Left operand of && is non-boolean (int): (state & 0x0003) && !((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:64:15: Null storage le->i.c[] derivable from parameter LE_SetThink (le, ...) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:63:35: Storage le->i.c[] becomes null src/client/battlescape/events/event/actor/e_event_actorstatechange.c:64:19: Null storage passed as non-null param: LE_SetThink (..., NULL) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:67:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstatechange.c:39:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstatechange.c:76:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstatechange.c:39:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstatechange.c:80:7: Operand of ! is non-boolean (int): !(le->state & 0x0300) src/client/battlescape/events/event/actor/e_event_actorstatechange.c:84:7: Test expression for if not boolean, type int: le->state & 0x0200 src/client/battlescape/events/event/actor/e_event_actorstatechange.c:86:12: Test expression for if not boolean, type int: le->state & 0x0100 src/client/battlescape/events/event/actor/e_event_actorstatechange.c:92:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstatechange.c:39:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstatechange.c:92:2: Fresh storage chr not released before return src/client/battlescape/events/event/actor/e_event_actorstatechange.c:74:2: Fresh storage chr created src/client/battlescape/events/event/actor/e_event_actorstats.c: (in function CL_ActorStats) src/client/battlescape/events/event/actor/e_event_actorstats.c:46:12: Arrow access from possibly null pointer le: le->type src/client/battlescape/events/event/actor/e_event_actorstats.c:42:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorstats.c:53:10: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstats.c:42:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorstats.c:56:6: Test expression for if not boolean, type qboolean: le->selected src/client/battlescape/events/event/actor/e_event_actorstats.c:69:26: Right operand of && is non-boolean (qboolean): le->TU != oldTUs && le->selected src/client/battlescape/events/event/actor/e_event_actorstats.c:71:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorstats.c:42:2: Fresh storage le created src/client/battlescape/events/event/actor/e_event_actorthrow.c: (in function CL_ActorDoThrowTime) src/client/battlescape/events/event/actor/e_event_actorthrow.c:31:49: Parameter self not used src/client/battlescape/events/event/actor/e_event_actorthrow.c:31:86: Parameter dt not used src/client/battlescape/events/event/actor/e_event_actorthrow.c: (in function CL_ActorDoThrow) src/client/battlescape/events/event/actor/e_event_actorthrow.c:54:42: Passed storage &dtime not completely defined: NET_ReadFormat (..., &dtime, ...) src/client/battlescape/events/event/actor/e_event_actorthrow.c:57:27: Variable objIdx used before definition src/client/battlescape/events/event/actor/e_event_actorthrow.c:58:30: Variable weapFdsIdx used before definition src/client/battlescape/events/event/actor/e_event_actorthrow.c:58:42: Variable fdIdx used before definition src/client/battlescape/events/event/actor/e_event_actorthrow.c:62:20: Variable flags used before definition src/client/battlescape/events/event/actor/e_event_actorthrow.c:62:27: Passed storage muzzle not completely defined (*muzzle is undefined): LE_AddGrenade (..., muzzle, ...) src/client/battlescape/events/event/actor/e_event_actorthrow.c:62:35: Passed storage v0 not completely defined (*v0 is undefined): LE_AddGrenade (..., v0, ...) src/client/battlescape/events/event/actor/e_event_actorthrow.c:62:46: Null storage passed as non-null param: LE_AddGrenade (..., NULL) src/client/battlescape/events/event/actor/e_event_actorthrow.c:65:8: Operand of ! is non-boolean (qboolean): !fd->soundOnce src/client/battlescape/events/event/actor/e_event_actorthrow.c:65:25: Right operand of || is non-boolean (qboolean): !fd->soundOnce || firstShot src/client/battlescape/events/event/actor/e_event_actorthrow.c:65:39: Right operand of && is non-boolean (char): (!fd->soundOnce || firstShot) && fd->fireSound[0] src/client/battlescape/events/event/actor/e_event_actorthrow.c:65:60: Operand of ! is non-boolean (int): !(flags & 8) src/client/battlescape/events/event/actor/e_event_actorthrow.c:68:3: Fresh storage sample not released before scope exit src/client/battlescape/events/event/actor/e_event_actorthrow.c:66:41: Fresh storage sample created src/client/battlescape/events/event/actor/e_event_actorthrow.c:71:2: Fresh storage fd not released before return src/client/battlescape/events/event/actor/e_event_actorthrow.c:58:2: Fresh storage fd created src/client/battlescape/events/event/actor/e_event_actorthrow.c:71:2: Fresh storage obj not released before return src/client/battlescape/events/event/actor/e_event_actorthrow.c:57:2: Fresh storage obj created src/client/battlescape/events/event/actor/e_event_actorturn.c: (in function CL_ActorDoTurn) src/client/battlescape/events/event/actor/e_event_actorturn.c:39:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/actor/e_event_actorturn.c:46:18: Possibly null storage le passed as non-null param: LE_IsActor (le) src/client/battlescape/events/event/actor/e_event_actorturn.c:42:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorturn.c:46:7: Operand of ! is non-boolean (qboolean): !LE_IsActor(le) src/client/battlescape/events/event/actor/e_event_actorturn.c:50:11: Arrow access from possibly null pointer le: (le)->state src/client/battlescape/events/event/actor/e_event_actorturn.c:42:7: Storage le may become null src/client/battlescape/events/event/actor/e_event_actorturn.c:50:6: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/battlescape/events/event/actor/e_event_actorturn.c:53:12: Variable dir used before definition src/client/battlescape/events/event/actor/e_event_actorturn.c:55:2: Fresh storage le not released before return src/client/battlescape/events/event/actor/e_event_actorturn.c:42:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invadd.c: (in function CL_NetReceiveItem) src/client/battlescape/events/event/inventory/e_event_invadd.c:42:12: Implicitly only storage item->m (type objDef_t *) not released before assignment: item->m = NULL src/client/battlescape/events/event/inventory/e_event_invadd.c:42:2: Implicitly only storage item->t (type objDef_t *) not released before assignment: item->t = item->m = NULL src/client/battlescape/events/event/inventory/e_event_invadd.c:44:47: Passed storage &t not completely defined: NET_ReadFormat (..., &t, ...) src/client/battlescape/events/event/inventory/e_event_invadd.c:47:31: Variable m used before definition src/client/battlescape/events/event/inventory/e_event_invadd.c:48:2: Fresh storage eventData not released before return src/client/battlescape/events/event/inventory/e_event_invadd.c:38:66: Fresh storage eventData created src/client/battlescape/events/event/inventory/e_event_invadd.c: (in function CL_InvAdd) src/client/battlescape/events/event/inventory/e_event_invadd.c:64:4: Arrow access from possibly null pointer le: le->removeNextFrame src/client/battlescape/events/event/inventory/e_event_invadd.c:58:13: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invadd.c:70:26: Passed storage item contains 5 undefined fields: a, m, t, amount, rotated src/client/battlescape/events/event/inventory/e_event_invadd.c:70:33: Passed storage &container not completely defined: CL_NetReceiveItem (..., &container, ...) src/client/battlescape/events/event/inventory/e_event_invadd.c:70:45: Passed storage &x not completely defined: CL_NetReceiveItem (..., &x, ...) src/client/battlescape/events/event/inventory/e_event_invadd.c:70:49: Passed storage &y not completely defined: CL_NetReceiveItem (..., &y) src/client/battlescape/events/event/inventory/e_event_invadd.c:86:3: Only storage item.m (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/events/event/inventory/e_event_invadd.c:86:3: Only storage item.t (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/battlescape/events/event/inventory/e_event_invadd.c:99:2: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invadd.c:58:28: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invadd.c:55:40: Parameter self not used src/client/battlescape/events/event/inventory/e_event_invammo.c: (in function CL_InvAmmo) src/client/battlescape/events/event/inventory/e_event_invammo.c:37:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number, ...) src/client/battlescape/events/event/inventory/e_event_invammo.c:46:10: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invammo.c:39:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invammo.c:48:9: Variable container used before definition src/client/battlescape/events/event/inventory/e_event_invammo.c:50:64: Variable x used before definition src/client/battlescape/events/event/inventory/e_event_invammo.c:50:67: Variable y used before definition src/client/battlescape/events/event/inventory/e_event_invammo.c:52:10: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invammo.c:39:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invammo.c:55:15: Variable ammo used before definition src/client/battlescape/events/event/inventory/e_event_invammo.c:56:34: Variable type used before definition src/client/battlescape/events/event/inventory/e_event_invammo.c:56:2: Implicitly only storage ic->item.m (type objDef_t *) not released before assignment: ic->item.m = INVSH_GetItemByIDX(type) src/client/battlescape/events/event/inventory/e_event_invammo.c:57:2: Fresh storage ic not released before return src/client/battlescape/events/event/inventory/e_event_invammo.c:50:2: Fresh storage ic created src/client/battlescape/events/event/inventory/e_event_invammo.c:57:2: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invammo.c:39:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invdel.c: (in function CL_InvDel) src/client/battlescape/events/event/inventory/e_event_invdel.c:40:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number, ...) src/client/battlescape/events/event/inventory/e_event_invdel.c:47:6: Variable container used before definition src/client/battlescape/events/event/inventory/e_event_invdel.c:48:5: Arrow access from possibly null pointer le: le->right src/client/battlescape/events/event/inventory/e_event_invdel.c:42:7: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invdel.c:50:5: Arrow access from possibly null pointer le: le->left src/client/battlescape/events/event/inventory/e_event_invdel.c:42:7: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invdel.c:52:5: Arrow access from possibly null pointer le: le->extension src/client/battlescape/events/event/inventory/e_event_invdel.c:42:7: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invdel.c:54:5: Arrow access from possibly null pointer le: le->headgear src/client/battlescape/events/event/inventory/e_event_invdel.c:42:7: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invdel.c:56:8: Arrow access from possibly null pointer le: le->type src/client/battlescape/events/event/inventory/e_event_invdel.c:42:7: Storage le may become null src/client/battlescape/events/event/inventory/e_event_invdel.c:59:64: Variable x used before definition src/client/battlescape/events/event/inventory/e_event_invdel.c:59:67: Variable y used before definition src/client/battlescape/events/event/inventory/e_event_invdel.c:63:10: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invdel.c:42:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invdel.c:65:7: Operand of ! is non-boolean (qboolean): !cls.i.RemoveFromInventory(&cls.i, &le->i, (&csi.ids[(container)]), ic) src/client/battlescape/events/event/inventory/e_event_invdel.c:71:2: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invdel.c:42:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invdel.c:71:2: Fresh storage ic not released before return src/client/battlescape/events/event/inventory/e_event_invdel.c:59:2: Fresh storage ic created src/client/battlescape/events/event/inventory/e_event_invreload.c: (in function CL_InvReloadTime) src/client/battlescape/events/event/inventory/e_event_invreload.c:30:46: Parameter self not used src/client/battlescape/events/event/inventory/e_event_invreload.c:30:68: Parameter msg not used src/client/battlescape/events/event/inventory/e_event_invreload.c:30:83: Parameter dt not used src/client/battlescape/events/event/inventory/e_event_invreload.c: (in function CL_InvReload) src/client/battlescape/events/event/inventory/e_event_invreload.c:52:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number, ...) src/client/battlescape/events/event/inventory/e_event_invreload.c:59:10: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invreload.c:54:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invreload.c:61:9: Variable container used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:63:64: Variable x used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:63:67: Variable y used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:65:10: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invreload.c:54:2: Fresh storage le created src/client/battlescape/events/event/inventory/e_event_invreload.c:67:27: New fresh storage (type s_sample_t *) passed as implicitly temp (not released): S_LoadSample("weapons/reload") src/client/battlescape/events/event/inventory/e_event_invreload.c:72:6: Left operand of && is non-boolean (equipDef_t *): ed && ic->item.a > 0 src/client/battlescape/events/event/inventory/e_event_invreload.c:73:10: Variable ammo used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:76:7: Operands of >= have incompatible types (byte, int): ed->numItemsLoose[ic->item.m->idx] >= ic->item.t->ammo src/client/battlescape/events/event/inventory/e_event_invreload.c:83:15: Variable ammo used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:84:34: Variable type used before definition src/client/battlescape/events/event/inventory/e_event_invreload.c:84:2: Implicitly only storage ic->item.m (type objDef_t *) not released before assignment: ic->item.m = INVSH_GetItemByIDX(type) src/client/battlescape/events/event/inventory/e_event_invreload.c:85:2: Fresh storage ic not released before return src/client/battlescape/events/event/inventory/e_event_invreload.c:63:2: Fresh storage ic created src/client/battlescape/events/event/inventory/e_event_invreload.c:85:2: Fresh storage le not released before return src/client/battlescape/events/event/inventory/e_event_invreload.c:54:2: Fresh storage le created src/client/battlescape/events/event/player/e_event_centerview.c: (in function CL_CenterView) src/client/battlescape/events/event/player/e_event_centerview.c:33:42: Passed storage &pos not completely defined (*pos is undefined): NET_ReadFormat (..., &pos) src/client/battlescape/events/event/player/e_event_doendround.c: (in function CL_DoEndRound) src/client/battlescape/events/event/player/e_event_doendround.c:57:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Your round started!\n") src/client/battlescape/events/event/player/e_event_doendround.c:39:44: Parameter self not used src/client/battlescape/events/event/player/e_event_endroundannounce.c: (in function CL_EndRoundAnnounce) src/client/battlescape/events/event/player/e_event_endroundannounce.c:50:10: Fresh storage playerName not released before return src/client/battlescape/events/event/player/e_event_endroundannounce.c:46:55: Fresh storage playerName created src/client/battlescape/events/event/player/e_event_endroundannounce.c:55:15: Passed storage buf not completely defined (*buf is undefined): Com_sprintf (buf, ...) src/client/battlescape/events/event/player/e_event_endroundannounce.c:55:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've ended your round\n") src/client/battlescape/events/event/player/e_event_endroundannounce.c:55:3: Return value (type qboolean) ignored: Com_sprintf(buf,... src/client/battlescape/events/event/player/e_event_endroundannounce.c:58:15: Passed storage buf not completely defined (*buf is undefined): Com_sprintf (buf, ...) src/client/battlescape/events/event/player/e_event_endroundannounce.c:58:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s ended his round (team %i)\n") src/client/battlescape/events/event/player/e_event_endroundannounce.c:58:3: Return value (type qboolean) ignored: Com_sprintf(buf,... src/client/battlescape/events/event/player/e_event_endroundannounce.c:61:2: Fresh storage playerName not released before return src/client/battlescape/events/event/player/e_event_endroundannounce.c:46:55: Fresh storage playerName created src/client/battlescape/events/event/player/e_event_endroundannounce.c:40:50: Parameter self not used src/client/battlescape/events/event/player/e_event_reset.c: (in function CL_Reset) src/client/battlescape/events/event/player/e_event_reset.c:38:17: Null storage passed as non-null param: CL_ActorSelect (NULL) src/client/battlescape/events/event/player/e_event_reset.c:38:2: Return value (type qboolean) ignored: CL_ActorSelect(NULL) src/client/battlescape/events/event/player/e_event_results.c: (in function CL_ParseResults) src/client/battlescape/events/event/player/e_event_results.c:35:46: Parameter self not used src/client/battlescape/events/event/player/e_event_startgame.c: (in function CL_StartGame) src/client/battlescape/events/event/player/e_event_startgame.c:47:3: Assignment of double to vec_t: cl.cam.angles[0] = (60.0) src/client/battlescape/events/event/player/e_event_startgame.c:47:29: Assignment of double to vec_t: cl.cam.angles[1] = (60.0) src/client/battlescape/events/event/player/e_event_startgame.c:47:55: Assignment of double to vec_t: cl.cam.angles[2] = (0.0) src/client/battlescape/events/event/player/e_event_startgame.c:48:3: Assignment of double to vec_t: cl.cam.omega[0] = (0.0) src/client/battlescape/events/event/player/e_event_startgame.c:48:27: Assignment of double to vec_t: cl.cam.omega[1] = (0.0) src/client/battlescape/events/event/player/e_event_startgame.c:48:51: Assignment of double to vec_t: cl.cam.omega[2] = (0.0) src/client/battlescape/events/event/player/e_event_startgame.c:55:17: Null storage passed as non-null param: CL_ActorSelect (NULL) src/client/battlescape/events/event/player/e_event_startgame.c:55:2: Return value (type qboolean) ignored: CL_ActorSelect(NULL) src/client/battlescape/events/event/player/e_event_startgame.c:59:6: Test expression for if not boolean, type int: cl.numTeamList src/client/battlescape/events/event/player/e_event_startgame.c:70:36: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/battlescape/events/event/player/e_event_startgame.c:72:32: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/battlescape/events/event/player/e_event_startgame.c:41:43: Parameter self not used src/client/battlescape/events/event/world/e_event_addbrushmodel.c: (in function CL_AddBrushModel) src/client/battlescape/events/event/world/e_event_addbrushmodel.c:45:42: Passed storage &type not completely defined: NET_ReadFormat (..., &type, ...) src/client/battlescape/events/event/world/e_event_addbrushmodel.c:49:11: Variable modelnum1 used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:53:14: Variable entnum used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:57:2: Fresh storage le (type le_t *) not released before assignment: le = LE_Add(entnum) src/client/battlescape/events/event/world/e_event_addbrushmodel.c:53:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_addbrushmodel.c:58:9: Function assert expects arg 1 to be boolean gets le_t *: le src/client/battlescape/events/event/world/e_event_addbrushmodel.c:60:22: Variable speed used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:60:2: Assignment of int to float: le->rotationSpeed = speed / 100.0f src/client/battlescape/events/event/world/e_event_addbrushmodel.c:61:12: Variable angle used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:63:18: Variable modelnum1 used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:64:19: Variable levelflags used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:68:18: Array element origin[0] used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:69:18: Array element angles[0] used before definition src/client/battlescape/events/event/world/e_event_addbrushmodel.c:71:2: Return value (type qboolean) ignored: Com_sprintf(le->... src/client/battlescape/events/event/world/e_event_addbrushmodel.c:75:2: Implicitly only storage le->model1 (type model_t *) not released before assignment: le->model1 = R_RegisterModelShort(le->inlineModelName) src/client/battlescape/events/event/world/e_event_addbrushmodel.c:80:21: Arrow access from possibly null pointer model: model->mins src/client/battlescape/events/event/world/e_event_addbrushmodel.c:72:10: Storage model may become null src/client/battlescape/events/event/world/e_event_addbrushmodel.c:89:19: Possibly null storage le->model1 derivable from parameter CL_RecalcRouting (le) src/client/battlescape/events/event/world/e_event_addbrushmodel.c:75:15: Storage le->model1 may become null src/client/battlescape/events/event/world/e_event_addbrushmodel.c:90:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_addbrushmodel.c:57:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_addedict.c: (in function CL_AddEdictFunc) src/client/battlescape/events/event/world/e_event_addedict.c:36:3: Assignment of int to vec_t: ent->color[0] = (1) src/client/battlescape/events/event/world/e_event_addedict.c:36:23: Assignment of int to vec_t: ent->color[1] = (1) src/client/battlescape/events/event/world/e_event_addedict.c:36:43: Assignment of int to vec_t: ent->color[2] = (1) src/client/battlescape/events/event/world/e_event_addedict.c: (in function CL_AddEdict) src/client/battlescape/events/event/world/e_event_addedict.c:56:42: Passed storage &type not completely defined: NET_ReadFormat (..., &type, ...) src/client/battlescape/events/event/world/e_event_addedict.c:59:14: Variable entnum used before definition src/client/battlescape/events/event/world/e_event_addedict.c:67:16: Array element mins[0] used before definition src/client/battlescape/events/event/world/e_event_addedict.c:68:16: Array element maxs[0] used before definition src/client/battlescape/events/event/world/e_event_addedict.c:73:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_addedict.c:59:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_doorclose.c: (in function CL_DoorClose) src/client/battlescape/events/event/world/e_event_doorclose.c:41:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number) src/client/battlescape/events/event/world/e_event_doorclose.c:48:4: Arrow access from possibly null pointer le: le->angles src/client/battlescape/events/event/world/e_event_doorclose.c:43:7: Storage le may become null src/client/battlescape/events/event/world/e_event_doorclose.c:54:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_doorclose.c:43:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_dooropen.c: (in function CL_DoorOpen) src/client/battlescape/events/event/world/e_event_dooropen.c:39:42: Passed storage &number not completely defined: NET_ReadFormat (..., &number) src/client/battlescape/events/event/world/e_event_dooropen.c:46:4: Arrow access from possibly null pointer le: le->angles src/client/battlescape/events/event/world/e_event_dooropen.c:41:7: Storage le may become null src/client/battlescape/events/event/world/e_event_dooropen.c:52:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_dooropen.c:41:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_entappear.c: (in function CL_EntAppear) src/client/battlescape/events/event/world/e_event_entappear.c:42:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/world/e_event_entappear.c:53:13: Variable type used before definition src/client/battlescape/events/event/world/e_event_entappear.c:59:16: Operand of ! is non-boolean (int): !cl_leshowinvis->integer src/client/battlescape/events/event/world/e_event_entappear.c:59:3: Assignment of boolean to qboolean: le->invis = !cl_leshowinvis->integer src/client/battlescape/events/event/world/e_event_entappear.c:61:15: Array element pos[0] used before definition src/client/battlescape/events/event/world/e_event_entappear.c:63:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_entappear.c:45:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_entdestroy.c: (in function CL_EntDestroy) src/client/battlescape/events/event/world/e_event_entdestroy.c:38:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum) src/client/battlescape/events/event/world/e_event_entdestroy.c:45:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_entdestroy.c:40:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_entperish.c: (in function CL_EntPerish) src/client/battlescape/events/event/world/e_event_entperish.c:39:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum) src/client/battlescape/events/event/world/e_event_entperish.c:47:33: Possibly null storage le passed as non-null param: LE_IsLivingAndVisibleActor (le) src/client/battlescape/events/event/world/e_event_entperish.c:41:7: Storage le may become null src/client/battlescape/events/event/world/e_event_entperish.c:47:6: Left operand of && is non-boolean (qboolean): LE_IsLivingAndVisibleActor(le) && le->team != cls.team src/client/battlescape/events/event/world/e_event_entperish.c:56:35: Null storage actor passed as non-null param: LE_GetNextInUse (actor) src/client/battlescape/events/event/world/e_event_entperish.c:55:11: Storage actor becomes null src/client/battlescape/events/event/world/e_event_entperish.c:58:8: Right operand of && is non-boolean (int): (actor->type == ET_ACTOR || actor->type == ET_ACTOR2x2) && (actor->pos[0] == le->pos[0] ? actor->pos[1] == le->pos[1] ? actor->pos[2] == le->pos[2] ? 1 : 0 : 0 : 0) src/client/battlescape/events/event/world/e_event_entperish.c:71:10: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_entperish.c:41:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_entperish.c:75:3: Implicitly only storage le->ptl (type ptl_t *) not released before assignment: le->ptl = NULL src/client/battlescape/events/event/world/e_event_entperish.c:85:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_entperish.c:41:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_explode.c: (in function CL_Explode) src/client/battlescape/events/event/world/e_event_explode.c:40:4: Arrow access from possibly null pointer le: le->inuse src/client/battlescape/events/event/world/e_event_explode.c:36:13: Storage le may become null src/client/battlescape/events/event/world/e_event_explode.c:44:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_explode.c:36:28: Fresh storage le created src/client/battlescape/events/event/world/e_event_explode.c:33:41: Parameter self not used src/client/battlescape/events/event/world/e_event_particleappear.c: (in function CL_ParticleAppear) src/client/battlescape/events/event/world/e_event_particleappear.c:44:42: Passed storage &entnum not completely defined: NET_ReadFormat (..., &entnum, ...) src/client/battlescape/events/event/world/e_event_particleappear.c:52:4: Arrow access from possibly null pointer le: le->invis src/client/battlescape/events/event/world/e_event_particleappear.c:46:7: Storage le may become null src/client/battlescape/events/event/world/e_event_particleappear.c:52:15: Operand of ! is non-boolean (int): !cl_leshowinvis->integer src/client/battlescape/events/event/world/e_event_particleappear.c:52:2: Assignment of boolean to qboolean: le->invis = !cl_leshowinvis->integer src/client/battlescape/events/event/world/e_event_particleappear.c:53:19: Variable levelflags used before definition src/client/battlescape/events/event/world/e_event_particleappear.c:54:35: Variable particle used before definition src/client/battlescape/events/event/world/e_event_particleappear.c:54:2: Implicitly only storage le->particleID (type char *) not released before assignment: le->particleID = _Mem_PoolStrDup((particle), (cl_genericPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/battlescape/events/event/world/ e_event_particleappear.c", 54) src/client/battlescape/events/event/world/e_event_particleappear.c:55:73: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL, ...) src/client/battlescape/events/event/world/e_event_particleappear.c:55:79: Null storage passed as non-null param: CL_ParticleSpawn (..., NULL) src/client/battlescape/events/event/world/e_event_particleappear.c:55:2: Implicitly only storage le->ptl (type ptl_t *) not released before assignment: le->ptl = CL_ParticleSpawn(le->particleID, le->levelflags, le->origin, NULL, NULL) src/client/battlescape/events/event/world/e_event_particleappear.c:58:2: Fresh storage le not released before return src/client/battlescape/events/event/world/e_event_particleappear.c:46:2: Fresh storage le created src/client/battlescape/events/event/world/e_event_particlespawn.c: (in function CL_ParticleSpawnEvent) src/client/battlescape/events/event/world/e_event_particlespawn.c:44:42: Passed storage &levelflags not completely defined: NET_ReadFormat (..., &levelflags, ...) src/client/battlescape/events/event/world/e_event_particlespawn.c:46:19: Variable particle used before definition src/client/battlescape/events/event/world/e_event_particlespawn.c:46:41: Passed storage s not completely defined (*s is undefined): CL_ParticleSpawn (..., s, ...) src/client/battlescape/events/event/world/e_event_particlespawn.c:46:44: Passed storage v not completely defined (*v is undefined): CL_ParticleSpawn (..., v, ...) src/client/battlescape/events/event/world/e_event_particlespawn.c:46:47: Passed storage a not completely defined (*a is undefined): CL_ParticleSpawn (..., a) src/client/battlescape/events/event/world/e_event_particlespawn.c:46:2: Return value (type ptl_t *) ignored: CL_ParticleSpawn... src/client/sound/s_music.c: (in function M_ParseMusic) src/client/sound/s_music.c:64:7: Operand of ! is non-boolean (int): !strcmp(name, "geoscape") src/client/sound/s_music.c:66:12: Operand of ! is non-boolean (int): !strcmp(name, "battlescape") src/client/sound/s_music.c:68:12: Operand of ! is non-boolean (int): !strcmp(name, "aircombat") src/client/sound/s_music.c:70:12: Operand of ! is non-boolean (int): !strcmp(name, "main") src/client/sound/s_music.c:83:10: Fresh storage token not released before return src/client/sound/s_music.c:79:2: Fresh storage token created src/client/sound/s_music.c:87:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/sound/s_music.c:79:2: Fresh storage token created src/client/sound/s_music.c:100:2: Fresh storage token not released before return src/client/sound/s_music.c:87:3: Fresh storage token created src/client/sound/s_music.c:100:2: Storage musicArrays[][] reachable from global is fresh (should be unqualified) src/client/sound/s_music.c:97:3: Fresh storage musicArrays[][] created src/client/sound/s_music.c: (in function M_Stop) src/client/sound/s_music.c:108:3: Return value (type int) ignored: Mix_HaltMusic() src/client/sound/s_music.c:115:2: Implicitly only storage music.data (type Mix_Music *) not released before assignment: music.data = NULL src/client/sound/s_music.c:116:2: Implicitly only storage music.buffer (type byte *) not released before assignment: music.buffer = NULL src/client/sound/s_music.c:117:2: Function returns with null storage derivable from global music.data src/client/sound/s_music.c:115:15: Storage music.data becomes null src/client/sound/s_music.c:117:2: Function returns with null storage derivable from global music.buffer src/client/sound/s_music.c:116:17: Storage music.buffer becomes null src/client/sound/s_music.c: (in function M_Start) src/client/sound/s_music.c:133:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_music.c:138:27: Passed storage name not completely defined (*name is undefined): Com_StripExtension (..., name, ...) src/client/sound/s_music.c:146:7: Operand of ! is non-boolean (int): !strcmp(name, music.currentTrack) src/client/sound/s_music.c:150:6: Test expression for if not boolean, type int: Mix_PlayingMusic() src/client/sound/s_music.c:151:8: Operand of ! is non-boolean (int): !Mix_FadeOutMusic(1500) src/client/sound/s_music.c:161:26: New fresh storage (type char *) passed as implicitly temp (not released): va("music/%s.ogg", name) src/client/sound/s_music.c:161:52: Passed storage &musicBuf not completely defined: FS_LoadFile (..., &musicBuf) src/client/sound/s_music.c:167:2: Implicitly only storage music.data (type Mix_Music *) not released before assignment: music.data = Mix_LoadMUS_RW(rw) src/client/sound/s_music.c:172:10: Fresh storage rw not released before return src/client/sound/s_music.c:166:2: Fresh storage rw created src/client/sound/s_music.c:176:2: Implicitly only storage music.buffer (type byte *) not released before assignment: music.buffer = musicBuf src/client/sound/s_music.c:179:2: Fresh storage rw not released before return src/client/sound/s_music.c:166:2: Fresh storage rw created src/client/sound/s_music.c: (in function M_Play_f) src/client/sound/s_music.c:187:25: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/sound/s_music.c:187:3: Return value (type cvar_t *) ignored: Cvar_Set("snd_mu... src/client/sound/s_music.c:189:10: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("snd_music") src/client/sound/s_music.c: (in function M_RandomTrack_f) src/client/sound/s_music.c:202:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_music.c:206:6: Test expression for if not boolean, type int: musicTrackCount src/client/sound/s_music.c:211:9: Operand of ! is non-boolean (int): !randomID src/client/sound/s_music.c:212:17: Passed storage findname not completely defined (*findname is undefined): Com_sprintf (findname, ...) src/client/sound/s_music.c:212:5: Return value (type qboolean) ignored: Com_sprintf(find... src/client/sound/s_music.c:215:5: Return value (type cvar_t *) ignored: Cvar_Set("snd_mu... src/client/sound/s_music.c:219:27: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/sound/s_music.c:219:3: Return value (type char *) ignored: FS_NextFileFromF... src/client/sound/s_music.c:223:2: Fresh storage filename not released before return src/client/sound/s_music.c:210:11: Fresh storage filename created src/client/sound/s_music.c:223:2: Fresh storage musicTrack not released before return src/client/sound/s_music.c:213:5: Fresh storage musicTrack created src/client/sound/s_music.c: (in function M_Change_f) src/client/sound/s_music.c:235:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_music.c:243:7: Operand of ! is non-boolean (int): !strcmp(type, "geoscape") src/client/sound/s_music.c:245:14: Operand of ! is non-boolean (int): !strcmp(type, "battlescape") src/client/sound/s_music.c:247:14: Operand of ! is non-boolean (int): !strcmp(type, "main") src/client/sound/s_music.c:249:14: Operand of ! is non-boolean (int): !strcmp(type, "aircombat") src/client/sound/s_music.c:253:10: Fresh storage type not released before return src/client/sound/s_music.c:242:2: Fresh storage type created src/client/sound/s_music.c:258:10: Fresh storage type not released before return src/client/sound/s_music.c:242:2: Fresh storage type created src/client/sound/s_music.c:261:7: Operand of ! is non-boolean (int): !musicArrayLength[category] src/client/sound/s_music.c:263:10: Fresh storage type not released before return src/client/sound/s_music.c:242:2: Fresh storage type created src/client/sound/s_music.c:267:2: Return value (type cvar_t *) ignored: Cvar_Set("snd_mu... src/client/sound/s_music.c:268:2: Fresh storage type not released before return src/client/sound/s_music.c:242:2: Fresh storage type created src/client/sound/s_music.c: (in function M_CompleteMusic) src/client/sound/s_music.c:277:2: Return value (type int) ignored: FS_BuildFileList... src/client/sound/s_music.c:280:7: Operand of ! is non-boolean (size_t): !len src/client/sound/s_music.c:284:27: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/sound/s_music.c:284:3: Return value (type char *) ignored: FS_NextFileFromF... src/client/sound/s_music.c:289:26: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/sound/s_music.c:289:2: Return value (type char *) ignored: FS_NextFileFromF... src/client/sound/s_music.c:293:8: Operand of ! is non-boolean (int): !strncmp(partial, filename, len) src/client/sound/s_music.c:298:3: Variable filename is dependent in true branch, but independent in continuation. src/client/sound/s_music.c:298:3: in true branch: src/client/sound/s_music.c:295:4: Storage filename becomes dependent src/client/sound/s_music.c:298:3: in continuation: src/client/sound/s_music.c:292:10: Fresh storage filename created src/client/sound/s_music.c:300:26: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/sound/s_music.c:300:2: Return value (type char *) ignored: FS_NextFileFromF... src/client/sound/s_music.c:302:58: Passed storage localMatch not completely defined (*localMatch is undefined): Cmd_GenericCompleteFunction (..., localMatch) src/client/sound/s_music.c: (in function M_Frame) src/client/sound/s_music.c:307:6: Test expression for if not boolean, type qboolean: snd_music->modified src/client/sound/s_music.c:311:6: Test expression for if not boolean, type qboolean: snd_music_volume->modified src/client/sound/s_music.c:312:3: Return value (type int) ignored: Mix_VolumeMusic(... src/client/sound/s_music.c:316:8: Operand of ! is non-boolean (int): !Mix_PlayingMusic() src/client/sound/s_music.c: (in function M_Init) src/client/sound/s_music.c:326:6: Test expression for if not boolean, type qboolean: Cmd_Exists("music_change") src/client/sound/s_music.c:333:2: Only storage assigned to unqualified static: snd_music = Cvar_Get("snd_music", "PsymongN3", 0, "Background music track") src/client/sound/s_music.c:334:2: Only storage assigned to unqualified static: snd_music_volume = Cvar_Get("snd_music_volume", "128", 1, "Music volume - default is 128") src/client/sound/s_music.c: (in function M_MusicStreamCallback) src/client/sound/s_music.c:352:9: Test expression for while not boolean, type int: 1 src/client/sound/s_music.c:354:8: Operand of ! is non-boolean (qboolean): !userdata->playing src/client/sound/s_music.c:362:60: Function memcpy expects arg 3 to be size_t gets int: length src/client/sound/s_music.c:368:60: Function memcpy expects arg 3 to be size_t gets int: end src/client/sound/s_music.c:369:39: Function memcpy expects arg 3 to be size_t gets int: start src/client/sound/s_music.c: (in function M_AddToSampleBuffer) src/client/sound/s_music.c:394:23: Function LittleShort expects arg 1 to be uint16_t gets short int: ((const short int *)data)[src * 2] src/client/sound/s_music.c:396:23: Function LittleShort expects arg 1 to be uint16_t gets short int: ((const short int *)data)[src * 2 + 1] src/client/sound/s_music.c:404:23: Function LittleShort expects arg 1 to be uint16_t gets short int: ((const short int *)data)[i * 2] src/client/sound/s_music.c:406:23: Function LittleShort expects arg 1 to be uint16_t gets short int: ((const short int *)data)[i * 2 + 1] src/client/sound/s_music.c: (in function M_StopMusicStream) src/client/sound/s_music.c:423:16: Null storage passed as non-null param: Mix_HookMusic (NULL, ...) src/client/sound/s_music.c:423:22: Null storage passed as non-null param: Mix_HookMusic (..., NULL) src/client/sound/s_main.c: (in function S_Stop) src/client/sound/s_main.c:46:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_main.c:48:2: Return value (type int) ignored: Mix_HaltChannel(-1) src/client/sound/s_main.c: (in function S_Frame) src/client/sound/s_main.c:58:6: Operands of && are non-booleans (cvar_t *, qboolean): snd_init && snd_init->modified src/client/sound/s_main.c:63:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_main.c:64:10: Function returns with non-null global snd_init referencing null storage src/client/sound/s_main.c:68:6: Test expression for if not boolean, type qboolean: CL_OnBattlescape() src/client/sound/s_main.c:74:31: Null storage passed as non-null param: AngleVectors (..., NULL, ...) src/client/sound/s_main.c:74:50: Null storage passed as non-null param: AngleVectors (..., NULL) src/client/sound/s_main.c:91:32: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/sound/s_main.c:90:8: Storage le becomes null src/client/sound/s_main.c:104:2: Function returns with non-null global snd_init referencing null storage src/client/sound/s_main.c: (in function S_Play_f) src/client/sound/s_main.c:120:22: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(i) src/client/sound/s_main.c:140:102: Static soundFileSubDirs[9] initialized to null value: soundFileSubDirs[9] = NULL src/client/sound/s_main.c: (in function S_CompleteSounds) src/client/sound/s_main.c:151:51: Local soundExtensions[2] initialized to null value: soundExtensions[2] = NULL src/client/sound/s_main.c:159:16: Passed storage pattern not completely defined (*pattern is undefined): Com_sprintf (pattern, ...) src/client/sound/s_main.c:159:4: Return value (type qboolean) ignored: Com_sprintf(patt... src/client/sound/s_main.c:160:4: Return value (type int) ignored: FS_BuildFileList... src/client/sound/s_main.c:163:17: Passed storage fileWithPath not completely defined (*fileWithPath is undefined): Com_sprintf (fileWithPath, ...) src/client/sound/s_main.c:163:5: Return value (type qboolean) ignored: Com_sprintf(file... src/client/sound/s_main.c:164:10: Operand of ! is non-boolean (size_t): !len src/client/sound/s_main.c:166:17: Operand of ! is non-boolean (int): !strncmp(partial, fileWithPath, len) src/client/sound/s_main.c:168:30: Unrecognized identifier: strdup src/client/sound/s_main.c:173:28: Null storage passed as non-null param: FS_NextFileFromFileList (NULL) src/client/sound/s_main.c:173:4: Return value (type char *) ignored: FS_NextFileFromF... src/client/sound/s_main.c:179:65: Passed storage localMatch not completely defined (*localMatch is undefined): Cmd_GenericCompleteFunction (..., (const char **)localMatch) src/client/sound/s_main.c:181:8: Unqualified storage localMatch[matches] passed as only param: free (localMatch[matches]) src/client/sound/s_main.c:182:21: Fresh storage filename not released before return src/client/sound/s_main.c:161:12: Fresh storage filename created src/client/sound/s_main.c: (in function S_Init) src/client/sound/s_main.c:198:2: Only storage assigned to unqualified static: snd_init = Cvar_Get("snd_init", "1", 1, "Should the sound renderer get initialized") src/client/sound/s_main.c:202:7: Operand of ! is non-boolean (int): !snd_init->integer src/client/sound/s_main.c:205:3: Return value (type cvar_t *) ignored: Cvar_Get("snd_mu... src/client/sound/s_main.c:211:2: Only storage assigned to unqualified static: snd_rate = Cvar_Get("snd_rate", "44100", 1, "Hz value for sound renderer - default is 44100") src/client/sound/s_main.c:244:44: Function SDL_AudioDriverName expects arg 2 to be int gets size_t: sizeof((drivername)) src/client/sound/s_main.c:244:26: Passed storage drivername not completely defined (*drivername is undefined): SDL_AudioDriverName (drivername, ...) src/client/sound/s_main.c: (in function S_Shutdown) src/client/sound/s_main.c:269:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_main.c:276:2: Return value (type int) ignored: Mix_AllocateChan... src/client/sound/s_main.c:287:2: Return value (type uint32_t) ignored: _Mem_FreeTag((cl... src/client/sound/s_mix.c: (in function S_SpatializeChannel) src/client/sound/s_mix.c:83:3: Assignment of double to float: angle = acos(dot) * 180.0 / 3.14159265358979323846 - 90.0 src/client/sound/s_mix.c:84:3: Assignment of int to float: angle = (int)(360.0 - angle) % 360 src/client/sound/s_mix.c:88:21: Function Mix_SetPosition expects arg 2 to be Sint16 gets int: (int)angle src/client/sound/s_mix.c:88:33: Function Mix_SetPosition expects arg 3 to be Uint8 gets int: (int)dist src/client/sound/s_mix.c:88:2: Return value (type int) ignored: Mix_SetPosition(... src/client/sound/s_mix.c:89:2: Fresh storage actor not released before return src/client/sound/s_mix.c:70:2: Fresh storage actor created src/client/sound/s_mix.c:101:33: Function parameter origin declared as manifest array (size constant is meaningless) src/client/sound/s_mix.c: (in function S_PlaySample) src/client/sound/s_mix.c:106:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_mix.c:123:2: Implicitly temp storage sample assigned to implicitly only: ch->sample = sample src/client/sound/s_mix.c:130:37: Function Mix_VolumeChunk expects arg 2 to be int gets float: snd_volume->value * relVolume * 128 src/client/sound/s_mix.c:130:2: Return value (type int) ignored: Mix_VolumeChunk(... src/client/sound/s_mix.c:131:2: Return value (type int) ignored: Mix_PlayChannelT... src/client/sound/s_mix.c:137:33: Function parameter org declared as manifest array (size constant is meaningless) src/client/sound/s_mix.c: (in function S_LoopSample) src/client/sound/s_mix.c:161:27: Function VectorMix expects arg 3 to be float gets double: 1.0 / ch->count src/client/sound/s_mix.c:172:3: Implicitly temp storage sample assigned to implicitly only: ch->sample = sample src/client/sound/s_mix.c:174:3: Return value (type int) ignored: Mix_PlayChannelT... src/client/sound/s_mix.c:175:2: Variable sample is kept in false branch, but not kept in true branch. src/client/sound/s_mix.c:175:2: in false branch: src/client/sound/s_mix.c:172:3: Storage sample becomes kept src/client/sound/s_mix.c:177:22: Null storage ch passed as non-null param: S_SpatializeChannel (ch) src/client/sound/s_mix.c:145:7: Storage ch becomes null src/client/sound/s_mix.c:137:64: Parameter volume not used src/client/sound/s_mix.c: (in function S_StartLocalSample) src/client/sound/s_mix.c:191:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_mix.c:199:15: Null storage passed as non-null param: S_PlaySample (NULL, ...) src/client/sound/s_mix.c:200:2: Fresh storage sample not released before return src/client/sound/s_mix.c:194:2: Fresh storage sample created src/client/sound/s_sample.c: (in function S_FindName) src/client/sound/s_sample.c:52:8: Operand of ! is non-boolean (int): !strcmp(name, sample->name) src/client/sound/s_sample.c:55:9: Null storage returned as non-null: NULL src/client/sound/s_sample.c: (in function S_LoadSampleChunk) src/client/sound/s_sample.c:62:51: Local soundExtensions[2] initialized to null value: soundExtensions[2] = NULL src/client/sound/s_sample.c:68:10: Null storage returned as non-null: NULL src/client/sound/s_sample.c:73:10: Null storage returned as non-null: NULL src/client/sound/s_sample.c:77:26: New fresh storage (type char *) passed as implicitly temp (not released): va("sound/%s.%s", sound, *extension++) src/client/sound/s_sample.c:77:66: Passed storage &buf not completely defined: FS_LoadFile (..., &buf) src/client/sound/s_sample.c:77:8: Assignment of int to size_t: len = FS_LoadFile(va("sound/%s.%s", sound, *extension++), &buf) src/client/sound/s_sample.c:77:7: Operands of == have incompatible types (size_t, int): (len = FS_LoadFile(va("sound/%s.%s", sound, *extension++), &buf)) == -1 src/client/sound/s_sample.c:80:33: Function SDL_RWFromMem expects arg 2 to be int gets size_t: len src/client/sound/s_sample.c:93:17: Fresh storage rw not released before return src/client/sound/s_sample.c:80:9: Fresh storage rw created src/client/sound/s_sample.c:97:9: Null storage returned as non-null: NULL src/client/sound/s_sample.c:97:14: Fresh storage rw not released before return src/client/sound/s_sample.c:80:9: Fresh storage rw created src/client/sound/s_sample.c: (in function S_LoadSample) src/client/sound/s_sample.c:112:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_sample.c:113:10: Null storage returned as non-null: NULL src/client/sound/s_sample.c:115:32: Passed storage name not completely defined (*name is undefined): Com_StripExtension (..., name, ...) src/client/sound/s_sample.c:124:10: Null storage returned as non-null: NULL src/client/sound/s_sample.c:128:2: Implicitly only storage sample->name (type char *) not released before assignment: sample->name = _Mem_PoolStrDup((name), (cl_soundSysPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/sound/s_sample.c", 128) src/client/sound/s_sample.c:129:2: Implicitly only storage sample->chunk (type Mix_Chunk *) not released before assignment: sample->chunk = chunk src/client/sound/s_sample.c:130:2: Implicitly only storage sample->hashNext (type struct s_sample_s *) not released before assignment: sample->hashNext = sampleHash[hash] src/client/sound/s_sample.c:130:2: Unqualified storage sampleHash[hash] assigned to implicitly only: sample->hashNext = sampleHash[hash] src/client/sound/s_sample.c:132:9: Dependent storage sample returned as implicitly only: sample src/client/sound/s_sample.c:131:2: Storage sample becomes dependent src/client/sound/s_sample.c: (in function S_FreeSamples) src/client/sound/s_sample.c:143:4: Return value (type uint32_t) ignored: _Mem_Free((sampl... src/client/sound/s_sample.c:150:4: Return value (type uint32_t) ignored: _Mem_Free((sampl... src/client/sound/s_sample.c: (in function S_LoadSamples) src/client/sound/s_sample.c:165:7: Operand of ! is non-boolean (qboolean): !s_env.initialized src/client/sound/s_sample.c:172:16: Operands of < have incompatible types (int, fireDefIndex_t): k < od->numFiredefs[j] src/client/sound/s_sample.c:175:6: Return value (type s_sample_t *) ignored: S_LoadSample(fd-... src/client/sound/s_sample.c:177:6: Return value (type s_sample_t *) ignored: S_LoadSample(fd-... src/client/sound/s_sample.c:179:6: Return value (type s_sample_t *) ignored: S_LoadSample(fd-... src/client/sound/s_sample.c:181:6: Return value (type s_sample_t *) ignored: S_LoadSample(fd-... src/client/sound/s_sample.c:190:2: Storage cls.soundPool[] reachable from global is fresh (should be unqualified) src/client/sound/s_sample.c:189:2: Fresh storage cls.soundPool[] created src/client/campaign/cp_map.h:40:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:41:73: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:42:70: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:43:76: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:44:79: Function parameter center declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:44:119: Function parameter color declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:45:36: Function parameter start declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:45:56: Function parameter end declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:45:68: Function parameter direction declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:45:86: Function parameter ortVector declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:46:35: Function parameter start declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:46:55: Function parameter end declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:50:46: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:65:50: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:66:49: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:68:35: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:69:33: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.h:71:49: Function parameter posT declared as manifest array (size constant is meaningless) src/client/campaign/cp_ufo.h:41:59: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_ufo.h:42:60: Function parameter v declared as manifest array (size constant is meaningless) src/client/campaign/cp_ufo.h:49:57: Function parameter destination declared as manifest array (size constant is meaningless) src/client/campaign/cp_ufo.h:51:52: Function parameter dest declared as manifest array (size constant is meaningless) src/client/campaign/cp_aircraft.c: (in function AIR_UpdateHangarCapForOne) src/client/campaign/cp_aircraft.c:61:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraftTemplate src/client/campaign/cp_aircraft.c:71:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_HANGAR) src/client/campaign/cp_aircraft.c:71:47: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_aircraft.c:77:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_HANGAR) src/client/campaign/cp_aircraft.c:91:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_aircraft.c: (in function AIR_UpdateHangarCapForAll) src/client/campaign/cp_aircraft.c:127:3: Return value (type int) ignored: AIR_UpdateHangar... src/client/campaign/cp_aircraft.c: (in function AIR_ListAircraft_f) src/client/campaign/cp_aircraft.c:143:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_aircraft.c:159:11: Operand of ! is non-boolean (int): !aircraft->weapons[k].installationTime src/client/campaign/cp_aircraft.c:178:10: Operand of ! is non-boolean (int): !aircraft->shield.installationTime src/client/campaign/cp_aircraft.c:189:11: Operand of ! is non-boolean (int): !aircraft->electronics[k].installationTime src/client/campaign/cp_aircraft.c:217:58: Possibly null storage aircraft->homebase derivable from parameter AIR_AircraftStatusToName (aircraft) src/client/campaign/cp_aircraft.c:217:58: Possibly null storage aircraft->shield.item derivable from parameter AIR_AircraftStatusToName (aircraft) src/client/campaign/cp_aircraft.c:217:58: Possibly null storage aircraft->pilot derivable from parameter AIR_AircraftStatusToName (aircraft) src/client/campaign/cp_aircraft.c:231:3: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:146:55: Fresh storage base created src/client/campaign/cp_aircraft.c: (in function AII_CollectingAmmo) src/client/campaign/cp_aircraft.c:247:6: Operands of >= have incompatible types (byte, int): eTempEq.numItemsLoose[magazine->item.m->idx] >= magazine->item.t->ammo src/client/campaign/cp_aircraft.c: (in function AII_CollectItem) src/client/campaign/cp_aircraft.c:272:2: Implicitly temp storage item assigned to implicitly only: cargo[i].item = item src/client/campaign/cp_aircraft.c: (in function AII_CarriedItems) src/client/campaign/cp_aircraft.c:288:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_aircraft.c:290:7: Test expression for if not boolean, type qboolean: (&csi.ids[(container)])->temp src/client/campaign/cp_aircraft.c:294:11: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_aircraft.c:300:21: Possibly null storage tech passed as non-null param: RS_MarkCollected (tech) src/client/campaign/cp_aircraft.c:297:11: Storage tech may become null src/client/campaign/cp_aircraft.c:302:9: Operand of ! is non-boolean (int): !item->reload src/client/campaign/cp_aircraft.c:305:8: Operands of >= have incompatible types (byte, int): ccs.eMission.numItemsLoose[invList->item.m->idx] >= item->ammo src/client/campaign/cp_aircraft.c: (in function AII_CollectingItems) src/client/campaign/cp_aircraft.c:347:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/campaign/cp_aircraft.c:330:13: Storage le becomes null src/client/campaign/cp_aircraft.c:352:8: Test expression for if not boolean, type int: won src/client/campaign/cp_aircraft.c:356:10: Left operand of && is non-boolean (int): item->item.t->reload && item->item.a > 0 src/client/campaign/cp_aircraft.c:360:14: Test expression for if not boolean, type qboolean: LE_IsActor(le) src/client/campaign/cp_aircraft.c:364:8: Operands of && are non-boolean (int): won && ((le)->state & 0x0003) src/client/campaign/cp_aircraft.c:368:40: Operand of ! is non-boolean (int): !((le)->state & 0x0003) src/client/campaign/cp_aircraft.c: (in function AIR_AircraftStatusToName) src/client/campaign/cp_aircraft.c:411:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:412:9: Function assert expects arg 1 to be boolean gets struct base_s *: aircraft->homebase src/client/campaign/cp_aircraft.c:416:3: Right operand of && is non-boolean (qboolean): aircraft->homebase->baseStatus == BASE_UNDER_ATTACK && AIR_IsAircraftInBase( aircraft) src/client/campaign/cp_aircraft.c:445:9: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c: (in function AIR_IsAircraftOnGeoscape) src/client/campaign/cp_aircraft.c:486:2: Unreachable code: Com_Error(1, "Un... This code will never be reached on any possible execution. (Use -unreachable to inhibit warning) src/client/campaign/cp_aircraft.c: (in function AIR_CountTypeInBase) src/client/campaign/cp_aircraft.c:498:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraftString) src/client/campaign/cp_aircraft.c:521:9: Observer storage returned without qualification: "" src/client/campaign/cp_aircraft.c:521:9: Storage becomes observer src/client/campaign/cp_aircraft.c:521:9: Unreachable code: return "" src/client/campaign/cp_aircraft.c:572:78: Function parameter destination declared as manifest array (size constant is meaningless) src/client/campaign/cp_aircraft.c: (in function AIR_AircraftHasEnoughFuel) src/client/campaign/cp_aircraft.c:577:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:579:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:588:10: Operands of <= have incompatible types (float, int): distance <= AIR_GetRemainingRange(aircraft) / (float)3600 src/client/campaign/cp_aircraft.c:588:9: Return value type boolean does not match declared type qboolean: (distance <= AIR_GetRemainingRange(aircraft) / (float)3600) src/client/campaign/cp_aircraft.c:598:90: Function parameter destination declared as manifest array (size constant is meaningless) src/client/campaign/cp_aircraft.c: (in function AIR_AircraftHasEnoughFuelOneWay) src/client/campaign/cp_aircraft.c:602:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:608:10: Operands of <= have incompatible types (float, int): distance <= AIR_GetRemainingRange(aircraft) / (float)3600 src/client/campaign/cp_aircraft.c:608:9: Return value type boolean does not match declared type qboolean: (distance <= AIR_GetRemainingRange(aircraft) / (float)3600) src/client/campaign/cp_aircraft.c: (in function AIR_AircraftReturnToBase) src/client/campaign/cp_aircraft.c:618:6: Operands of && are non-booleans (aircraft_t *, qboolean): aircraft && AIR_IsAircraftOnGeoscape(aircraft) src/client/campaign/cp_aircraft.c:620:10: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:626:3: Implicitly only storage aircraft->mission (type struct mission_s *) not released before assignment: aircraft->mission = NULL src/client/campaign/cp_aircraft.c:628:2: Function returns with null storage derivable from parameter aircraft->mission src/client/campaign/cp_aircraft.c:626:23: Storage aircraft->mission becomes null src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraftFromBaseByIDX) src/client/campaign/cp_aircraft.c:666:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:669:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:671:9: Immediate address &base->aircraft[] returned as implicitly only: &base->aircraft[index] src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraftFromBaseByIDXSafe) src/client/campaign/cp_aircraft.c:682:19: Right operand of && is non-boolean (int): !aircraft && base->numAircraftInBase src/client/campaign/cp_aircraft.c:683:10: Unqualified storage &base->aircraft[0] returned as implicitly only: &base->aircraft[0] src/client/campaign/cp_aircraft.c:683:29: Fresh storage aircraft not released before return src/client/campaign/cp_aircraft.c:681:67: Fresh storage aircraft created src/client/campaign/cp_aircraft.c:683:29: Released storage base->aircraft reachable from parameter at return point src/client/campaign/cp_aircraft.c:683:10: Storage base->aircraft released src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraftSilent) src/client/campaign/cp_aircraft.c:699:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:701:8: Operand of ! is non-boolean (int): !strcmp(ccs.aircraftTemplates[i].id, name) src/client/campaign/cp_aircraft.c:702:11: Immediate address &ccs.aircraftTemplates[] returned as implicitly only: &ccs.aircraftTemplates[i] src/client/campaign/cp_aircraft.c:704:9: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraft) src/client/campaign/cp_aircraft.c:720:9: Possibly null storage aircraft returned as non-null: aircraft src/client/campaign/cp_aircraft.c:714:25: Storage aircraft may become null src/client/campaign/cp_aircraft.c: (in function AII_SetAircraftInSlots) src/client/campaign/cp_aircraft.c:733:3: Implicitly temp storage aircraft assigned to implicitly only: aircraft->weapons[i].aircraft = aircraft src/client/campaign/cp_aircraft.c:734:3: Kept storage aircraft assigned to implicitly only: aircraft->electronics[i].aircraft = aircraft storage is transferred to a non-temporary reference after being passed as keep parameter. The storage may be released or new aliases created. (Use -kepttrans to inhibit warning) src/client/campaign/cp_aircraft.c:733:3: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c:736:2: Kept storage aircraft assigned to implicitly only: aircraft->shield.aircraft = aircraft src/client/campaign/cp_aircraft.c:733:3: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c:737:2: Storage aircraft->electronics[].aircraft->weapons[].aircraft reachable from parameter is kept (should be implicitly only) src/client/campaign/cp_aircraft.c:734:3: Storage aircraft->electronics[].aircraft->weapons[].aircraft becomes kept src/client/campaign/cp_aircraft.c:737:2: Storage aircraft->shield.aircraft->weapons[].aircraft reachable from parameter is kept (should be implicitly only) src/client/campaign/cp_aircraft.c:736:2: Storage aircraft->shield.aircraft->weapons[].aircraft becomes kept src/client/campaign/cp_aircraft.c:737:2: Storage aircraft->shield.aircraft->electronics[].aircraft reachable from parameter is kept (should be implicitly only) src/client/campaign/cp_aircraft.c:736:2: Storage aircraft->shield.aircraft->electronics[].aircraft becomes kept src/client/campaign/cp_aircraft.c: (in function AIR_NewAircraft) src/client/campaign/cp_aircraft.c:751:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:754:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:764:3: Implicitly only storage aircraft->homebase (type struct base_s *) not released before assignment: aircraft->homebase = base src/client/campaign/cp_aircraft.c:764:3: Implicitly temp storage base assigned to implicitly only: aircraft->homebase = base src/client/campaign/cp_aircraft.c:774:37: New fresh storage (type char *) passed as implicitly temp (not released): gettext(aircraft->defaultName) src/client/campaign/cp_aircraft.c:777:4: Assignment of int to vec_t: aircraft->direction[0] = (1) src/client/campaign/cp_aircraft.c:777:33: Assignment of int to vec_t: aircraft->direction[1] = (0) src/client/campaign/cp_aircraft.c:777:62: Assignment of int to vec_t: aircraft->direction[2] = (0) src/client/campaign/cp_aircraft.c:781:59: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A new %s is ready in %s") src/client/campaign/cp_aircraft.c:781:3: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_aircraft.c:782:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:782:79: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:782:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aircraft.c:793:4: Immediate address &base->aircraft[] assigned to implicitly only (aircraft aliases &base->aircraft[]): base->aircraftCurrent = aircraft src/client/campaign/cp_aircraft.c:799:10: Immediate address &base->aircraft[] returned as implicitly only (aircraft aliases &base->aircraft[]): aircraft src/client/campaign/cp_aircraft.c:799:10: Kept storage aircraft returned as implicitly only: aircraft src/client/campaign/cp_aircraft.c:793:4: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c:801:9: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:801:14: Fresh storage aircraftTemplate not released before return src/client/campaign/cp_aircraft.c:747:61: Fresh storage aircraftTemplate created src/client/campaign/cp_aircraft.c: (in function AIR_GetCapacityByAircraftWeight) src/client/campaign/cp_aircraft.c:813:2: Path with no return in function declared to return int src/client/campaign/cp_aircraft.c: (in function AIR_GetStorageRoom) src/client/campaign/cp_aircraft.c:828:24: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_aircraft.c: (in function AIR_CheckMoveIntoNewHomebase) src/client/campaign/cp_aircraft.c:852:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(capacity)) src/client/campaign/cp_aircraft.c:862:84: Possibly null storage aircraft->pilot derivable from parameter AIR_GetStorageRoom (aircraft) src/client/campaign/cp_aircraft.c:862:6: Left operand of && is non-boolean (int): aircraft->maxTeamSize && base->capacities[CAP_ITEMS].cur + AIR_GetStorageRoom(aircraft) > base->capacities[CAP_ITEMS].max src/client/campaign/cp_aircraft.c:866:39: Possibly null storage aircraft->pilot derivable from parameter AIR_AircraftHasEnoughFuelOneWay (aircraft, ...) src/client/campaign/cp_aircraft.c:866:7: Operand of ! is non-boolean (qboolean): !AIR_AircraftHasEnoughFuelOneWay(aircraft, base->pos) src/client/campaign/cp_aircraft.c:869:9: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c: (in function AIR_TransferItemsCarriedByCharacterToBase) src/client/campaign/cp_aircraft.c:883:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_aircraft.c:891:4: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_aircraft.c:892:4: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_aircraft.c:896:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_aircraft.c:897:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_aircraft.c: (in function AIR_MoveAircraftIntoNewHomebase) src/client/campaign/cp_aircraft.c:916:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:917:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:934:9: Function assert expects arg 1 to be boolean gets base_t *: oldBase src/client/campaign/cp_aircraft.c:937:2: Return value (type qboolean) ignored: E_MoveIntoNewBas... src/client/campaign/cp_aircraft.c:941:4: Return value (type qboolean) ignored: E_MoveIntoNewBas... src/client/campaign/cp_aircraft.c:955:3: Implicitly only storage aircraftDest->weapons[].aircraft (type struct aircraft_s *) not released before assignment (aircraftDest aliases &base->aircraft[]): aircraftDest->weapons[i].aircraft = aircraftDest src/client/campaign/cp_aircraft.c:955:3: Immediate address &base->aircraft[] assigned to implicitly only: aircraftDest->weapons[i].aircraft = aircraftDest src/client/campaign/cp_aircraft.c:958:3: Immediate address &base->aircraft[] assigned to implicitly only (aircraftDest aliases &base->aircraft[]): aircraftDest->electronics[i].aircraft = aircraftDest src/client/campaign/cp_aircraft.c:958:3: Kept storage aircraftDest assigned to implicitly only: aircraftDest->electronics[i].aircraft = aircraftDest src/client/campaign/cp_aircraft.c:956:2: Storage aircraftDest becomes kept src/client/campaign/cp_aircraft.c:960:2: Immediate address &base->aircraft[] assigned to implicitly only (aircraftDest aliases &base->aircraft[]): aircraftDest->shield.aircraft = aircraftDest src/client/campaign/cp_aircraft.c:960:2: Kept storage aircraftDest assigned to implicitly only: aircraftDest->shield.aircraft = aircraftDest src/client/campaign/cp_aircraft.c:956:2: Storage aircraftDest becomes kept src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->homebase reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->homebase released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->id reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->id released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->pilot reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->pilot released src/client/campaign/cp_aircraft.c:963:31: Possibly null storage aircraft->acTeam[] derivable from parameter AIR_GetAircraftIDXInBase (aircraft) src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->tpl reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->tpl released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->defaultName reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->defaultName released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->image reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->image released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->model reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->model released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->building reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->building released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->mission reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->mission released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->missionID reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->missionID released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->aircraftTarget reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->aircraftTarget released src/client/campaign/cp_aircraft.c:963:31: Released storage aircraft->tech reachable from passed parameter src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->tech released src/client/campaign/cp_aircraft.c:964:101: Variable idx__ initialized to type int, expects size_t: (i) src/client/campaign/cp_aircraft.c:964:184: Variable oldBase used after being released src/client/campaign/cp_aircraft.c:949:2: Storage oldBase released src/client/campaign/cp_aircraft.c:964:180: Variable n__ initialized to type int, expects size_t: --(oldBase->numAircraftInBase) src/client/campaign/cp_aircraft.c:968:30: Test expression for conditional not boolean, type int: (oldBase->numAircraftInBase) src/client/campaign/cp_aircraft.c:968:3: Implicitly only storage oldBase->aircraftCurrent (type aircraft_t *) not released before assignment: oldBase->aircraftCurrent = (oldBase->numAircraft InBase) ? &oldBase->aircraft[oldBase->numAircraftInBase - 1] : NULL src/client/campaign/cp_aircraft.c:968:3: Immediate address &oldBase->aircraft[] assigned to implicitly only: oldBase->aircraftCurrent = (oldBase->numAircraftInBase) ? &oldBase->aircraft[oldBase->numAircraftInBase - 1] : NULL src/client/campaign/cp_aircraft.c:973:2: Implicitly temp storage base assigned to implicitly only: aircraft->homebase = base src/client/campaign/cp_aircraft.c:976:3: Immediate address &base->aircraft[] assigned to implicitly only (aircraft aliases &base->aircraft[]): base->aircraftCurrent = aircraft src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->homebase reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->homebase released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->tpl reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->tpl released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->id reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->id released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->defaultName reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->defaultName released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->image reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->image released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->model reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->model released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->pilot reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->pilot released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->building reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->building released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->mission reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->mission released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->missionID reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->missionID released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->aircraftTarget reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->aircraftTarget released src/client/campaign/cp_aircraft.c:982:15: Released storage aircraft->tech reachable from parameter at return point src/client/campaign/cp_aircraft.c:949:2: Storage aircraft->tech released src/client/campaign/cp_aircraft.c: (in function AIR_DeleteAircraft) src/client/campaign/cp_aircraft.c:1005:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:1007:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:1019:26: Null storage passed as non-null param: AII_RemoveItemFromSlot (NULL, ...) src/client/campaign/cp_aircraft.c:1020:26: Null storage passed as non-null param: AII_RemoveItemFromSlot (NULL, ...) src/client/campaign/cp_aircraft.c:1022:25: Null storage passed as non-null param: AII_RemoveItemFromSlot (NULL, ...) src/client/campaign/cp_aircraft.c:1058:102: Variable idx__ initialized to type int, expects size_t: (i) src/client/campaign/cp_aircraft.c:1058:181: Variable n__ initialized to type int, expects size_t: --(base->numAircraftInBase) src/client/campaign/cp_aircraft.c:1066:4: Fresh storage aircraftTemp not released before scope exit src/client/campaign/cp_aircraft.c:1061:69: Fresh storage aircraftTemp created src/client/campaign/cp_aircraft.c:1071:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft.c:1072:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft.c:1073:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft.c:1074:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft.c:1075:3: Implicitly only storage base->aircraftCurrent (type aircraft_t *) not released before assignment: base->aircraftCurrent = NULL src/client/campaign/cp_aircraft.c:1082:28: Null storage base->aircraftCurrent derivable from parameter AIR_UpdateHangarCapForAll (base) src/client/campaign/cp_aircraft.c:1075:27: Storage base->aircraftCurrent becomes null src/client/campaign/cp_aircraft.c:1085:6: Test expression for if not boolean, type qboolean: aircraftIsOnGeoscape src/client/campaign/cp_aircraft.c: (in function AIR_DestroyAircraft) src/client/campaign/cp_aircraft.c:1099:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:1108:4: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_aircraft.c:1115:6: Operands of && are non-booleans (struct employee_s *, qboolean): aircraft->pilot && E_DeleteEmployee(aircraft->pilot, aircraft->pilot->type) src/client/campaign/cp_aircraft.c:1116:3: Implicitly only storage aircraft->pilot (type struct employee_s *) not released before assignment: aircraft->pilot = NULL src/client/campaign/cp_aircraft.c:1122:21: Null storage aircraft->pilot derivable from parameter AIR_DeleteAircraft (aircraft) src/client/campaign/cp_aircraft.c:1123:2: Function returns with null storage derivable from parameter aircraft->pilot src/client/campaign/cp_aircraft.c:1116:21: Storage aircraft->pilot becomes null src/client/campaign/cp_aircraft.c: (in function AIR_Move) src/client/campaign/cp_aircraft.c:1182:6: Test expression for if not boolean, type qboolean: AIR_AircraftMakeMove(deltaTime, aircraft) src/client/campaign/cp_aircraft.c:1191:11: Function assert expects arg 1 to be boolean gets struct mission_s *: aircraft->mission src/client/campaign/cp_aircraft.c:1194:4: Implicitly only storage ccs.missionAircraft (type aircraft_t *) not released before assignment: ccs.missionAircraft = aircraft src/client/campaign/cp_aircraft.c:1194:4: Implicitly temp storage aircraft assigned to implicitly only: ccs.missionAircraft = aircraft src/client/campaign/cp_aircraft.c:1196:4: Implicitly only storage ccs.interceptAircraft (type aircraft_t *) not released before assignment: ccs.interceptAircraft = ccs.missionAircraft src/client/campaign/cp_aircraft.c:1199:43: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_aircraft.c:1199:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_aircraft.c:1212:3: Variable aircraft is kept in one possible execution, but not kept in other possible execution. src/client/campaign/cp_aircraft.c:1212:3: in one possible execution: src/client/campaign/cp_aircraft.c:1194:4: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c:1212:3: Storage ccs.missionAircraft is kept in one path, but live in another. src/client/campaign/cp_aircraft.c:1196:4: Storage ccs.missionAircraft becomes kept src/client/campaign/cp_aircraft.c:1213:2: Variable aircraft is kept in true branch, but not kept in continuation. src/client/campaign/cp_aircraft.c:1213:2: in true branch: src/client/campaign/cp_aircraft.c:1212:3: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c: (in function AIR_Refuel) src/client/campaign/cp_aircraft.c:1226:9: Function assert expects arg 1 to be boolean gets struct base_s *: aircraft->homebase src/client/campaign/cp_aircraft.c:1229:40: New fresh storage (type objDef_t *) passed as implicitly temp (not released): INVSH_GetItemByID("antimatter") src/client/campaign/cp_aircraft.c:1242:9: Operand of ! is non-boolean (qboolean): !aircraft->notifySent[AIR_CANNOT_REFUEL] src/client/campaign/cp_aircraft.c:1244:7: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Craft %s couldn't be completely refueled at %s. Not enough antimatter.") src/client/campaign/cp_aircraft.c:1243:5: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_aircraft.c:1245:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:1245:113: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:1245:5: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_aircraft.c:1260:5: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Craft %s has refueled at %s.") src/client/campaign/cp_aircraft.c:1259:3: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_aircraft.c:1261:48: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:1261:107: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:1261:3: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_aircraft.c: (in function CL_CampaignRunAircraft) src/client/campaign/cp_aircraft.c:1294:17: Test expression for if not boolean, type qboolean: AIR_IsAircraftOnGeoscape(aircraft) src/client/campaign/cp_aircraft.c:1303:47: Right operand of && is non-boolean (qboolean): aircraft->status != AIR_RETURNING && AIR_IsAircraftOnGeoscape(aircraft) src/client/campaign/cp_aircraft.c:1304:8: Operand of ! is non-boolean (qboolean): !AIR_AircraftHasEnoughFuel(aircraft, aircraft->pos) src/client/campaign/cp_aircraft.c:1306:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Craft %s is low on fuel and must return to base.") src/client/campaign/cp_aircraft.c:1306:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:1306:43: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Craft %s is low on fuel and must return to base."), aircraft->name) src/client/campaign/cp_aircraft.c:1306:146: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:1306:7: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aircraft.c:1318:11: Left operand of && is non-boolean (qboolean): AIR_IsAircraftOnGeoscape(aircraft) && (aircraft->weapons[k].delayNextShot > 0) src/client/campaign/cp_aircraft.c:1322:8: Return value (type qboolean) ignored: AII_ReloadWeapon... src/client/campaign/cp_aircraft.c:1328:4: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:1286:37: Fresh storage base created src/client/campaign/cp_aircraft.c:1331:6: Operands of && are non-boolean (qboolean): updateRadarOverlay && radarOverlayReset src/client/campaign/cp_aircraft.c:1331:49: Right operand of && is non-boolean (int): updateRadarOverlay && radarOverlayReset && (r_geoscape_overlay->integer & (1 << 2)) src/client/campaign/cp_aircraft.c: (in function AIR_AircraftGetFromIDX) src/client/campaign/cp_aircraft.c:1349:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:1367:21: Fresh storage base not released before return src/client/campaign/cp_aircraft.c:1360:42: Fresh storage base created src/client/campaign/cp_aircraft.c:1370:3: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:1360:42: Fresh storage base created src/client/campaign/cp_aircraft.c:1372:9: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c: (in function AIR_SendAircraftToMission) src/client/campaign/cp_aircraft.c:1386:7: Operand of ! is non-boolean (int): !aircraft->teamSize src/client/campaign/cp_aircraft.c:1387:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:1387:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Assign one or more soldiers to this aircraft first.") src/client/campaign/cp_aircraft.c:1392:6: Test expression for if not boolean, type qboolean: AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_aircraft.c:1398:2: Implicitly only storage ccs.interceptAircraft (type aircraft_t *) not released before assignment: ccs.interceptAircraft = aircraft src/client/campaign/cp_aircraft.c:1398:2: Implicitly temp storage aircraft assigned to implicitly only: ccs.interceptAircraft = aircraft src/client/campaign/cp_aircraft.c:1403:3: Right operand of && is non-boolean (qboolean): aircraft->homebase->baseStatus == BASE_UNDER_ATTACK && AIR_IsAircraftInBase( aircraft) src/client/campaign/cp_aircraft.c:1404:3: Implicitly temp storage mission assigned to implicitly only: aircraft->mission = mission src/client/campaign/cp_aircraft.c:1406:37: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_aircraft.c:1406:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_aircraft.c:1410:7: Operand of ! is non-boolean (qboolean): !AIR_AircraftHasEnoughFuel(aircraft, mission->pos) src/client/campaign/cp_aircraft.c:1411:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:1411:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Insufficient fuel.") src/client/campaign/cp_aircraft.c:1411:92: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:1411:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aircraft.c:1419:2: Implicitly temp storage mission assigned to implicitly only: aircraft->mission = mission src/client/campaign/cp_aircraft.c: (in function AII_InitialiseAircraftSlots) src/client/campaign/cp_aircraft.c:1434:71: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1434:77: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1435:75: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1435:81: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1437:66: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1437:72: Null storage passed as non-null param: AII_InitialiseSlot (..., NULL, ...) src/client/campaign/cp_aircraft.c:1467:3: Static aircraft_param_vals[7].string initialized to null value: aircraft_param_vals[7].string = NULL src/client/campaign/cp_aircraft.c:1487:3: Static aircraft_vals[10].string initialized to null value: aircraft_vals[10].string = NULL src/client/campaign/cp_aircraft.c: (in function AIR_ParseAircraft) src/client/campaign/cp_aircraft.c:1514:7: Operand of ! is non-boolean (qboolean): !assignAircraftItems src/client/campaign/cp_aircraft.c:1516:9: Operand of ! is non-boolean (int): !strcmp(ccs.aircraftTemplates[i].id, name) src/client/campaign/cp_aircraft.c:1527:3: Implicitly only storage aircraftTemplate->tpl (type struct aircraft_s *) not released before assignment (aircraftTemplate aliases &ccs.aircraftTemplates[]): aircraftTemplate->tpl = aircraftTemplate src/client/campaign/cp_aircraft.c:1527:3: Immediate address &ccs.aircraftTemplates[] assigned to implicitly only: aircraftTemplate->tpl = aircraftTemplate src/client/campaign/cp_aircraft.c:1557:10: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1553:2: Fresh storage token created src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1553:2: Fresh storage token created src/client/campaign/cp_aircraft.c:1567:8: Operand of ! is non-boolean (int): !strcmp(token, "name") src/client/campaign/cp_aircraft.c:1568:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1570:12: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1568:4: Fresh storage token created src/client/campaign/cp_aircraft.c:1573:37: Arrow access from null pointer aircraftTemplate: aircraftTemplate->name src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1573:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext(token) src/client/campaign/cp_aircraft.c:1576:7: Test expression for if not boolean, type qboolean: assignAircraftItems src/client/campaign/cp_aircraft.c:1577:11: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraftTemplate src/client/campaign/cp_aircraft.c:1582:16: Operand of ! is non-boolean (int): !strcmp(token, "shield") src/client/campaign/cp_aircraft.c:1583:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1585:13: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1583:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1586:81: Arrow access from null pointer aircraftTemplate: aircraftTemplate->id src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1590:16: Operand of ! is non-boolean (int): !strcmp(token, "slot") src/client/campaign/cp_aircraft.c:1591:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1594:13: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1591:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1591:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1603:11: Operand of ! is non-boolean (int): !strcmp(token, "type") src/client/campaign/cp_aircraft.c:1604:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1606:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1604:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1608:13: Operand of ! is non-boolean (int): !strcmp(token, air_slot_type_strings[i]) src/client/campaign/cp_aircraft.c:1612:26: Arrow access from null pointer aircraftTemplate: aircraftTemplate->maxWeapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1615:26: Arrow access from null pointer aircraftTemplate: aircraftTemplate->maxElectronics src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1625:18: Operand of ! is non-boolean (int): !strcmp(token, "position") src/client/campaign/cp_aircraft.c:1626:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1628:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1626:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1630:13: Operand of ! is non-boolean (int): !strcmp(token, air_position_strings[i]) src/client/campaign/cp_aircraft.c:1633:26: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1636:26: Arrow access from null pointer aircraftTemplate: aircraftTemplate->electronics src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1646:18: Operand of ! is non-boolean (int): !strcmp(token, "contains") src/client/campaign/cp_aircraft.c:1647:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1649:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1647:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1654:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1658:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->electronics src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1665:18: Operand of ! is non-boolean (int): !strcmp(token, "ammo") src/client/campaign/cp_aircraft.c:1666:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1668:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1666:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1672:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1677:18: Operand of ! is non-boolean (int): !strcmp(token, "size") src/client/campaign/cp_aircraft.c:1678:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1597:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1680:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1678:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1682:13: Operand of ! is non-boolean (int): !strcmp(token, "light") src/client/campaign/cp_aircraft.c:1683:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1684:18: Operand of ! is non-boolean (int): !strcmp(token, "medium") src/client/campaign/cp_aircraft.c:1685:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1686:18: Operand of ! is non-boolean (int): !strcmp(token, "heavy") src/client/campaign/cp_aircraft.c:1687:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->weapons src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1697:9: Operand of ! is non-boolean (int): !strcmp(token, "shield") src/client/campaign/cp_aircraft.c:1698:5: Return value (type char *) ignored: Com_EParse(text,... src/client/campaign/cp_aircraft.c:1703:10: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_aircraft.c:1705:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1707:14: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1705:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1711:11: Fall through case (no preceding break) src/client/campaign/cp_aircraft.c:1712:7: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_aircraft.c:1715:66: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_aircraft.c:1715:28: Null storage aircraftTemplate passed as non-null param: Com_EParseValueDebug (aircraftTemplate, ...) src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1715:7: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_aircraft.c:1721:23: Operand of ! is non-boolean (int): !strcmp(vp->string, "size") src/client/campaign/cp_aircraft.c:1721:8: Left operand of && is non-boolean (char *): vp->string && !strcmp(vp->string, "size") src/client/campaign/cp_aircraft.c:1722:25: Arrow access from null pointer aircraftTemplate: aircraftTemplate->maxTeamSize src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1728:9: Operand of ! is non-boolean (int): !strcmp(token, "type") src/client/campaign/cp_aircraft.c:1729:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1731:13: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1729:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1732:10: Operand of ! is non-boolean (int): !strcmp(token, "transporter") src/client/campaign/cp_aircraft.c:1733:22: Arrow access from null pointer aircraftTemplate: aircraftTemplate->type src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1734:15: Operand of ! is non-boolean (int): !strcmp(token, "interceptor") src/client/campaign/cp_aircraft.c:1735:22: Arrow access from null pointer aircraftTemplate: aircraftTemplate->type src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1736:15: Operand of ! is non-boolean (int): !strcmp(token, "ufo") src/client/campaign/cp_aircraft.c:1737:22: Arrow access from null pointer aircraftTemplate: aircraftTemplate->type src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1738:16: Operand of ! is non-boolean (int): !strcmp(token, "slot") src/client/campaign/cp_aircraft.c:1739:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1742:13: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1739:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1745:16: Operand of ! is non-boolean (int): !strcmp(token, "param") src/client/campaign/cp_aircraft.c:1746:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1749:13: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1746:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1752:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1746:5: Fresh storage token created src/client/campaign/cp_aircraft.c:1758:11: Operand of ! is non-boolean (int): !strcmp(token, "range") src/client/campaign/cp_aircraft.c:1760:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1752:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1762:15: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1760:7: Fresh storage token created src/client/campaign/cp_aircraft.c:1763:110: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: offsetof(aircraft_t,stats) src/client/campaign/cp_aircraft.c:1763:28: Null storage aircraftTemplate passed as non-null param: Com_EParseValueDebug (aircraftTemplate, ...) src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1763:7: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_aircraft.c:1770:13: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_aircraft.c:1772:9: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_aircraft.c:1752:6: Fresh storage token created src/client/campaign/cp_aircraft.c:1774:17: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1772:9: Fresh storage token created src/client/campaign/cp_aircraft.c:1778:14: Fall through case (no preceding break) src/client/campaign/cp_aircraft.c:1779:10: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_aircraft.c:1782:69: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_aircraft.c:1782:31: Null storage aircraftTemplate passed as non-null param: Com_EParseValueDebug (aircraftTemplate, ...) src/client/campaign/cp_aircraft.c:1538:22: Storage aircraftTemplate becomes null src/client/campaign/cp_aircraft.c:1782:10: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_aircraft.c:1792:5: Return value (type char *) ignored: Com_EParse(text,... src/client/campaign/cp_aircraft.c:1796:2: Fresh storage token not released before return src/client/campaign/cp_aircraft.c:1561:3: Fresh storage token created src/client/campaign/cp_aircraft.c:1796:2: Fresh storage tech not released before return src/client/campaign/cp_aircraft.c:1669:7: Fresh storage tech created src/client/campaign/cp_aircraft.c: (in function AIR_ListAircraftSamples_f) src/client/campaign/cp_aircraft.c:1822:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_aircraft.c:1831:84: Function Com_ValueToStr expects arg 3 to be int gets size_t: vp->ofs src/client/campaign/cp_aircraft.c:1834:84: Function Com_ValueToStr expects arg 3 to be int gets size_t: vp->ofs src/client/campaign/cp_aircraft.c: (in function AIR_AircraftsNotifyMissionRemoved) src/client/campaign/cp_aircraft.c:1865:3: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:1855:49: Fresh storage base created src/client/campaign/cp_aircraft.c: (in function AIR_AircraftsNotifyUFORemoved) src/client/campaign/cp_aircraft.c:1879:9: Function assert expects arg 1 to be boolean gets aircraft_t *: ufo src/client/campaign/cp_aircraft.c:1890:13: Left operand of && is non-boolean (qboolean): destroyed && (base->batteries[i].target > ufo) src/client/campaign/cp_aircraft.c:1896:13: Left operand of && is non-boolean (qboolean): destroyed && (base->lasers[i].target > ufo) src/client/campaign/cp_aircraft.c:1905:14: Left operand of && is non-boolean (qboolean): destroyed && (ufo < aircraft->aircraftTarget) src/client/campaign/cp_aircraft.c:1909:3: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:1882:49: Fresh storage base created src/client/campaign/cp_aircraft.c: (in function AIR_AircraftsUFODisappear) src/client/campaign/cp_aircraft.c:1930:3: Fresh storage base not released before scope exit src/client/campaign/cp_aircraft.c:1923:42: Fresh storage base created src/client/campaign/cp_aircraft.c: (in function AIR_GetDestinationFunction) src/client/campaign/cp_aircraft.c:1945:9: Return value type double does not match declared type float: pow(cos(a) - cos(speedRatio * a) * cos(c), 2.) - sin(c) * sin(c) * (sin(speedRatio * a) * sin(speedRatio * a) - sin(a) * sin(a) * sin(B) * sin(B)) src/client/campaign/cp_aircraft.c: (in function AIR_GetDestinationDerivativeFunction) src/client/campaign/cp_aircraft.c:1961:9: Return value type double does not match declared type float: 2. * (cos(a) - cos(speedRatio * a) * cos(c)) * (-sin(a) + speedRatio * sin(speedRatio * a) * cos(c)) - sin(c) * sin(c) * (speedRatio * sin(2. * speedRatio * a) - sin(2. * a) * sin(B) * sin(B)) src/client/campaign/cp_aircraft.c: (in function AIR_GetDestinationFindRoot) src/client/campaign/cp_aircraft.c:1987:2: Assignment of double to float: end = start + PRECISION_ROOT / 10. src/client/campaign/cp_aircraft.c:2009:4: Assignment of double to float: middle = (begin + end) / 2. src/client/campaign/cp_aircraft.c:2026:5: Assignment of double to float: middle = (begin + end) / 2. src/client/campaign/cp_aircraft.c:2047:2: Assignment of double to float: middle = (begin + end) / 2. src/client/campaign/cp_aircraft.c:2063:3: Assignment of double to float: middle = (begin + end) / 2. src/client/campaign/cp_aircraft.c: (in function AIR_GetDestinationWhilePursuing) src/client/campaign/cp_aircraft.c:2088:2: Assignment of double to float: c = GetDistanceOnGlobe(shooter->pos, target->pos) * (3.14159265358979323846 / 180.0f) src/client/campaign/cp_aircraft.c:2091:27: Passed storage shooterPos not completely defined (*shooterPos is undefined): PolarToVec (..., shooterPos) src/client/campaign/cp_aircraft.c:2092:26: Passed storage targetPos not completely defined (*targetPos is undefined): PolarToVec (..., targetPos) src/client/campaign/cp_aircraft.c:2093:63: Passed storage targetDestPos not completely defined (*targetDestPos is undefined): PolarToVec (..., targetDestPos) src/client/campaign/cp_aircraft.c:2113:38: Passed storage rotationAxis not completely defined (*rotationAxis is undefined): CrossProduct (..., rotationAxis) src/client/campaign/cp_aircraft.c:2114:2: Return value (type vec_t) ignored: VectorNormalize(... src/client/campaign/cp_aircraft.c:2115:26: Passed storage tangentVectTS not completely defined (*tangentVectTS is undefined): RotatePointAroundVector (tangentVectTS, ...) src/client/campaign/cp_aircraft.c:2118:2: Return value (type vec_t) ignored: VectorNormalize(... src/client/campaign/cp_aircraft.c:2119:26: Passed storage tangentVectTD not completely defined (*tangentVectTD is undefined): RotatePointAroundVector (tangentVectTD, ...) src/client/campaign/cp_aircraft.c:2122:2: Assignment of double to float: B = acos((tangentVectTS[0] * tangentVectTD[0] + tangentVectTS[1] * tangentVectTD[1] + tangentVectTS[2] * tangentVectTD[2])) src/client/campaign/cp_aircraft.c:2135:3: Return value (type vec_t) ignored: VectorNormalize(... src/client/campaign/cp_aircraft.c:2138:68: Function RotatePointAroundVector expects arg 4 to be float gets double: a * (180.0f / 3.14159265358979323846) src/client/campaign/cp_aircraft.c:2138:27: Passed storage shooterDestPos not completely defined (*shooterDestPos is undefined): RotatePointAroundVector (shooterDestPos, ...) src/client/campaign/cp_aircraft.c:2141:3: Assignment of double to float: b = GetDistanceOnGlobe(shooter->pos, *dest) * (3.14159265358979323846 / 180.0f) src/client/campaign/cp_aircraft.c: (in function AIR_SendAircraftPursuingUFO) src/client/campaign/cp_aircraft.c:2174:6: Test expression for if not boolean, type qboolean: AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_aircraft.c:2179:49: Passed storage &dest not completely defined (*dest is undefined): AIR_GetDestinationWhilePursuing (..., &dest) src/client/campaign/cp_aircraft.c:2181:7: Operand of ! is non-boolean (qboolean): !AIR_AircraftHasEnoughFuel(aircraft, dest) src/client/campaign/cp_aircraft.c:2183:7: Test expression for if not boolean, type qboolean: AIR_AircraftHasEnoughFuel(aircraft, ufo->pos) src/client/campaign/cp_aircraft.c:2187:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Craft %s has not enough fuel to intercept UFO: fly back to %s.") src/client/campaign/cp_aircraft.c:2187:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft.c:2187:40: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Craft %s has not enough fuel to intercept UFO: fly back to %s."), aircraft->name, aircraft->homebase->name) src/client/campaign/cp_aircraft.c:2187:183: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aircraft.c:2187:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aircraft.c:2197:2: Implicitly only storage aircraft->aircraftTarget (type struct aircraft_s *) not released before assignment: aircraft->aircraftTarget = ufo src/client/campaign/cp_aircraft.c:2197:2: Implicitly temp storage ufo assigned to implicitly only: aircraft->aircraftTarget = ufo src/client/campaign/cp_aircraft.c: (in function AIR_RemoveFromAircraftTeam) src/client/campaign/cp_aircraft.c:2260:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:2270:7: Left operand of && is non-boolean (struct employee_s *): aircraft->acTeam[i] && aircraft->acTeam[i] == employee src/client/campaign/cp_aircraft.c:2275:17: Function returns with null storage derivable from parameter aircraft->acTeam[] src/client/campaign/cp_aircraft.c:2271:26: Storage aircraft->acTeam[] becomes null src/client/campaign/cp_aircraft.c:2280:9: Function assert expects arg 1 to be boolean gets struct base_s *: aircraft->homebase src/client/campaign/cp_aircraft.c:2283:28: Null storage aircraft->acTeam[] derivable from parameter AIR_GetAircraftIDXInBase (aircraft) src/client/campaign/cp_aircraft.c: (in function AIR_AutoAddPilotToAircraft) src/client/campaign/cp_aircraft.c:2330:4: Implicitly temp storage pilot assigned to implicitly only: aircraft->pilot = pilot src/client/campaign/cp_aircraft.c: (in function AIR_GetAircraftWeaponRanges) src/client/campaign/cp_aircraft.c:2371:9: Function assert expects arg 1 to be boolean gets aircraftSlot_t *: slot src/client/campaign/cp_aircraft.c:2387:26: Function qsort expects arg 2 to be size_t gets int: numAllWeaponRanges src/client/campaign/cp_aircraft.c:2387:9: Passed storage allWeaponRanges not completely defined (*allWeaponRanges is undefined): qsort (allWeaponRanges, ...) src/client/campaign/cp_aircraft.c:2390:8: Dangerous equality comparison involving float types: allWeaponRanges[idxAllWeap] != weaponRanges[numUniqueWeaponRanges - 1] src/client/campaign/cp_aircraft.c: (in function AIR_SaveOneSlotXML) src/client/campaign/cp_aircraft.c:2415:7: Operand of ! is non-boolean (qboolean): !weapon src/client/campaign/cp_aircraft.c: (in function AIR_SaveAircraftSlotsXML) src/client/campaign/cp_aircraft.c:2443:2: Fresh storage sub not released before return src/client/campaign/cp_aircraft.c:2440:3: Fresh storage sub created src/client/campaign/cp_aircraft.c: (in function AIR_SaveAircraftXML) src/client/campaign/cp_aircraft.c:2469:2: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "shields") src/client/campaign/cp_aircraft.c:2467:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2471:2: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "electronics") src/client/campaign/cp_aircraft.c:2469:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2473:2: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "route") src/client/campaign/cp_aircraft.c:2471:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2476:6: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2481:54: Arrow access from possibly null pointer aircraft->mission: aircraft->mission->id src/client/campaign/cp_aircraft.c:2488:11: Function assert expects arg 1 to be boolean gets struct mission_s *: aircraft->mission src/client/campaign/cp_aircraft.c:2494:7: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2503:9: Left operand of && is non-boolean (qboolean): isUfo && l == AIR_STATS_DAMAGE src/client/campaign/cp_aircraft.c:2506:3: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "airstats") src/client/campaign/cp_aircraft.c:2473:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2514:6: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2515:10: Fresh storage subnode not released before return src/client/campaign/cp_aircraft.c:2473:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2520:2: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "aircraftteam") src/client/campaign/cp_aircraft.c:2473:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2526:4: Fresh storage ssnode not released before scope exit src/client/campaign/cp_aircraft.c:2523:58: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2532:2: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "cargo") src/client/campaign/cp_aircraft.c:2520:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2537:10: Function assert expects arg 1 to be boolean gets objDef_t *: aircraft->itemcargo[l].item src/client/campaign/cp_aircraft.c:2540:3: Fresh storage ssnode not released before scope exit src/client/campaign/cp_aircraft.c:2536:55: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2548:3: Fresh storage subnode (type mxml_node_t *) not released before assignment: subnode = mxml_AddNode(node, "aliencargo") src/client/campaign/cp_aircraft.c:2532:2: Fresh storage subnode created src/client/campaign/cp_aircraft.c:2553:11: Function assert expects arg 1 to be boolean gets teamDef_t *: cargo[l].teamDef src/client/campaign/cp_aircraft.c:2557:4: Fresh storage ssnode not released before scope exit src/client/campaign/cp_aircraft.c:2552:57: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2559:2: Fresh storage subnode not released before return src/client/campaign/cp_aircraft.c:2548:3: Fresh storage subnode created src/client/campaign/cp_aircraft.c: (in function AIR_SaveXML) src/client/campaign/cp_aircraft.c:2581:31: New fresh storage (type aircraft_t *) passed as implicitly temp (not released): UFO_GetByIDX(i) src/client/campaign/cp_aircraft.c:2582:3: Fresh storage ssnode not released before scope exit src/client/campaign/cp_aircraft.c:2580:3: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2586:3: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_AddNode(node, "projectile") src/client/campaign/cp_aircraft.c:2575:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2593:33: Function mxml_AddBool expects arg 3 to be qboolean gets boolean: ccs.projectiles[i].attackingAircraft->type == AIRCRAFT_UFO src/client/campaign/cp_aircraft.c:2602:46: Function mxml_AddBool expects arg 3 to be qboolean gets boolean: ccs.projectiles[i].aimedAircraft->type == AIRCRAFT_UFO src/client/campaign/cp_aircraft.c:2614:15: Fresh storage node not released before return src/client/campaign/cp_aircraft.c:2572:2: Fresh storage node created src/client/campaign/cp_aircraft.c:2614:15: Fresh storage snode not released before return src/client/campaign/cp_aircraft.c:2575:2: Fresh storage snode created src/client/campaign/cp_aircraft.c: (in function AIR_LoadOneSlotXML) src/client/campaign/cp_aircraft.c:2637:22: Null storage passed as non-null param: AII_AddItemToSlot (NULL, ...) src/client/campaign/cp_aircraft.c:2637:4: Return value (type qboolean) ignored: AII_AddItemToSlo... src/client/campaign/cp_aircraft.c:2638:3: Fresh storage tech not released before scope exit src/client/campaign/cp_aircraft.c:2630:51: Fresh storage tech created src/client/campaign/cp_aircraft.c:2641:2: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(node, "nextitemid") src/client/campaign/cp_aircraft.c:2628:2: Fresh storage name created src/client/campaign/cp_aircraft.c:2642:6: Left operand of && is non-boolean (char *): name && name[0] != '\0' src/client/campaign/cp_aircraft.c:2645:22: Null storage passed as non-null param: AII_AddItemToSlot (NULL, ...) src/client/campaign/cp_aircraft.c:2645:4: Return value (type qboolean) ignored: AII_AddItemToSlo... src/client/campaign/cp_aircraft.c:2646:3: Fresh storage tech not released before scope exit src/client/campaign/cp_aircraft.c:2643:51: Fresh storage tech created src/client/campaign/cp_aircraft.c:2651:7: Operand of ! is non-boolean (qboolean): !weapon src/client/campaign/cp_aircraft.c:2652:10: Fresh storage name not released before return src/client/campaign/cp_aircraft.c:2641:2: Fresh storage name created src/client/campaign/cp_aircraft.c:2655:2: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(node, "ammoid") src/client/campaign/cp_aircraft.c:2641:2: Fresh storage name created src/client/campaign/cp_aircraft.c:2656:6: Left operand of && is non-boolean (char *): name && name[0] != '\0' src/client/campaign/cp_aircraft.c:2660:22: Null storage passed as non-null param: AII_AddAmmoToSlot (NULL, ...) src/client/campaign/cp_aircraft.c:2660:4: Return value (type qboolean) ignored: AII_AddAmmoToSlo... src/client/campaign/cp_aircraft.c:2661:3: Fresh storage tech not released before scope exit src/client/campaign/cp_aircraft.c:2657:51: Fresh storage tech created src/client/campaign/cp_aircraft.c:2663:2: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(node, "nextammoid") src/client/campaign/cp_aircraft.c:2655:2: Fresh storage name created src/client/campaign/cp_aircraft.c:2664:6: Left operand of && is non-boolean (char *): name && name[0] != '\0' src/client/campaign/cp_aircraft.c:2667:22: Null storage passed as non-null param: AII_AddAmmoToSlot (NULL, ...) src/client/campaign/cp_aircraft.c:2667:4: Return value (type qboolean) ignored: AII_AddAmmoToSlo... src/client/campaign/cp_aircraft.c:2668:3: Fresh storage tech not released before scope exit src/client/campaign/cp_aircraft.c:2665:51: Fresh storage tech created src/client/campaign/cp_aircraft.c:2671:2: Fresh storage name not released before return src/client/campaign/cp_aircraft.c:2663:2: Fresh storage name created src/client/campaign/cp_aircraft.c: (in function AIR_LoadAircraftSlotsXML) src/client/campaign/cp_aircraft.c:2687:45: Left operand of && is non-boolean (mxml_node_t *): act && i <= max src/client/campaign/cp_aircraft.c:2688:3: Implicitly temp storage aircraft assigned to implicitly only: slot[i].aircraft = aircraft src/client/campaign/cp_aircraft.c:2687:62: Fresh storage act (type mxml_node_t *) not released before assignment (in post loop increment): act = mxml_GetNextNode(act, p, "slot") src/client/campaign/cp_aircraft.c:2687:14: Fresh storage act created src/client/campaign/cp_aircraft.c:2690:2: Variable aircraft is kept in for body, but not kept if for loop body does not execute. src/client/campaign/cp_aircraft.c:2690:2: in for body: src/client/campaign/cp_aircraft.c:2688:3: Storage aircraft becomes kept src/client/campaign/cp_aircraft.c: (in function AIR_LoadRouteXML) src/client/campaign/cp_aircraft.c:2705:63: Left operand of && is non-boolean (mxml_node_t *): actual && count <= (64 + 2) src/client/campaign/cp_aircraft.c:2706:4: Fresh storage actual (type mxml_node_t *) not released before assignment (in post loop increment): actual = mxml_GetNextPos2(actual, p, "point", route->point[++count]) src/client/campaign/cp_aircraft.c:2705:7: Fresh storage actual created src/client/campaign/cp_aircraft.c: (in function AIR_LoadAircraftXML) src/client/campaign/cp_aircraft.c:2733:2: Return value (type mxml_node_t *) ignored: mxml_GetPos3(p, ... src/client/campaign/cp_aircraft.c:2735:2: Return value (type mxml_node_t *) ignored: mxml_GetPos3(p, ... src/client/campaign/cp_aircraft.c:2739:7: Operand of ! is non-boolean (qboolean): !AIR_LoadRouteXML(&craft->route, snode) src/client/campaign/cp_aircraft.c:2740:17: Fresh storage snode not released before return src/client/campaign/cp_aircraft.c:2738:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2744:3: Fresh storage s (type char *) not released before assignment: s = gettext(craft->defaultName) src/client/campaign/cp_aircraft.c:2742:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s (type char *) not released before assignment: s = mxml_GetString(p, "missionid") src/client/campaign/cp_aircraft.c:2742:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2749:22: Right operand of && is non-boolean (qboolean): s[0] == '\0' && isUfo src/client/campaign/cp_aircraft.c:2751:17: Fresh storage snode not released before return src/client/campaign/cp_aircraft.c:2738:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2751:17: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2754:6: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2755:3: Implicitly only storage craft->mission (type struct mission_s *) not released before assignment: craft->mission = CP_GetMissionByID(s) src/client/campaign/cp_aircraft.c:2761:3: Implicitly only storage craft->missionID (type char *) not released before assignment: craft->missionID = _Mem_PoolStrDup((s), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_aircraft.c", 2761) src/client/campaign/cp_aircraft.c:2763:14: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNode(p, "airstats") src/client/campaign/cp_aircraft.c:2738:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2763:51: Left operand of && is non-boolean (mxml_node_t *): snode && l < AIR_STATS_MAX src/client/campaign/cp_aircraft.c:2764:3: Assignment of long int to int: craft->stats[l] = mxml_GetLong(snode, "val", 0) src/client/campaign/cp_aircraft.c:2767:9: Left operand of && is non-boolean (qboolean): isUfo && l == AIR_STATS_DAMAGE src/client/campaign/cp_aircraft.c:2763:79: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, p, "airstats") src/client/campaign/cp_aircraft.c:2763:14: Fresh storage snode created src/client/campaign/cp_aircraft.c:2777:3: Implicitly only storage craft->aircraftTarget (type struct aircraft_s *) not released before assignment: craft->aircraftTarget = NULL src/client/campaign/cp_aircraft.c:2778:11: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2779:3: Implicitly only storage craft->aircraftTarget (type struct aircraft_s *) not released before assignment: craft->aircraftTarget = AIR_AircraftGetFromIDX(tmp_int) src/client/campaign/cp_aircraft.c:2781:3: Implicitly only storage craft->aircraftTarget (type struct aircraft_s *) not released before assignment: craft->aircraftTarget = ccs.ufos + tmp_int src/client/campaign/cp_aircraft.c:2781:3: Unqualified storage ccs.ufos + tmp_int assigned to implicitly only: craft->aircraftTarget = ccs.ufos + tmp_int src/client/campaign/cp_aircraft.c:2788:27: Null storage craft->aircraftTarget derivable from parameter AIR_LoadAircraftSlotsXML (craft, ...) src/client/campaign/cp_aircraft.c:2777:27: Storage craft->aircraftTarget becomes null src/client/campaign/cp_aircraft.c:2797:6: Test expression for if not boolean, type qboolean: isUfo src/client/campaign/cp_aircraft.c:2798:16: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2798:16: Function returns with null storage derivable from parameter craft->aircraftTarget src/client/campaign/cp_aircraft.c:2777:27: Storage craft->aircraftTarget becomes null src/client/campaign/cp_aircraft.c:2805:63: Right operand of && is non-boolean (mxml_node_t *): l < 8 && snode src/client/campaign/cp_aircraft.c:2806:4: Fresh storage ssnode (type mxml_node_t *) not released before assignment (in post loop increment): ssnode = mxml_GetNextNode(ssnode, snode, "member") src/client/campaign/cp_aircraft.c:2805:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2822:3: Implicitly only storage craft->pilot (type struct employee_s *) not released before assignment: craft->pilot = &ccs.employees[EMPL_PILOT][tmp_in t] src/client/campaign/cp_aircraft.c:2822:3: Immediate address &ccs.employees[][] assigned to implicitly only: craft->pilot = &ccs.employees[EMPL_PILOT][tmp_int] src/client/campaign/cp_aircraft.c:2824:3: Implicitly only storage craft->pilot (type struct employee_s *) not released before assignment: craft->pilot = NULL src/client/campaign/cp_aircraft.c:2837:17: Fresh storage ssnode not released before return src/client/campaign/cp_aircraft.c:2805:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2837:17: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2837:17: Function returns with null storage derivable from parameter craft->pilot src/client/campaign/cp_aircraft.c:2824:18: Storage craft->pilot becomes null src/client/campaign/cp_aircraft.c:2840:14: Fresh storage ssnode (type mxml_node_t *) not released before assignment: ssnode = mxml_GetNode(snode, "cargo") src/client/campaign/cp_aircraft.c:2805:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2840:76: Right operand of && is non-boolean (mxml_node_t *): l < alienCargoTypes && snode src/client/campaign/cp_aircraft.c:2843:48: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(ssnode, "teamdefid") src/client/campaign/cp_aircraft.c:2843:3: Implicitly only storage cargo[].teamDef (type teamDef_t *) not released before assignment: cargo[l].teamDef = Com_GetTeamDefinitionByID(mxml_GetStri ng(ssnode, "teamdefid")) src/client/campaign/cp_aircraft.c:2845:18: Fresh storage ssnode not released before return src/client/campaign/cp_aircraft.c:2840:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2845:18: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2841:9: Fresh storage ssnode (type mxml_node_t *) not released before assignment (in post loop increment): ssnode = mxml_GetNextNode(ssnode, snode, "cargo") src/client/campaign/cp_aircraft.c:2840:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2854:17: Fresh storage ssnode not released before return src/client/campaign/cp_aircraft.c:2840:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2854:17: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c:2858:14: Fresh storage ssnode (type mxml_node_t *) not released before assignment: ssnode = mxml_GetNode(snode, "item") src/client/campaign/cp_aircraft.c:2840:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2858:76: Right operand of && is non-boolean (mxml_node_t *): l < craft->itemTypes && snode src/client/campaign/cp_aircraft.c:2865:4: Implicitly only storage craft->itemcargo[].item (type objDef_t *) not released before assignment: craft->itemcargo[l].item = od src/client/campaign/cp_aircraft.c:2868:3: Fresh storage str not released before scope exit src/client/campaign/cp_aircraft.c:2860:60: Fresh storage str created src/client/campaign/cp_aircraft.c:2859:9: Fresh storage ssnode (type mxml_node_t *) not released before assignment (in post loop increment): ssnode = mxml_GetNextNode(ssnode, snode, "item") src/client/campaign/cp_aircraft.c:2858:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2869:15: Fresh storage ssnode not released before return src/client/campaign/cp_aircraft.c:2858:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2869:15: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2748:2: Fresh storage s created src/client/campaign/cp_aircraft.c: (in function AIR_LoadXML) src/client/campaign/cp_aircraft.c:2882:65: Right operand of && is non-boolean (mxml_node_t *): i < 8 && ssnode src/client/campaign/cp_aircraft.c:2888:3: Fresh storage craft (type aircraft_t *) not released before assignment: craft = &ccs.ufos[i] src/client/campaign/cp_aircraft.c:2886:3: Fresh storage craft created src/client/campaign/cp_aircraft.c:2890:8: Operand of ! is non-boolean (qboolean): !AIR_LoadAircraftXML(craft, qtrue, ssnode) src/client/campaign/cp_aircraft.c:2891:18: Fresh storage s not released before return src/client/campaign/cp_aircraft.c:2884:48: Fresh storage s created src/client/campaign/cp_aircraft.c:2891:18: Fresh storage ssnode not released before return src/client/campaign/cp_aircraft.c:2882:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2891:18: Fresh storage node not released before return src/client/campaign/cp_aircraft.c:2878:2: Fresh storage node created src/client/campaign/cp_aircraft.c:2891:18: Fresh storage snode not released before return src/client/campaign/cp_aircraft.c:2880:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2892:3: Fresh storage s not released before scope exit src/client/campaign/cp_aircraft.c:2884:48: Fresh storage s created src/client/campaign/cp_aircraft.c:2883:4: Fresh storage ssnode (type mxml_node_t *) not released before assignment (in post loop increment): ssnode = mxml_GetNextNode(ssnode, snode, "aircraft") src/client/campaign/cp_aircraft.c:2882:14: Fresh storage ssnode created src/client/campaign/cp_aircraft.c:2896:14: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNode(node, "projectile") src/client/campaign/cp_aircraft.c:2880:2: Fresh storage snode created src/client/campaign/cp_aircraft.c:2896:66: Right operand of && is non-boolean (mxml_node_t *): i < 32 && snode src/client/campaign/cp_aircraft.c:2898:45: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(snode, "aircraftitemid") src/client/campaign/cp_aircraft.c:2901:4: Implicitly only storage ccs.projectiles[].aircraftItem (type objDef_t *) not released before assignment: ccs.projectiles[i].aircraftItem = INVSH_GetItemByID(tech->provides) src/client/campaign/cp_aircraft.c:2902:88: Right operand of && is non-boolean (mxml_node_t *): j < 10 && ssnode src/client/campaign/cp_aircraft.c:2905:4: Return value (type mxml_node_t *) ignored: mxml_GetPos3(sno... src/client/campaign/cp_aircraft.c:2906:8: Test expression for if not boolean, type qboolean: mxml_GetBool(snode, "hasattackingaircraft", qfalse) src/client/campaign/cp_aircraft.c:2907:9: Test expression for if not boolean, type qboolean: mxml_GetBool(snode, "isufo", qfalse) src/client/campaign/cp_aircraft.c:2908:6: Implicitly only storage ccs.projectiles[].attackingAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].attackingAircraft = ccs.ufos + mxml_GetInt(snode, "attackingaircraft", 0) src/client/campaign/cp_aircraft.c:2908:6: Unqualified storage ccs.ufos + mxml_GetInt(snode, "attackingaircraft", 0) assigned to implicitly only: ccs.projectiles[i].attackingAircraft = ccs.ufos + mxml_GetInt(snode, "attackingaircraft", 0) src/client/campaign/cp_aircraft.c:2910:6: Implicitly only storage ccs.projectiles[].attackingAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].attackingAircraft = AIR_AircraftGetFromIDX(mxml_GetInt(sn ode, "attackingaircraft", 0)) src/client/campaign/cp_aircraft.c:2912:5: Implicitly only storage ccs.projectiles[].attackingAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].attackingAircraft = NULL src/client/campaign/cp_aircraft.c:2914:8: Test expression for if not boolean, type qboolean: mxml_GetBool(snode, "hasaimedaircraft", qfalse) src/client/campaign/cp_aircraft.c:2915:9: Test expression for if not boolean, type qboolean: mxml_GetBool(snode, "aimedaircraftisufo", qfalse) src/client/campaign/cp_aircraft.c:2916:6: Implicitly only storage ccs.projectiles[].aimedAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].aimedAircraft = ccs.ufos + mxml_GetInt(snode, "aimedaircraft", 0) src/client/campaign/cp_aircraft.c:2916:6: Unqualified storage ccs.ufos + mxml_GetInt(snode, "aimedaircraft", 0) assigned to implicitly only: ccs.projectiles[i].aimedAircraft = ccs.ufos + mxml_GetInt(snode, "aimedaircraft", 0) src/client/campaign/cp_aircraft.c:2918:6: Implicitly only storage ccs.projectiles[].aimedAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].aimedAircraft = AIR_AircraftGetFromIDX(mxml_GetInt(snode, "aimedaircraft", 0)) src/client/campaign/cp_aircraft.c:2920:5: Implicitly only storage ccs.projectiles[].aimedAircraft (type aircraft_t *) not released before assignment: ccs.projectiles[i].aimedAircraft = NULL src/client/campaign/cp_aircraft.c:2928:9: Operand of ! is non-boolean (qboolean): !ccs.projectiles[i].beam src/client/campaign/cp_aircraft.c:2932:18: Fresh storage snode not released before return src/client/campaign/cp_aircraft.c:2896:14: Fresh storage snode created src/client/campaign/cp_aircraft.c:2932:18: Fresh storage node not released before return src/client/campaign/cp_aircraft.c:2878:2: Fresh storage node created src/client/campaign/cp_aircraft.c:2934:3: Fresh storage tech not released before scope exit src/client/campaign/cp_aircraft.c:2898:86: Fresh storage tech created src/client/campaign/cp_aircraft.c:2897:4: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, node, "projectile") src/client/campaign/cp_aircraft.c:2896:14: Fresh storage snode created src/client/campaign/cp_aircraft.c:2945:3: Fresh storage ufo not released before scope exit src/client/campaign/cp_aircraft.c:2939:37: Fresh storage ufo created src/client/campaign/cp_aircraft.c:2946:15: Fresh storage node not released before return src/client/campaign/cp_aircraft.c:2878:2: Fresh storage node created src/client/campaign/cp_aircraft.c: (in function AIR_AircraftAllowed) src/client/campaign/cp_aircraft.c:2956:9: Operands of || are non-boolean (qboolean): B_GetBuildingStatus(base, B_HANGAR) || B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_aircraft.c:2956:9: Return value type boolean does not match declared type qboolean: B_GetBuildingStatus(base, B_HANGAR) || B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_aircraft.c: (in function AIR_CanIntercept) src/client/campaign/cp_aircraft.c:2966:43: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(aircraft->homebase, B_SMALL_HANGAR) src/client/campaign/cp_aircraft.c:2968:43: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(aircraft->homebase, B_HANGAR) src/client/campaign/cp_aircraft.c: (in function AIR_ScriptSanityCheck) src/client/campaign/cp_aircraft.c:2989:8: Operand of ! is non-boolean (char [64]): !a->name src/client/campaign/cp_aircraft.c:3000:8: Left operand of && is non-boolean (objDef_t *): a->weapons[j].item && AII_GetItemWeightBySize(a->weapons[j].item) > a->weapons[j].size src/client/campaign/cp_aircraft.c:3026:10: Operand of ! is non-boolean (int): !error src/client/campaign/cp_aircraft.c:3026:9: Return value type boolean does not match declared type qboolean: !error src/client/campaign/cp_aircraft.c: (in function AIR_CalculateHangarStorage) src/client/campaign/cp_aircraft.c:3039:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aircraft.c:3040:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraftTemplate src/client/campaign/cp_aircraft.c:3043:7: Operand of ! is non-boolean (qboolean): !base->founded src/client/campaign/cp_aircraft.c: (in function AIR_IsEmployeeInAircraft) src/client/campaign/cp_aircraft.c:3100:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:3102:6: Test expression for if not boolean, type qboolean: employee->transfer src/client/campaign/cp_aircraft.c:3103:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:3109:8: Operands of && are non-boolean (aircraft_t *): aircraftByIDX && AIR_IsEmployeeInAircraft(employee, aircraftByIDX) src/client/campaign/cp_aircraft.c:3112:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:3117:11: Implicitly temp storage aircraft returned as implicitly only: aircraft src/client/campaign/cp_aircraft.c:3118:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c:3121:6: Test expression for if not boolean, type qboolean: AIR_IsInAircraftTeam(aircraft, employee) src/client/campaign/cp_aircraft.c:3122:10: Implicitly temp storage aircraft returned as implicitly only: aircraft src/client/campaign/cp_aircraft.c:3124:10: Null storage returned as non-null: NULL src/client/campaign/cp_aircraft.c: (in function AIR_RemoveEmployees) src/client/campaign/cp_aircraft.c:3142:7: Test expression for if not boolean, type qboolean: AIR_RemoveEmployee(aircraft->acTeam[i], aircraft) src/client/campaign/cp_aircraft.c:3152:2: Implicitly only storage aircraft->pilot (type struct employee_s *) not released before assignment: aircraft->pilot = NULL src/client/campaign/cp_aircraft.c:3156:2: Function returns with null storage derivable from parameter aircraft->pilot src/client/campaign/cp_aircraft.c:3152:20: Storage aircraft->pilot becomes null src/client/campaign/cp_aircraft.c: (in function AIR_MoveEmployeeInventoryIntoStorage) src/client/campaign/cp_aircraft.c:3182:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_aircraft.c:3198:10: Test expression for if not boolean, type int: item.a src/client/campaign/cp_aircraft.c:3200:14: Function assert expects arg 1 to be boolean gets objDef_t *: item.m src/client/campaign/cp_aircraft.c:3203:11: Operands of >= have incompatible types (byte, int): ed->numItemsLoose[item.m->idx] >= type->ammo src/client/campaign/cp_aircraft.c: (in function AIR_AddEmployee) src/client/campaign/cp_aircraft.c:3232:42: Null storage passed as non-null param: AIR_IsEmployeeInAircraft (..., NULL) src/client/campaign/cp_aircraft.c: (in function AIM_AddEmployeeFromMenu) src/client/campaign/cp_aircraft.c:3265:88: Arrow access from possibly null pointer employee: employee->idx src/client/campaign/cp_aircraft.c:3261:13: Storage employee may become null src/client/campaign/cp_aircraft.c:3267:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft.c:3271:3: Return value (type qboolean) ignored: AIR_RemoveEmploy... src/client/campaign/cp_aircraft.c:3274:7: Test expression for if not boolean, type qboolean: AIR_AddEmployee(employee, aircraft) src/client/campaign/cp_aircraft.c:3277:2: Fresh storage employee not released before return src/client/campaign/cp_aircraft.c:3261:2: Fresh storage employee created src/client/campaign/cp_aircraft.c: (in function AIR_AssignInitial) src/client/campaign/cp_aircraft.c:3294:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_campaign.h:614:10: Function AIR_SendAircraftToMission defined more than once src/client/campaign/cp_aircraft.c:1422:1: Previous definition of AIR_SendAircraftToMission src/client/campaign/cp_aircraft_callbacks.c: (in function AIM_AircraftReturnToBase_f) src/client/campaign/cp_aircraft_callbacks.c:49:6: Operands of && are non-booleans (base_t *, aircraft_t *): base && base->aircraftCurrent src/client/campaign/cp_aircraft_callbacks.c:53:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:47:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIM_SelectAircraft_f) src/client/campaign/cp_aircraft_callbacks.c:71:10: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:63:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c:73:22: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_aircraft_callbacks.c:77:3: Fresh storage aircraft not released before scope exit src/client/campaign/cp_aircraft_callbacks.c:74:68: Fresh storage aircraft created src/client/campaign/cp_aircraft_callbacks.c:78:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:63:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIM_NextAircraft_f) src/client/campaign/cp_aircraft_callbacks.c:93:3: Unqualified storage &base->aircraft[0] assigned to implicitly only: base->aircraftCurrent = &base->aircraft[0] src/client/campaign/cp_aircraft_callbacks.c:95:24: Storage base->aircraft is kept in one path, but live in another. src/client/campaign/cp_aircraft_callbacks.c:93:3: Storage base->aircraft becomes kept src/client/campaign/cp_aircraft_callbacks.c:98:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:87:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIM_PrevAircraft_f) src/client/campaign/cp_aircraft_callbacks.c:113:3: Immediate address &base->aircraft[] assigned to implicitly only: base->aircraftCurrent = &base->aircraft[base->numAircraftInBase - 1] src/client/campaign/cp_aircraft_callbacks.c:118:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:107:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIM_AircraftStart_f) src/client/campaign/cp_aircraft_callbacks.c:133:10: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:126:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c:137:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_COMMAND) src/client/campaign/cp_aircraft_callbacks.c:138:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft_callbacks.c:138:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No operational Command Centre in this base.\n\nAircraft can not start.\n") src/client/campaign/cp_aircraft_callbacks.c:139:10: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:126:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c:146:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft_callbacks.c:146:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("There is no pilot assigned to this aircraft.\n\nAircraft can not start.\n") src/client/campaign/cp_aircraft_callbacks.c:150:6: Test expression for if not boolean, type qboolean: AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_aircraft_callbacks.c:154:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aircraft_callbacks.c:154:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Aircraft started") src/client/campaign/cp_aircraft_callbacks.c:154:89: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aircraft_callbacks.c:154:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aircraft_callbacks.c:161:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:126:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function CL_EquipSoldierState) src/client/campaign/cp_aircraft_callbacks.c:174:7: Operand of ! is non-boolean (qboolean): !AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_aircraft_callbacks.c: (in function AIR_GetSlotItems) src/client/campaign/cp_aircraft_callbacks.c:195:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft_callbacks.c:203:3: Unreachable code: break src/client/campaign/cp_aircraft_callbacks.c: (in function AIR_AircraftSelect) src/client/campaign/cp_aircraft_callbacks.c:239:16: Operand of ! is non-boolean (int): !base->numAircraftInBase src/client/campaign/cp_aircraft_callbacks.c:244:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aircraft_callbacks.c:245:17: Arrow access from possibly null pointer aircraft: aircraft->homebase src/client/campaign/cp_aircraft_callbacks.c:246:2: Return value (type int) ignored: CL_UpdateActorAi... src/client/campaign/cp_aircraft_callbacks.c:248:40: Function Cvar_SetValue expects arg 2 to be float gets int: CL_EquipSoldierState(aircraft) src/client/campaign/cp_aircraft_callbacks.c:249:32: New fresh storage (type char *) passed as implicitly temp (not released): AIR_AircraftStatusToName(aircraft) src/client/campaign/cp_aircraft_callbacks.c:249:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft_callbacks.c:250:32: Test expression for conditional not boolean, type qboolean: AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_aircraft_callbacks.c:250:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft_callbacks.c:251:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft_callbacks.c:254:46: Arrow access from possibly null pointer aircraft->tech: aircraft->tech->mdl src/client/campaign/cp_aircraft_callbacks.c:254:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_aircraft_callbacks.c:257:50: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Speed:\t%i km/h\n") src/client/campaign/cp_aircraft_callbacks.c:257:2: Return value (type qboolean) ignored: Com_sprintf(airc... src/client/campaign/cp_aircraft_callbacks.c:259:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Fuel:\t%i/%i\n") src/client/campaign/cp_aircraft_callbacks.c:259:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Fuel:\t%i/%i\n"), CL_AircraftMenuStatsValues(aircraft->fuel, AIR_STATS_FUELSIZE), CL_AircraftMenuStatsValues(aircraft->stats[AIR_STATS_FU ELSIZE], AIR_STATS_FUELSIZE)) src/client/campaign/cp_aircraft_callbacks.c:261:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Operational range:\t%i km\n") src/client/campaign/cp_aircraft_callbacks.c:261:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Operational range:\t%i km\n"), AIR_GetOperationRange(aircraft)) src/client/campaign/cp_aircraft_callbacks.c:262:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Weapons:\t%i on %i\n") src/client/campaign/cp_aircraft_callbacks.c:262:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Weapons:\t%i on %i\n"), AIR_GetSlotItems(AC_ITEM_WEAPON, aircraft), aircraft->maxWeapons) src/client/campaign/cp_aircraft_callbacks.c:263:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Armour:\t%i on 1\n") src/client/campaign/cp_aircraft_callbacks.c:263:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Armour:\t%i on 1\n"), AIR_GetSlotItems(AC_ITEM_SHIELD, aircraft)) src/client/campaign/cp_aircraft_callbacks.c:264:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Electronics:\t%i on %i") src/client/campaign/cp_aircraft_callbacks.c:264:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Electronics:\t%i on %i"), AIR_GetSlotItems(AC_ITEM_ELECTRONICS, aircraft), aircraft->maxElectronics) src/client/campaign/cp_aircraft_callbacks.c:277:2: Implicitly only storage base->aircraftCurrent (type aircraft_t *) not released before assignment: base->aircraftCurrent = aircraft src/client/campaign/cp_aircraft_callbacks.c:277:2: Implicitly temp storage aircraft assigned to implicitly only: base->aircraftCurrent = aircraft src/client/campaign/cp_aircraft_callbacks.c:278:34: Function Cvar_SetValue expects arg 2 to be float gets int: id src/client/campaign/cp_aircraft_callbacks.c: (in function AIR_AircraftUpdateList_f) src/client/campaign/cp_aircraft_callbacks.c:298:18: Null storage list derivable from parameter LIST_AddString (&list, ...) src/client/campaign/cp_aircraft_callbacks.c:289:23: Storage list becomes null src/client/campaign/cp_aircraft_callbacks.c:301:48: Null storage list passed as non-null param: MN_RegisterLinkedListText (..., list) src/client/campaign/cp_aircraft_callbacks.c:289:23: Storage list becomes null src/client/campaign/cp_aircraft_callbacks.c:302:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:291:44: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIR_ChangeAircraftName_f) src/client/campaign/cp_aircraft_callbacks.c:318:10: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:311:50: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c:320:36: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_aircraftname") src/client/campaign/cp_aircraft_callbacks.c:321:2: Fresh storage base not released before return src/client/campaign/cp_aircraft_callbacks.c:311:50: Fresh storage base created src/client/campaign/cp_aircraft_callbacks.c: (in function AIR_InitCallbacks) src/client/campaign/cp_aircraft_callbacks.c:327:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_aircraft_callbacks.c:329:57: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_aircraft_callbacks.c:330:57: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_aircraft_callbacks.c:331:61: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_aircraft_callbacks.c:335:67: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_alien_interest.c: (in function CL_ChangeIndividualInterest) src/client/campaign/cp_alien_interest.c:102:100: Function exp expects arg 1 to be double gets int: (ccs.overallInterest - FINAL_OVERALL_INTEREST) / 30 src/client/campaign/cp_base.c: (in function B_GetBaseByIDX) src/client/campaign/cp_base.c:60:9: Immediate address &ccs.bases[] returned as implicitly only: &ccs.bases[baseIdx] src/client/campaign/cp_base.c: (in function B_GetFoundedBaseByIDX) src/client/campaign/cp_base.c:72:6: Test expression for if not boolean, type qboolean: base->founded src/client/campaign/cp_base.c:75:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:75:14: Fresh storage base not released before return src/client/campaign/cp_base.c:70:41: Fresh storage base created src/client/campaign/cp_base.c: (in function B_CheckBuildingTypeStatus) src/client/campaign/cp_base.c:108:9: Test expression for conditional not boolean, type int: cntlocal src/client/campaign/cp_base.c: (in function B_GetBuildingStatus) src/client/campaign/cp_base.c:188:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c: (in function B_SetBuildingStatus) src/client/campaign/cp_base.c:211:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c: (in function B_CheckBuildingDependencesStatus) src/client/campaign/cp_base.c:231:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:232:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c: (in function B_ResetBuildingCurrent) src/client/campaign/cp_base.c:252:3: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment: base->buildingCurrent = NULL src/client/campaign/cp_base.c:254:2: Function returns with null storage derivable from parameter base->buildingCurrent src/client/campaign/cp_base.c:252:27: Storage base->buildingCurrent becomes null src/client/campaign/cp_base.c:283:3: Static valid_building_vars[18].string initialized to null value: valid_building_vars[18].string = NULL src/client/campaign/cp_base.c: (in function B_GetMaxBuildingLevel) src/client/campaign/cp_base.c:298:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, type) src/client/campaign/cp_base.c: (in function B_GetRandomBase) src/client/campaign/cp_base.c:317:7: Operand of ! is non-boolean (qboolean): !ccs.bases[randomBase].founded src/client/campaign/cp_base.c:319:10: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:322:9: Immediate address &ccs.bases[] returned as implicitly only: &ccs.bases[randomBase] src/client/campaign/cp_base.c: (in function B_AssembleMap) src/client/campaign/cp_base.c:359:10: Test expression for if not boolean, type qboolean: ((used)[entry->idx]) src/client/campaign/cp_base.c:367:32: Possibly null storage entry->mapPart passed as non-null param: va (..., entry->mapPart) src/client/campaign/cp_base.c:367:20: New fresh storage (type char *) passed as implicitly temp (not released): va("b/%s ", entry->mapPart) src/client/campaign/cp_base.c:372:21: New fresh storage (type char *) passed as implicitly temp (not released): va("%i %i %i ", col * (512 / 32), (5 - row - 1) * (512 / 32), 0) src/client/campaign/cp_base.c:379:2: Return value (type qboolean) ignored: SAV_QuickSave() src/client/campaign/cp_base.c:381:45: Test expression for conditional not boolean, type qboolean: MAP_IsNight(base->pos) src/client/campaign/cp_base.c:381:15: New fresh storage (type char *) passed as implicitly temp (not released): va("map %s \"%s\" \"%s\"\n", (MAP_IsNight(base->pos) ? "night" : "day"), maps, coords) src/client/campaign/cp_base.c: (in function B_CheckUpdateBuilding) src/client/campaign/cp_base.c:397:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:398:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c:406:6: Right operand of && is non-boolean (qboolean): building->buildingStatus == B_STATUS_WORKING && B_CheckBuildingDependencesStatus(base, building) src/client/campaign/cp_base.c: (in function B_UpdateOneBaseBuildingStatusOnEnable) src/client/campaign/cp_base.c:433:21: New fresh storage (type char *) passed as implicitly temp (not released): va("update_base_radar_coverage %i", base->idx) src/client/campaign/cp_base.c: (in function B_UpdateOneBaseBuildingStatusOnDisable) src/client/campaign/cp_base.c:460:21: New fresh storage (type char *) passed as implicitly temp (not released): va("update_base_radar_coverage %i", base->idx) src/client/campaign/cp_base.c: (in function B_UpdateStatusBuilding) src/client/campaign/cp_base.c:489:7: Left operand of && is non-boolean (building_t *): dependsBuilding && buildingType == dependsBuilding->building Type src/client/campaign/cp_base.c:491:20: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, ccs.buildings[base->idx][i].buildingType) src/client/campaign/cp_base.c:491:8: Left operand of && is non-boolean (qboolean): onBuilt && !B_GetBuildingStatus(base, ccs.buildings[base->idx][i ].buildingType) src/client/campaign/cp_base.c:493:9: Test expression for if not boolean, type qboolean: B_CheckUpdateBuilding(&ccs.buildings[base->idx][i], base) src/client/campaign/cp_base.c:498:16: Operand of ! is non-boolean (qboolean): !onBuilt src/client/campaign/cp_base.c:498:27: Right operand of && is non-boolean (qboolean): !onBuilt && B_GetBuildingStatus(base, ccs.buildings[base->idx][i].buildingTy pe) src/client/campaign/cp_base.c:500:9: Test expression for if not boolean, type qboolean: B_CheckUpdateBuilding(&ccs.buildings[base->idx][i], base) src/client/campaign/cp_base.c:510:9: Test expression for while not boolean, type qboolean: test src/client/campaign/cp_base.c:513:20: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, ccs.buildings[base->idx][i].buildingType) src/client/campaign/cp_base.c:513:8: Left operand of && is non-boolean (qboolean): onBuilt && !B_GetBuildingStatus(base, ccs.buildings[base->idx][i ].buildingType) src/client/campaign/cp_base.c:515:9: Test expression for if not boolean, type qboolean: B_CheckUpdateBuilding(&ccs.buildings[base->idx][i], base) src/client/campaign/cp_base.c:519:16: Operand of ! is non-boolean (qboolean): !onBuilt src/client/campaign/cp_base.c:519:27: Right operand of && is non-boolean (qboolean): !onBuilt && B_GetBuildingStatus(base, ccs.buildings[base->idx][i].buildingTy pe) src/client/campaign/cp_base.c:521:9: Test expression for if not boolean, type qboolean: B_CheckUpdateBuilding(&ccs.buildings[base->idx][i], base) src/client/campaign/cp_base.c: (in function B_UpdateAntimatterCap) src/client/campaign/cp_base.c:542:8: Operand of ! is non-boolean (int): !strcmp(csi.ods[i].id, "antimatter") src/client/campaign/cp_base.c: (in function B_ResetAllStatusAndCapacities) src/client/campaign/cp_base.c:560:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:570:9: Test expression for while not boolean, type qboolean: test src/client/campaign/cp_base.c:574:9: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, building->buildingType) src/client/campaign/cp_base.c:575:8: Right operand of && is non-boolean (qboolean): !B_GetBuildingStatus(base, building->buildingType) && B_CheckUpdateBuilding(building, base) src/client/campaign/cp_base.c:576:9: Test expression for if not boolean, type qboolean: firstEnable src/client/campaign/cp_base.c:587:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_ALIENS)) src/client/campaign/cp_base.c:590:6: Operands of || are non-boolean (qboolean): B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_AIRCRAFT_SMALL)) || B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_AIRCRAFT_BIG)) src/client/campaign/cp_base.c:594:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_EMPLOYEE S)) src/client/campaign/cp_base.c:597:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_ITEMS)) src/client/campaign/cp_base.c:600:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_LABSPACE )) src/client/campaign/cp_base.c:603:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_WORKSPAC E)) src/client/campaign/cp_base.c:606:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_GetBuildingTypeByCapacity(CAP_ANTIMATT ER)) src/client/campaign/cp_base.c: (in function B_RemoveAircraftExceedingCapacity) src/client/campaign/cp_base.c:659:8: Operand of ! is non-boolean (qboolean): !AIR_IsAircraftInBase(&base->aircraft[aircraftIdx]) src/client/campaign/cp_base.c:660:8: Test expression for if not boolean, type qboolean: AIR_IsAircraftOnGeoscape(&base->aircraft[aircraftIdx]) src/client/campaign/cp_base.c:671:7: Operand of ! is non-boolean (int): !numAwayAircraft src/client/campaign/cp_base.c:675:7: Operand of ! is non-boolean (qboolean): !CL_DisplayHomebasePopup(awayAircraft[randomNum], qfalse) src/client/campaign/cp_base.c: (in function B_BuildingDestroy) src/client/campaign/cp_base.c:693:36: Variable onDestroyCommand initialized to type boolean, expects qboolean: (building->onDestroy[0] != '\0') && (building->buildingStatus == B_STATUS_WORKING) src/client/campaign/cp_base.c:719:3: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment: base->buildingCurrent = NULL src/client/campaign/cp_base.c:728:102: Variable idx__ initialized to type int, expects size_t: (idx) src/client/campaign/cp_base.c:728:183: Variable n__ initialized to type int, expects size_t: --(ccs.numBuildings[base_idx]) src/client/campaign/cp_base.c:735:5: Immediate address &buildings[] assigned to implicitly only: base->map[(int)buildings[i].pos[0]][(int)buildings[i].pos[1 ]].building = &buildings[i] src/client/campaign/cp_base.c:737:6: Immediate address &buildings[] assigned to implicitly only: base->map[(int)buildings[i].pos[0]][(int)buildings[i].pos[1 ] + 1].building = &buildings[i] src/client/campaign/cp_base.c:747:50: Null storage base->map[][].building derivable from parameter B_GetNumberOfBuildingsInBaseByBuildingType (base, ...) src/client/campaign/cp_base.c:711:69: Storage base->map[][].building becomes null src/client/campaign/cp_base.c:747:50: Null storage base->buildingCurrent derivable from parameter B_GetNumberOfBuildingsInBaseByBuildingType (base, ...) src/client/campaign/cp_base.c:719:27: Storage base->buildingCurrent becomes null src/client/campaign/cp_base.c:751:4: Return value (type qboolean) ignored: B_UpdateStatusBu... src/client/campaign/cp_base.c:766:6: Test expression for if not boolean, type qboolean: onDestroyCommand src/client/campaign/cp_base.c:769:21: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %i %i", template->onDestroy, base->idx, buildingType) src/client/campaign/cp_base.c:772:15: Function returns with null storage derivable from parameter base->map[][].building src/client/campaign/cp_base.c:711:69: Storage base->map[][].building becomes null src/client/campaign/cp_base.c:772:15: Function returns with null storage derivable from parameter base->buildingCurrent src/client/campaign/cp_base.c:719:27: Storage base->buildingCurrent becomes null src/client/campaign/cp_base.c: (in function B_MoveAircraftOnGeoscapeToOtherBases) src/client/campaign/cp_base.c:786:7: Test expression for if not boolean, type qboolean: AIR_IsAircraftOnGeoscape(aircraft) src/client/campaign/cp_base.c:789:13: Variable base shadows outer declaration src/client/campaign/cp_base.c:780:59: Previous declaration of base: base_t * src/client/campaign/cp_base.c:791:9: Test expression for if not boolean, type qboolean: AIR_MoveAircraftIntoNewHomebase(aircraft, base) src/client/campaign/cp_base.c:793:5: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:789:38: Fresh storage base created src/client/campaign/cp_base.c:799:3: Fresh storage aircraft not released before scope exit src/client/campaign/cp_base.c:785:64: Fresh storage aircraft created src/client/campaign/cp_base.c: (in function B_Destroy) src/client/campaign/cp_base.c:812:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:820:3: Return value (type qboolean) ignored: B_BuildingDestro... src/client/campaign/cp_base.c: (in function CL_BaseDestroy_f) src/client/campaign/cp_base.c:839:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base.c:853:2: Fresh storage base not released before return src/client/campaign/cp_base.c:846:2: Fresh storage base created src/client/campaign/cp_base.c: (in function B_MarkBuildingDestroy) src/client/campaign/cp_base.c:863:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:867:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base is under attack, you can't destroy buildings !") src/client/campaign/cp_base.c:867:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base.c:868:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base.c:872:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c:875:2: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment: base->buildingCurrent = building src/client/campaign/cp_base.c:875:2: Implicitly temp storage building assigned to implicitly only: base->buildingCurrent = building src/client/campaign/cp_base.c:879:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy Entrance") src/client/campaign/cp_base.c:879:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You can't destroy the entrance of the base!") src/client/campaign/cp_base.c:888:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy Hangar") src/client/campaign/cp_base.c:888:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("If you destroy this hangar, you will also destroy the aircraft inside.\nAre you sure you want to destroy this building?") src/client/campaign/cp_base.c:889:50: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to hangar") src/client/campaign/cp_base.c:889:75: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to hangar without destroying building") src/client/campaign/cp_base.c:890:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy") src/client/campaign/cp_base.c:890:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy the building") src/client/campaign/cp_base.c:891:62: New fresh storage (type char *) passed as implicitly temp (not released): (ccs.numBases > 1) ? gettext("Transfer") : NULL src/client/campaign/cp_base.c:892:6: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to transfer menu without destroying the building") src/client/campaign/cp_base.c:898:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy Quarter") src/client/campaign/cp_base.c:898:48: New fresh storage (type char *) passed as implicitly temp (not released): gettext("If you destroy this Quarters, every employee inside will be killed.\nAre you sure you want to destroy this building?") src/client/campaign/cp_base.c:899:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Dismiss") src/client/campaign/cp_base.c:899:71: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to hiring menu without destroying building") src/client/campaign/cp_base.c:900:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy") src/client/campaign/cp_base.c:900:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy the building") src/client/campaign/cp_base.c:901:62: New fresh storage (type char *) passed as implicitly temp (not released): (ccs.numBases > 1) ? gettext("Transfer") : NULL src/client/campaign/cp_base.c:902:6: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to transfer menu without destroying the building") src/client/campaign/cp_base.c:908:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy Storage") src/client/campaign/cp_base.c:908:48: New fresh storage (type char *) passed as implicitly temp (not released): gettext("If you destroy this Storage, every items inside will be destroyed.\nAre you sure you want to destroy this building?") src/client/campaign/cp_base.c:909:53: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to storage") src/client/campaign/cp_base.c:909:79: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to buy/sell menu without destroying building") src/client/campaign/cp_base.c:910:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy") src/client/campaign/cp_base.c:910:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy the building") src/client/campaign/cp_base.c:911:62: New fresh storage (type char *) passed as implicitly temp (not released): (ccs.numBases > 1) ? gettext("Transfer") : NULL src/client/campaign/cp_base.c:912:6: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Go to transfer menu without destroying the building") src/client/campaign/cp_base.c:921:17: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy building") src/client/campaign/cp_base.c:921:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Are you sure you want to destroy this building?") src/client/campaign/cp_base.c:922:3: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_base.c:922:9: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_base.c:922:15: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_base.c:923:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy") src/client/campaign/cp_base.c:923:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy the building") src/client/campaign/cp_base.c:924:3: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_base.c:924:9: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_base.c:924:15: Null storage passed as non-null param: MN_PopupButton (..., NULL) src/client/campaign/cp_base.c: (in function B_BuildingStatus) src/client/campaign/cp_base.c:937:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c:938:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:940:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not set") src/client/campaign/cp_base.c:940:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:946:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Already %i in base") src/client/campaign/cp_base.c:946:35: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Already %i in base"), numberOfBuildings) src/client/campaign/cp_base.c:946:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:949:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:952:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Construction finished") src/client/campaign/cp_base.c:952:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:955:7: Test expression for if not boolean, type qboolean: B_CheckBuildingDependencesStatus(base, building) src/client/campaign/cp_base.c:956:35: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Working 100%") src/client/campaign/cp_base.c:956:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:958:12: Function assert expects arg 1 to be boolean gets struct building_s *: building->dependsBuilding src/client/campaign/cp_base.c:960:35: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %s", gettext("Not operational, depends on"), gettext(building->depend sBuilding->name)) src/client/campaign/cp_base.c:960:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:964:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Down") src/client/campaign/cp_base.c:964:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c: (in function B_UpdateAllBaseBuildingStatus) src/client/campaign/cp_base.c:984:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:985:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c:992:6: Test expression for if not boolean, type qboolean: test src/client/campaign/cp_base.c:997:6: Test expression for if not boolean, type qboolean: test src/client/campaign/cp_base.c:998:3: Return value (type qboolean) ignored: B_UpdateStatusBu... src/client/campaign/cp_base.c:1011:7: Test expression for if not boolean, type qboolean: B_CheckBuildingDependencesStatus(base, building) src/client/campaign/cp_base.c:1025:113: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_base.c: (in function B_AddBuildingToBasePos) src/client/campaign/cp_base.c:1036:6: Test expression for if not boolean, type qboolean: hire src/client/campaign/cp_base.c:1043:21: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %i", buildingNew->onConstruct, base->idx) src/client/campaign/cp_base.c:1045:2: Fresh storage buildingNew not released before return src/client/campaign/cp_base.c:1031:2: Fresh storage buildingNew created src/client/campaign/cp_base.c: (in function B_InitialEquipment) src/client/campaign/cp_base.c:1061:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:1062:9: Function assert expects arg 1 to be boolean gets equipDef_t *: edTarget src/client/campaign/cp_base.c:1085:2: Fresh storage ed not released before return src/client/campaign/cp_base.c:1065:2: Fresh storage ed created src/client/campaign/cp_base.c: (in function B_BuildFromTemplate) src/client/campaign/cp_base.c:1101:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:1108:6: Test expression for if not boolean, type int: ccs.campaignStats.basesBuild src/client/campaign/cp_base.c:1109:17: Variable j initialized to type double, expects int: round((frand() * (4 - 1)) + 1) src/client/campaign/cp_base.c:1113:9: Operand of ! is non-boolean (qboolean): !mapPtr->blocked src/client/campaign/cp_base.c:1124:5: Assignment of int to vec_t: (pos)[0] = (template->buildings[i].posX) src/client/campaign/cp_base.c:1124:46: Assignment of int to vec_t: (pos)[1] = (template->buildings[i].posY) src/client/campaign/cp_base.c:1126:10: Operands of || are non-booleans (qboolean, building_t *): base->map[(int)pos[0]][(int)pos[1]].blocked || base->map[(int)pos[0]][(int)p os[1]].building src/client/campaign/cp_base.c:1138:9: Operand of ! is non-boolean (qboolean): !building->mandatory src/client/campaign/cp_base.c:1138:33: Right operand of || is non-boolean (qboolean): (!building->mandatory) || B_GetBuildingStatus(base, building->buildingType) src/client/campaign/cp_base.c:1141:30: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, building->buildingType) src/client/campaign/cp_base.c:1142:5: Assignment of int to vec_t: (pos)[0] = (rand() % 5) src/client/campaign/cp_base.c:1142:29: Assignment of int to vec_t: (pos)[1] = (rand() % 5) src/client/campaign/cp_base.c:1143:10: Operands of || are non-booleans (qboolean, building_t *): base->map[(int)pos[0]][(int)pos[1]].blocked || base->map[(int)pos[0]][(int)p os[1]].building src/client/campaign/cp_base.c:1150:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, building->buildingType) src/client/campaign/cp_base.c:1153:2: Fresh storage template not released before return src/client/campaign/cp_base.c:1097:67: Fresh storage template created src/client/campaign/cp_base.c: (in function B_SetUpFirstBase) src/client/campaign/cp_base.c:1174:6: Test expression for if not boolean, type qboolean: buildings src/client/campaign/cp_base.c:1182:7: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_HANGAR) src/client/campaign/cp_base.c:1187:4: Return value (type aircraft_t *) ignored: AIR_NewAircraft(... src/client/campaign/cp_base.c:1188:43: Arrow access from possibly null pointer aircraft: aircraft->price src/client/campaign/cp_base.c:1184:27: Storage aircraft may become null src/client/campaign/cp_base.c:1189:4: Fresh storage firebird not released before scope exit src/client/campaign/cp_base.c:1183:74: Fresh storage firebird created src/client/campaign/cp_base.c:1189:4: Fresh storage aircraft not released before scope exit src/client/campaign/cp_base.c:1184:53: Fresh storage aircraft created src/client/campaign/cp_base.c:1190:7: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_base.c:1195:4: Return value (type aircraft_t *) ignored: AIR_NewAircraft(... src/client/campaign/cp_base.c:1196:43: Arrow access from possibly null pointer aircraft: aircraft->price src/client/campaign/cp_base.c:1192:27: Storage aircraft may become null src/client/campaign/cp_base.c:1197:4: Fresh storage stiletto not released before scope exit src/client/campaign/cp_base.c:1191:77: Fresh storage stiletto created src/client/campaign/cp_base.c:1197:4: Fresh storage aircraft not released before scope exit src/client/campaign/cp_base.c:1192:53: Fresh storage aircraft created src/client/campaign/cp_base.c:1206:11: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_base.c:1209:8: Test expression for if not boolean, type qboolean: hire src/client/campaign/cp_base.c:1210:10: Operand of ! is non-boolean (qboolean): !E_HireEmployeeByType(base, EMPL_PILOT) src/client/campaign/cp_base.c:1222:9: Test expression for if not boolean, type qboolean: hire src/client/campaign/cp_base.c:1227:31: Null storage passed as non-null param: B_InitialEquipment (..., NULL, ...) src/client/campaign/cp_base.c:1234:3: Fresh storage ed not released before scope exit src/client/campaign/cp_base.c:1200:3: Fresh storage ed created src/client/campaign/cp_base.c:1235:29: Null storage passed as non-null param: B_BuildFromTemplate (..., NULL, ...) src/client/campaign/cp_base.c: (in function B_GetInstallationLimit) src/client/campaign/cp_base.c:1254:13: Operands of && are non-booleans (base_t *, qboolean): base && B_GetBuildingStatus(base, B_COMMAND) src/client/campaign/cp_base.c:1255:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:1252:49: Fresh storage base created src/client/campaign/cp_base.c: (in function B_UpdateBaseCount) src/client/campaign/cp_base.c:1267:33: Function Cvar_SetValue expects arg 2 to be float gets int: ccs.numBases src/client/campaign/cp_base.c:1279:75: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_base.c: (in function B_SetUpBase) src/client/campaign/cp_base.c:1281:35: Variable newBaseAlienInterest initialized to type float, expects int: 1.0f src/client/campaign/cp_base.c:1285:2: Assignment of ptrdiff_t to int: base->idx = ((ptrdiff_t)((base) - ccs.bases)) src/client/campaign/cp_base.c:1290:7: Operand of ! is non-boolean (qboolean): !buildings src/client/campaign/cp_base.c:1296:29: Null storage passed as non-null param: B_BuildFromTemplate (..., NULL, ...) src/client/campaign/cp_base.c:1299:2: Assignment of int to float: base->alienInterest = newBaseAlienInterest src/client/campaign/cp_base.c: (in function B_GetBuildingTemplate) src/client/campaign/cp_base.c:1317:9: Function assert expects arg 1 to be boolean gets char *: buildingName src/client/campaign/cp_base.c:1319:8: Operand of ! is non-boolean (int): !strcmp(ccs.buildingTemplates[i].id, buildingName) src/client/campaign/cp_base.c:1320:11: Immediate address &ccs.buildingTemplates[] returned as implicitly only: &ccs.buildingTemplates[i] src/client/campaign/cp_base.c:1323:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c: (in function B_GetBaseTemplate) src/client/campaign/cp_base.c:1336:10: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1339:8: Operand of ! is non-boolean (int): !strcmp(ccs.baseTemplates[i].id, baseTemplateID) src/client/campaign/cp_base.c:1340:11: Immediate address &ccs.baseTemplates[] returned as implicitly only: &ccs.baseTemplates[i] src/client/campaign/cp_base.c:1343:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c: (in function B_ConstructBuilding) src/client/campaign/cp_base.c:1381:7: Operand of ! is non-boolean (qboolean): !B_CheckCredits(building->fixCosts) src/client/campaign/cp_base.c:1389:7: Operand of ! is non-boolean (int): !ccs.instant_build src/client/campaign/cp_base.c:1395:17: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %i;", building->onConstruct, base->idx) src/client/campaign/cp_base.c: (in function B_NewBuilding) src/client/campaign/cp_base.c:1419:7: Test expression for if not boolean, type qboolean: B_ConstructBuilding(base, building) src/client/campaign/cp_base.c: (in function B_SetBuildingByClick) src/client/campaign/cp_base.c:1441:30: Arrow access from possibly null pointer template: template->fixCosts src/client/campaign/cp_base.c:1441:7: Operand of ! is non-boolean (qboolean): !B_CheckCredits(template->fixCosts) src/client/campaign/cp_base.c:1442:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base.c:1442:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough credits to build this\n") src/client/campaign/cp_base.c:1443:10: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1451:48: Arrow access from possibly null pointer base: base->idx src/client/campaign/cp_base.c:1457:3: Assignment of ptrdiff_t to int: buildingNew->idx = ((ptrdiff_t)((buildingNew) - ccs.buildings[base->idx])) src/client/campaign/cp_base.c:1460:3: Implicitly only storage buildingNew->base (type struct base_s *) not released before assignment: buildingNew->base = base src/client/campaign/cp_base.c:1460:3: Implicitly temp storage base assigned to implicitly only: buildingNew->base = base src/client/campaign/cp_base.c:1462:8: Operand of ! is non-boolean (qboolean): !base->map[row][col].blocked src/client/campaign/cp_base.c:1466:10: Operands of || are non-booleans (building_t *, qboolean): base->map[row][col - 1].building || base->map[row][col - 1].blocked src/client/campaign/cp_base.c:1469:14: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1469:19: Released storage template->tpl reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tpl released src/client/campaign/cp_base.c:1469:19: Released storage template->id reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->id released src/client/campaign/cp_base.c:1469:19: Released storage template->name reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->name released src/client/campaign/cp_base.c:1469:19: Released storage template->image reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->image released src/client/campaign/cp_base.c:1469:19: Released storage template->mapPart reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->mapPart released src/client/campaign/cp_base.c:1469:19: Released storage template->pedia reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->pedia released src/client/campaign/cp_base.c:1469:19: Released storage template->needs reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->needs released src/client/campaign/cp_base.c:1469:19: Released storage template->tech reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tech released src/client/campaign/cp_base.c:1469:19: Released storage template->dependsBuilding reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->dependsBuilding released src/client/campaign/cp_base.c:1472:16: Operands of || are non-booleans (building_t *, qboolean): base->map[row][col + 1].building || base->map[row][col + 1].blocked src/client/campaign/cp_base.c:1473:10: Operands of || are non-booleans (building_t *, qboolean): base->map[row][col - 1].building || base->map[row][col - 1].blocked src/client/campaign/cp_base.c:1475:11: Operand of ! is non-boolean (int): !col src/client/campaign/cp_base.c:1477:14: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1477:19: Released storage template->tpl reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tpl released src/client/campaign/cp_base.c:1477:19: Released storage template->id reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->id released src/client/campaign/cp_base.c:1477:19: Released storage template->name reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->name released src/client/campaign/cp_base.c:1477:19: Released storage template->image reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->image released src/client/campaign/cp_base.c:1477:19: Released storage template->mapPart reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->mapPart released src/client/campaign/cp_base.c:1477:19: Released storage template->pedia reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->pedia released src/client/campaign/cp_base.c:1477:19: Released storage template->needs reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->needs released src/client/campaign/cp_base.c:1477:19: Released storage template->tech reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tech released src/client/campaign/cp_base.c:1477:19: Released storage template->dependsBuilding reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->dependsBuilding released src/client/campaign/cp_base.c:1482:5: Immediate address &ccs.buildings[][] assigned to implicitly only (buildingNew aliases &ccs.buildings[][]): base->map[row][col + 1].building = buildingNew src/client/campaign/cp_base.c:1487:24: Possibly null storage buildingNew->needs derivable from parameter B_NewBuilding (..., buildingNew) src/client/campaign/cp_base.c:1489:4: Immediate address &ccs.buildings[][] assigned to implicitly only (buildingNew aliases &ccs.buildings[][]): base->map[row][col].building = buildingNew src/client/campaign/cp_base.c:1489:4: Kept storage buildingNew assigned to implicitly only: base->map[row][col].building = buildingNew src/client/campaign/cp_base.c:1483:4: Storage buildingNew becomes kept src/client/campaign/cp_base.c:1492:4: Assignment of int to vec_t: buildingNew->pos[0] = row src/client/campaign/cp_base.c:1493:4: Assignment of int to vec_t: buildingNew->pos[1] = col src/client/campaign/cp_base.c:1495:27: Storage base->map[][].building reachable from passed parameter is kept (should be implicitly only): base src/client/campaign/cp_base.c:1489:4: Storage base->map[][].building becomes kept src/client/campaign/cp_base.c:1498:11: Immediate address &ccs.buildings[][] returned as implicitly only (buildingNew aliases &ccs.buildings[][]): buildingNew src/client/campaign/cp_base.c:1498:11: Kept storage buildingNew returned as implicitly only: buildingNew src/client/campaign/cp_base.c:1483:4: Storage buildingNew becomes kept src/client/campaign/cp_base.c:1498:23: Released storage template->tpl reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tpl released src/client/campaign/cp_base.c:1498:23: Released storage template->id reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->id released src/client/campaign/cp_base.c:1498:23: Released storage template->name reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->name released src/client/campaign/cp_base.c:1498:23: Released storage template->image reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->image released src/client/campaign/cp_base.c:1498:23: Released storage template->mapPart reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->mapPart released src/client/campaign/cp_base.c:1498:23: Released storage template->pedia reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->pedia released src/client/campaign/cp_base.c:1498:23: Released storage template->needs reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->needs released src/client/campaign/cp_base.c:1498:23: Released storage template->tech reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tech released src/client/campaign/cp_base.c:1498:23: Released storage template->dependsBuilding reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->dependsBuilding released src/client/campaign/cp_base.c:1500:2: Variable base is kept in true branch, but not kept in continuation. src/client/campaign/cp_base.c:1500:2: in true branch: src/client/campaign/cp_base.c:1460:3: Storage base becomes kept src/client/campaign/cp_base.c:1500:2: Storage template->tpl is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->tpl released src/client/campaign/cp_base.c:1500:2: Storage template->id is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->id released src/client/campaign/cp_base.c:1500:2: Storage template->name is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->name released src/client/campaign/cp_base.c:1500:2: Storage template->image is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->image released src/client/campaign/cp_base.c:1500:2: Storage template->mapPart is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->mapPart released src/client/campaign/cp_base.c:1500:2: Storage template->pedia is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->pedia released src/client/campaign/cp_base.c:1500:2: Storage template->needs is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->needs released src/client/campaign/cp_base.c:1500:2: Storage template->tech is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->tech released src/client/campaign/cp_base.c:1500:2: Storage template->dependsBuilding is released in one path, but live in another. src/client/campaign/cp_base.c:1454:3: Storage template->dependsBuilding released src/client/campaign/cp_base.c:1501:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1501:14: Released storage template->tpl reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tpl released src/client/campaign/cp_base.c:1501:14: Released storage template->id reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->id released src/client/campaign/cp_base.c:1501:14: Released storage template->name reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->name released src/client/campaign/cp_base.c:1501:14: Released storage template->image reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->image released src/client/campaign/cp_base.c:1501:14: Released storage template->mapPart reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->mapPart released src/client/campaign/cp_base.c:1501:14: Released storage template->pedia reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->pedia released src/client/campaign/cp_base.c:1501:14: Released storage template->needs reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->needs released src/client/campaign/cp_base.c:1501:14: Released storage template->tech reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->tech released src/client/campaign/cp_base.c:1501:14: Released storage template->dependsBuilding reachable from parameter at return point src/client/campaign/cp_base.c:1454:3: Storage template->dependsBuilding released src/client/campaign/cp_base.c: (in function B_DrawBuilding) src/client/campaign/cp_base.c:1521:2: Return value (type qboolean) ignored: Com_sprintf(buil... src/client/campaign/cp_base.c:1523:64: Right operand of && is non-boolean (int): building->buildingStatus < B_STATUS_UNDER_CONSTRUCTION && building->fixCosts src/client/campaign/cp_base.c:1524:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Costs:\t%i c\n") src/client/campaign/cp_base.c:1524:3: Return value (type qboolean) ignored: Com_sprintf(buil... src/client/campaign/cp_base.c:1527:81: Function ngettext expects arg 3 to be unsigned long int gets int: building->buildTime src/client/campaign/cp_base.c:1527:29: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("%i Day to build\n", "%i Days to build\n", building->buildTime) src/client/campaign/cp_base.c:1527:26: New fresh storage (type char *) passed as implicitly temp (not released): va(ngettext("%i Day to build\n", "%i Days to build\n", building->buildTime), building->buildTime) src/client/campaign/cp_base.c:1529:6: Test expression for if not boolean, type int: building->varCosts src/client/campaign/cp_base.c:1530:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Running costs:\t%i c\n") src/client/campaign/cp_base.c:1530:26: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Running costs:\t%i c\n"), building->varCosts) src/client/campaign/cp_base.c:1533:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Needs:\t%s\n") src/client/campaign/cp_base.c:1533:26: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Needs:\t%s\n"), gettext(building->dependsBuilding->name)) src/client/campaign/cp_base.c:1536:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext(building->name) src/client/campaign/cp_base.c:1536:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:1539:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c:1541:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bui... src/client/campaign/cp_base.c: (in function B_GetBuildingTypeByBuildingID) src/client/campaign/cp_base.c:1624:7: Operand of ! is non-boolean (int): !strcmp(buildingID, "lab") src/client/campaign/cp_base.c:1626:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "hospital") src/client/campaign/cp_base.c:1628:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "aliencont") src/client/campaign/cp_base.c:1630:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "workshop") src/client/campaign/cp_base.c:1632:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "storage") src/client/campaign/cp_base.c:1634:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "hangar") src/client/campaign/cp_base.c:1636:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "smallhangar") src/client/campaign/cp_base.c:1638:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "ufohangar") src/client/campaign/cp_base.c:1640:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "smallufohangar") src/client/campaign/cp_base.c:1642:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "quarters") src/client/campaign/cp_base.c:1644:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "workshop") src/client/campaign/cp_base.c:1646:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "power") src/client/campaign/cp_base.c:1648:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "command") src/client/campaign/cp_base.c:1650:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "amstorage") src/client/campaign/cp_base.c:1652:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "entrance") src/client/campaign/cp_base.c:1654:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "missile") src/client/campaign/cp_base.c:1656:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "laser") src/client/campaign/cp_base.c:1658:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "radar") src/client/campaign/cp_base.c:1660:14: Operand of ! is non-boolean (int): !strcmp(buildingID, "teamroom") src/client/campaign/cp_base.c: (in function B_ParseBuildings) src/client/campaign/cp_base.c:1691:10: Fresh storage token not released before return src/client/campaign/cp_base.c:1688:2: Fresh storage token created src/client/campaign/cp_base.c:1697:7: Operand of ! is non-boolean (qboolean): !link src/client/campaign/cp_base.c:1699:9: Operand of ! is non-boolean (int): !strcmp(ccs.buildingTemplates[i].id, name) src/client/campaign/cp_base.c:1701:12: Fresh storage token not released before return src/client/campaign/cp_base.c:1688:2: Fresh storage token created src/client/campaign/cp_base.c:1708:3: Implicitly only storage building->id (type char *) not released before assignment: building->id = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_base.c", 1708) src/client/campaign/cp_base.c:1713:3: Implicitly only storage building->tpl (type struct building_s *) not released before assignment (building aliases &ccs.buildingTemplates[]): building->tpl = building src/client/campaign/cp_base.c:1713:3: Immediate address &ccs.buildingTemplates[] assigned to implicitly only: building->tpl = building src/client/campaign/cp_base.c:1724:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1688:2: Fresh storage token created src/client/campaign/cp_base.c:1731:9: Operand of ! is non-boolean (int): !strcmp(token, "type") src/client/campaign/cp_base.c:1732:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1724:4: Fresh storage token created src/client/campaign/cp_base.c:1734:13: Fresh storage token not released before return src/client/campaign/cp_base.c:1732:5: Fresh storage token created src/client/campaign/cp_base.c:1741:10: Operand of ! is non-boolean (int): !strcmp(token, "depends") src/client/campaign/cp_base.c:1742:6: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1724:4: Fresh storage token created src/client/campaign/cp_base.c:1744:14: Fresh storage token not released before return src/client/campaign/cp_base.c:1742:6: Fresh storage token created src/client/campaign/cp_base.c:1747:12: Operand of ! is non-boolean (int): !strncmp(token, vp->string, sizeof((vp->string))) src/client/campaign/cp_base.c:1749:8: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1724:4: Fresh storage token created src/client/campaign/cp_base.c:1751:16: Fresh storage token not released before return src/client/campaign/cp_base.c:1749:8: Fresh storage token created src/client/campaign/cp_base.c:1758:13: Fall through case (no preceding break) src/client/campaign/cp_base.c:1759:9: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_base.c:1762:60: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_base.c:1762:9: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_base.c:1779:12: Arrow access from possibly null pointer building: building->tech src/client/campaign/cp_base.c:1773:14: Storage building may become null src/client/campaign/cp_base.c:1779:4: Implicitly only storage building->tech (type technology_t *) not released before assignment: building->tech = tech_link src/client/campaign/cp_base.c:1780:20: Arrow access from possibly null pointer building: building->visible src/client/campaign/cp_base.c:1773:14: Storage building may become null src/client/campaign/cp_base.c:1780:12: Test expression for if not boolean, type qboolean: building->visible src/client/campaign/cp_base.c:1785:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1688:2: Fresh storage token created src/client/campaign/cp_base.c:1791:9: Operand of ! is non-boolean (int): !strcmp(token, "depends") src/client/campaign/cp_base.c:1792:45: New fresh storage (type char *) passed as implicitly temp (not released): Com_EParse(text, errhead, name) src/client/campaign/cp_base.c:1795:5: Implicitly only storage building->dependsBuilding (type struct building_s *) not released before assignment: building->dependsBuilding = dependsBuilding src/client/campaign/cp_base.c:1797:13: Fresh storage token not released before return src/client/campaign/cp_base.c:1785:4: Fresh storage token created src/client/campaign/cp_base.c:1801:2: Fresh storage token not released before return src/client/campaign/cp_base.c:1785:4: Fresh storage token created src/client/campaign/cp_base.c: (in function B_GetBuildingInBaseByType) src/client/campaign/cp_base.c:1817:22: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, buildingType) src/client/campaign/cp_base.c:1817:6: Left operand of && is non-boolean (qboolean): onlyWorking && !B_GetBuildingStatus(base, buildingType) src/client/campaign/cp_base.c:1818:10: Null storage returned as non-null: NULL src/client/campaign/cp_base.c:1823:11: Immediate address &ccs.buildings[][] returned as implicitly only (building aliases &ccs.buildings[][]): building src/client/campaign/cp_base.c:1825:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c: (in function B_ParseBaseTemplate) src/client/campaign/cp_base.c:1848:10: Fresh storage token not released before return src/client/campaign/cp_base.c:1844:2: Fresh storage token created src/client/campaign/cp_base.c:1866:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, template->id) src/client/campaign/cp_base.c:1844:2: Fresh storage token created src/client/campaign/cp_base.c:1880:9: Operand of ! is non-boolean (int): !strcmp(ccs.buildingTemplates[i].id, token) src/client/campaign/cp_base.c:1881:5: Immediate address &ccs.buildingTemplates[] assigned to implicitly only: tile->building = &ccs.buildingTemplates[i] src/client/campaign/cp_base.c:1882:42: Operands of <= have incompatible types (int, byte): tile->building->maxCount <= buildingNums[i] src/client/campaign/cp_base.c:1892:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, template->id) src/client/campaign/cp_base.c:1866:3: Fresh storage token created src/client/campaign/cp_base.c:1898:24: Passed storage pos not completely defined (*pos is undefined): Com_EParseValueDebug (pos, ...) src/client/campaign/cp_base.c:1898:3: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_base.c:1899:3: Assignment of vec_t to int: tile->posX = pos[0] src/client/campaign/cp_base.c:1900:3: Assignment of vec_t to int: tile->posY = pos[1] src/client/campaign/cp_base.c:1903:20: Arrow access from possibly null pointer tile->building: tile->building->id src/client/campaign/cp_base.c:1906:7: Test expression for if not boolean, type qboolean: map[tile->posX][tile->po sY] src/client/campaign/cp_base.c:1914:7: Operands of && are non-booleans (building_t *, qboolean): building && building->mandatory src/client/campaign/cp_base.c:1914:43: Operand of ! is non-boolean (byte): !buildingNums[i] src/client/campaign/cp_base.c:1918:2: Fresh storage token not released before return src/client/campaign/cp_base.c:1892:3: Fresh storage token created src/client/campaign/cp_base.c: (in function B_GetFirstUnfoundedBase) src/client/campaign/cp_base.c:1930:8: Operand of ! is non-boolean (qboolean): !base->founded src/client/campaign/cp_base.c:1932:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:1929:42: Fresh storage base created src/client/campaign/cp_base.c:1934:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c: (in function B_SetCurrentSelectedBase) src/client/campaign/cp_base.c:1949:9: Operand of ! is non-boolean (qboolean): !b->founded src/client/campaign/cp_base.c:1953:3: Fresh storage b not released before scope exit src/client/campaign/cp_base.c:1946:33: Fresh storage b created src/client/campaign/cp_base.c:1956:38: Null storage passed as non-null param: INS_SetCurrentSelectedInstallation (NULL) src/client/campaign/cp_base.c:1957:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bas... src/client/campaign/cp_base.c:1958:38: Function Cvar_SetValue expects arg 2 to be float gets baseStatus_t: base->baseStatus src/client/campaign/cp_base.c:1960:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bas... src/client/campaign/cp_base.c:1961:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bas... src/client/campaign/cp_base.c: (in function B_GetCurrentSelectedBase) src/client/campaign/cp_base.c:1971:7: Test expression for if not boolean, type qboolean: base->selected src/client/campaign/cp_base.c:1973:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:1970:36: Fresh storage base created src/client/campaign/cp_base.c:1975:9: Null storage returned as non-null: NULL src/client/campaign/cp_base.c: (in function B_SelectBase) src/client/campaign/cp_base.c:1994:9: Operand of ! is non-boolean (int): !(r_geoscape_overlay->integer & (1 << 2)) src/client/campaign/cp_base.c:2003:26: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2003:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("b... src/client/campaign/cp_base.c: (in function CL_SwapSkills) src/client/campaign/cp_base.c:2073:10: Test expression for while not boolean, type int: i-- src/client/campaign/cp_base.c:2083:9: Operands of && are non-booleans (invList_t *, objDef_t *): (((cp1)->i.c[(csi.idRight)])) && (((cp1)->i.c[(csi.idRight)]))->item.m src/client/campaign/cp_base.c:2083:85: Right operand of && is non-boolean (objDef_t *): (((cp1)->i.c[(csi.idRight)])) && (((cp1)->i.c[(csi.idRight)]))->item.m && (((cp1)->i.c[(csi.idRight)]))->item.t src/client/campaign/cp_base.c:2085:9: Operands of && are non-booleans (invList_t *, objDef_t *): (((cp1)->i.c[(csi.idHolster)])) && (((cp1)->i.c[(csi.idHolster)]))->item.m src/client/campaign/cp_base.c:2085:89: Right operand of && is non-boolean (objDef_t *): (((cp1)->i.c[(csi.idHolster)])) && (((cp1)->i.c[(csi.idHolster)]))->item.m && (((cp1)->i.c[(csi.idHolster)]))->item.t src/client/campaign/cp_base.c:2090:27: Left operand of && is non-boolean (invList_t *): (((cp1)->i.c[(csi.idRight)])) && skill == (((cp1)->i.c[(csi.idRight)]))->ite m.m->fd[fdRightArray->weapFdsIdx][fmode1].weaponSkill src/client/campaign/cp_base.c:2090:22: Incompatible types for * (int, boolean): 2 * ((((cp1)->i.c[(csi.idRight)])) && skill == (((cp1)->i.c[(csi.idRight)])) ->item.m->fd[fdRightArray->weapFdsIdx][fmode1].weaponSkill) src/client/campaign/cp_base.c:2091:14: Left operand of && is non-boolean (invList_t *): (((cp1)->i.c[(csi.idRight)])) && skill == (((cp1)->i.c[(csi.idRight)]))->ite m.m->fd[fdRightArray->weapFdsIdx][fmode2].weaponSkill src/client/campaign/cp_base.c:2091:9: Incompatible types for * (int, boolean): 2 * ((((cp1)->i.c[(csi.idRight)])) && skill == (((cp1)->i.c[(csi.idRight)])) ->item.m->fd[fdRightArray->weapFdsIdx][fmode2].weaponSkill) src/client/campaign/cp_base.c:2092:10: Operands of && are non-booleans (invList_t *, int): (((cp1)->i.c[(csi.idHolster)])) && (((cp1)->i.c[(csi.idHolster)]))->item.t-> reload src/client/campaign/cp_base.c:2094:10: Operands of && are non-booleans (invList_t *, int): (((cp1)->i.c[(csi.idHolster)])) && (((cp1)->i.c[(csi.idHolster)]))->item.t-> reload src/client/campaign/cp_base.c:2102:11: Operands of && are non-booleans (invList_t *, objDef_t *): (((cp2)->i.c[(csi.idRight)])) && (((cp2)->i.c[(csi.idRight)]))->item.m src/client/campaign/cp_base.c:2102:87: Right operand of && is non-boolean (objDef_t *): (((cp2)->i.c[(csi.idRight)])) && (((cp2)->i.c[(csi.idRight)]))->item.m && (((cp2)->i.c[(csi.idRight)]))->item.t src/client/campaign/cp_base.c:2104:11: Operands of && are non-booleans (invList_t *, objDef_t *): (((cp2)->i.c[(csi.idHolster)])) && (((cp2)->i.c[(csi.idHolster)]))->item.m src/client/campaign/cp_base.c:2104:91: Right operand of && is non-boolean (objDef_t *): (((cp2)->i.c[(csi.idHolster)])) && (((cp2)->i.c[(csi.idHolster)]))->item.m && (((cp2)->i.c[(csi.idHolster)]))->item.t src/client/campaign/cp_base.c:2108:29: Left operand of && is non-boolean (invList_t *): (((cp2)->i.c[(csi.idRight)])) && skill == (((cp2)->i.c[(csi.idRight)]))->ite m.m->fd[fdRightArray->weapFdsIdx][fmode1].weaponSkill src/client/campaign/cp_base.c:2108:24: Incompatible types for * (int, boolean): 2 * ((((cp2)->i.c[(csi.idRight)])) && skill == (((cp2)->i.c[(csi.idRight)])) ->item.m->fd[fdRightArray->weapFdsIdx][fmode1].weaponSkill) src/client/campaign/cp_base.c:2109:16: Left operand of && is non-boolean (invList_t *): (((cp2)->i.c[(csi.idRight)])) && skill == (((cp2)->i.c[(csi.idRight)]))->ite m.m->fd[fdRightArray->weapFdsIdx][fmode2].weaponSkill src/client/campaign/cp_base.c:2109:11: Incompatible types for * (int, boolean): 2 * ((((cp2)->i.c[(csi.idRight)])) && skill == (((cp2)->i.c[(csi.idRight)])) ->item.m->fd[fdRightArray->weapFdsIdx][fmode2].weaponSkill) src/client/campaign/cp_base.c:2110:12: Operands of && are non-booleans (invList_t *, int): (((cp2)->i.c[(csi.idHolster)])) && (((cp2)->i.c[(csi.idHolster)]))->item.t-> reload src/client/campaign/cp_base.c:2112:12: Operands of && are non-booleans (invList_t *, int): (((cp2)->i.c[(csi.idHolster)])) && (((cp2)->i.c[(csi.idHolster)]))->item.t-> reload src/client/campaign/cp_base.c:2116:14: Left operand of && is non-boolean (int): no1 && no1 == no2 src/client/campaign/cp_base.c:2118:25: Possibly null storage cp1->i.c[] derivable from parameter CL_DoSwapSkills (cp1, ...) src/client/campaign/cp_base.c:2118:30: Possibly null storage cp2->i.c[] derivable from parameter CL_DoSwapSkills (..., cp2, ...) src/client/campaign/cp_base.c:2120:25: Possibly null storage cp2->i.c[] derivable from parameter CL_DoSwapSkills (cp2, ...) src/client/campaign/cp_base.c:2120:30: Possibly null storage cp1->i.c[] derivable from parameter CL_DoSwapSkills (..., cp1, ...) src/client/campaign/cp_base.c:2125:5: Fresh storage fdRightArray not released before scope exit src/client/campaign/cp_base.c:2084:6: Fresh storage fdRightArray created src/client/campaign/cp_base.c:2125:5: Fresh storage fdHolsterArray not released before scope exit src/client/campaign/cp_base.c:2086:6: Fresh storage fdHolsterArray created src/client/campaign/cp_base.c: (in function B_PackInitialEquipment) src/client/campaign/cp_base.c:2159:16: Passed storage chrListTemp contains 1 undefined field: chr src/client/campaign/cp_base.c:2160:2: Only storage *(chrListTemp.chr)->scoreMission (type chrScoreMission_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(*(chrListTemp.chr)->i.c)->item.m (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(*(chrListTemp.chr)->i.c)->item.t (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(*(chrListTemp.chr)->i.c)->next (type struct invList_s *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(chrListTemp.chr)->teamDef (type teamDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(chrListTemp.chr)->reservedTus.shotSettings.weapon (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(chrListTemp.chr)->RFmode.weapon (type objDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c:2160:2: Only storage *(chrListTemp.chr)->AI.L (type lua_State *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_base.c: (in function B_BaseResetStatus) src/client/campaign/cp_base.c:2169:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c: (in function B_BuildingList_f) src/client/campaign/cp_base.c:2202:10: Operand of ! is non-boolean (buildingStatus_t): !building->buildingStatus src/client/campaign/cp_base.c:2208:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:2187:61: Fresh storage base created src/client/campaign/cp_base.c: (in function B_BaseList_f) src/client/campaign/cp_base.c:2222:8: Operand of ! is non-boolean (qboolean): !base->founded src/client/campaign/cp_base.c:2248:8: Test expression for if not boolean, type int: row src/client/campaign/cp_base.c: (in function B_BuildingOpenAfterClick) src/client/campaign/cp_base.c:2267:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:2268:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base.c:2269:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, building->buildingType) src/client/campaign/cp_base.c:2274:8: Test expression for if not boolean, type qboolean: RS_ResearchAllowed(base) src/client/campaign/cp_base.c:2275:31: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2275:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("r... src/client/campaign/cp_base.c:2280:8: Test expression for if not boolean, type qboolean: HOS_HospitalAllowed(base) src/client/campaign/cp_base.c:2281:31: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2281:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("h... src/client/campaign/cp_base.c:2286:8: Test expression for if not boolean, type qboolean: AC_ContainmentAllowed(ba se) src/client/campaign/cp_base.c:2287:32: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2287:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("a... src/client/campaign/cp_base.c:2292:8: Test expression for if not boolean, type qboolean: E_HireAllowed(base) src/client/campaign/cp_base.c:2293:32: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2293:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("e... src/client/campaign/cp_base.c:2298:8: Test expression for if not boolean, type qboolean: PR_ProductionAllowed(bas e) src/client/campaign/cp_base.c:2299:33: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2299:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_base.c:2305:33: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2305:4: Return value (type struct menuNode_s *) ignored: MN_PushWindow("b... src/client/campaign/cp_base.c:2309:9: Operand of ! is non-boolean (qboolean): !AIR_AircraftAllowed(base) src/client/campaign/cp_base.c:2311:15: Test expression for if not boolean, type int: base->numAircraftInBase src/client/campaign/cp_base.c:2312:31: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2312:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("a... src/client/campaign/cp_base.c:2314:34: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2314:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("b... src/client/campaign/cp_base.c:2317:15: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_base.c:2317:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No aircraft in this base - You first have to purchase or transfer an aircraft\n") src/client/campaign/cp_base.c:2319:15: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_base.c:2319:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No aircraft in this base - You first have to purchase an aircraft\n") src/client/campaign/cp_base.c:2324:8: Test expression for if not boolean, type qboolean: BS_BuySellAllowed(base) src/client/campaign/cp_base.c:2325:29: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base.c:2325:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("m... src/client/campaign/cp_base.c: (in function B_PrintCapacities_f) src/client/campaign/cp_base.c:2351:11: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base.c:2370:2: Fresh storage base not released before return src/client/campaign/cp_base.c:2356:2: Fresh storage base created src/client/campaign/cp_base.c: (in function B_BuildingConstructionFinished_f) src/client/campaign/cp_base.c:2390:5: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment (building aliases &ccs.buildings[][]): base->buildingCurrent = building src/client/campaign/cp_base.c:2390:5: Immediate address &ccs.buildings[][] assigned to implicitly only: base->buildingCurrent = building src/client/campaign/cp_base.c:2391:18: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %i;", building->onConstruct, base->idx) src/client/campaign/cp_base.c:2397:2: Fresh storage base not released before return src/client/campaign/cp_base.c:2378:44: Fresh storage base created src/client/campaign/cp_base.c: (in function B_ResetAllStatusAndCapacities_f) src/client/campaign/cp_base.c:2414:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:2408:49: Fresh storage base created src/client/campaign/cp_base.c: (in function B_InitStartup) src/client/campaign/cp_base.c:2433:2: Only storage assigned to unqualified static: cp_initial_equipment = Cvar_Get("cp_initial_equipment", "phalanx_initial", 0, "Start with assigned equipment - see cp_start_employees") src/client/campaign/cp_base.c: (in function B_GetFoundedBaseCount) src/client/campaign/cp_base.c:2445:8: Operand of ! is non-boolean (qboolean): !ccs.bases[i].founded src/client/campaign/cp_base.c: (in function B_UpdateBaseData) src/client/campaign/cp_base.c:2472:8: Test expression for if not boolean, type int: B_CheckBuildingConstruction(b, base) src/client/campaign/cp_base.c:2473:61: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Construction of %s building finished in %s.") src/client/campaign/cp_base.c:2473:5: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_base.c:2474:22: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Building finished") src/client/campaign/cp_base.c:2474:96: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base.c:2474:5: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base.c:2477:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:2464:49: Fresh storage base created src/client/campaign/cp_base.c: (in function B_CheckBuildingConstruction) src/client/campaign/cp_base.c:2489:7: Left operand of && is non-boolean (int): building->timeStart && building->timeStart + building->buildTime <= ccs.date.day src/client/campaign/cp_base.c:2493:5: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment: base->buildingCurrent = building src/client/campaign/cp_base.c:2493:5: Implicitly temp storage building assigned to implicitly only: base->buildingCurrent = building src/client/campaign/cp_base.c:2495:18: New fresh storage (type char *) passed as implicitly temp (not released): va("%s %i;", building->onConstruct, base->idx) src/client/campaign/cp_base.c:2496:4: Variable building is kept in true branch, but not kept in continuation. src/client/campaign/cp_base.c:2496:4: in true branch: src/client/campaign/cp_base.c:2493:5: Storage building becomes kept src/client/campaign/cp_base.c:2499:3: Variable building is kept in true branch, but not kept in continuation. src/client/campaign/cp_base.c:2499:3: in true branch: src/client/campaign/cp_base.c:2496:4: Storage building becomes kept src/client/campaign/cp_base.c:2502:6: Test expression for if not boolean, type int: newBuilding src/client/campaign/cp_base.c: (in function B_GetNumOnTeam) src/client/campaign/cp_base.c:2515:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_base.c: (in function B_SellOrAddItems) src/client/campaign/cp_base.c:2535:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_base.c:2537:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:2546:28: Possibly null storage tech passed as non-null param: RS_IsResearched_ptr (tech) src/client/campaign/cp_base.c:2542:24: Storage tech may become null src/client/campaign/cp_base.c:2546:8: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(tech) src/client/campaign/cp_base.c:2548:4: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_base.c:2554:8: Test expression for if not boolean, type qboolean: ccs.autosell[cargo[i].item->idx] src/client/campaign/cp_base.c:2563:11: Operand of ! is non-boolean (qboolean): !B_UpdateStorageAndCapacity(base, cargo[i].item, 1, qfalse, qfalse) src/client/campaign/cp_base.c:2577:59: Function ngettext expects arg 3 to be unsigned long int gets int: numitems src/client/campaign/cp_base.c:2577:7: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("%i collected item", "%i collected items", numitems) src/client/campaign/cp_base.c:2576:15: Passed storage str not completely defined (*str is undefined): Com_sprintf (str, ...) src/client/campaign/cp_base.c:2576:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("By selling %s you gathered %i credits.") src/client/campaign/cp_base.c:2576:3: Return value (type qboolean) ignored: Com_sprintf(str,... src/client/campaign/cp_base.c:2578:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base.c:2578:66: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base.c:2578:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base.c:2582:102: Function ngettext expects arg 3 to be unsigned long int gets int: forcedsold src/client/campaign/cp_base.c:2582:19: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("%i item was sold for %i credits.", "%i items were sold for %i credits.", forcedsold) src/client/campaign/cp_base.c:2581:15: Passed storage str not completely defined (*str is undefined): Com_sprintf (str, ...) src/client/campaign/cp_base.c:2581:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough storage space in %s. %s") src/client/campaign/cp_base.c:2581:3: Return value (type qboolean) ignored: Com_sprintf(str,... src/client/campaign/cp_base.c:2583:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base.c:2583:66: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base.c:2583:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base.c: (in function B_AircraftReturnedToHomeBase) src/client/campaign/cp_base.c:2613:9: Function assert expects arg 1 to be boolean gets struct base_s *: aircraft->homebase src/client/campaign/cp_base.c: (in function B_BaseHasItem) src/client/campaign/cp_base.c:2630:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:2631:9: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_base.c:2632:10: Left operand of || is non-boolean (qboolean): item->virtual || base->storage.numItems[item->idx] > 0 src/client/campaign/cp_base.c:2632:9: Return value type boolean does not match declared type qboolean: (item->virtual || base->storage.numItems[item->idx] > 0) src/client/campaign/cp_base.c: (in function B_ItemInBase) src/client/campaign/cp_base.c:2647:6: Test expression for if not boolean, type qboolean: item->virtual src/client/campaign/cp_base.c: (in function B_SaveOneSlotXML) src/client/campaign/cp_base.c:2728:6: Operands of && are non-booleans (qboolean, objDef_t *): weapon && ammo src/client/campaign/cp_base.c:2732:6: Operands of && are non-booleans (qboolean, objDef_t *): weapon && nextAmmo src/client/campaign/cp_base.c:2736:7: Operand of ! is non-boolean (qboolean): !weapon src/client/campaign/cp_base.c: (in function B_SaveBaseSlotsXML) src/client/campaign/cp_base.c:2752:3: Fresh storage sub not released before scope exit src/client/campaign/cp_base.c:2747:51: Fresh storage sub created src/client/campaign/cp_base.c: (in function B_SaveStorageXML) src/client/campaign/cp_base.c:2764:4: Fresh storage node not released before scope exit src/client/campaign/cp_base.c:2760:53: Fresh storage node created src/client/campaign/cp_base.c: (in function B_SaveXML) src/client/campaign/cp_base.c:2785:8: Operand of ! is non-boolean (qboolean): !b->founded src/client/campaign/cp_base.c:2803:5: Fresh storage snode not released before scope exit src/client/campaign/cp_base.c:2796:58: Fresh storage snode created src/client/campaign/cp_base.c:2805:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "buildings") src/client/campaign/cp_base.c:2791:3: Fresh storage node created src/client/campaign/cp_base.c:2819:4: Fresh storage snode not released before scope exit src/client/campaign/cp_base.c:2811:4: Fresh storage snode created src/client/campaign/cp_base.c:2824:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "batteries") src/client/campaign/cp_base.c:2805:3: Fresh storage node created src/client/campaign/cp_base.c:2827:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "lasers") src/client/campaign/cp_base.c:2824:3: Fresh storage node created src/client/campaign/cp_base.c:2831:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "aircrafts") src/client/campaign/cp_base.c:2827:3: Fresh storage node created src/client/campaign/cp_base.c:2838:4: Fresh storage snode not released before scope exit src/client/campaign/cp_base.c:2836:4: Fresh storage snode created src/client/campaign/cp_base.c:2840:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "storage") src/client/campaign/cp_base.c:2831:3: Fresh storage node created src/client/campaign/cp_base.c:2841:3: Return value (type qboolean) ignored: B_SaveStorageXML... src/client/campaign/cp_base.c:2846:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_AddNode(act_base, "alienscont") src/client/campaign/cp_base.c:2840:3: Fresh storage node created src/client/campaign/cp_base.c:2849:11: Function assert expects arg 1 to be boolean gets aliensCont_t [32]: b->alienscont src/client/campaign/cp_base.c:2851:11: Function assert expects arg 1 to be boolean gets teamDef_t *: b->alienscont[k].teamDef src/client/campaign/cp_base.c:2852:11: Function assert expects arg 1 to be boolean gets char [64]: b->alienscont[k].teamDef->id src/client/campaign/cp_base.c:2856:4: Fresh storage snode not released before scope exit src/client/campaign/cp_base.c:2848:54: Fresh storage snode created src/client/campaign/cp_base.c:2858:3: Fresh storage act_base not released before scope exit src/client/campaign/cp_base.c:2783:3: Fresh storage act_base created src/client/campaign/cp_base.c:2858:3: Fresh storage node not released before scope exit src/client/campaign/cp_base.c:2846:3: Fresh storage node created src/client/campaign/cp_base.c:2858:3: Fresh storage b not released before scope exit src/client/campaign/cp_base.c:2782:39: Fresh storage b created src/client/campaign/cp_base.c:2859:15: Fresh storage bases not released before return src/client/campaign/cp_base.c:2776:2: Fresh storage bases created src/client/campaign/cp_base.c: (in function B_LoadBaseSlotsXML) src/client/campaign/cp_base.c:2871:45: Left operand of && is non-boolean (mxml_node_t *): s && i < max src/client/campaign/cp_base.c:2871:64: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, p, "weapon") src/client/campaign/cp_base.c:2871:14: Fresh storage s created src/client/campaign/cp_base.c: (in function B_PostLoadInitCapacity) src/client/campaign/cp_base.c:2894:3: Fresh storage base not released before scope exit src/client/campaign/cp_base.c:2889:49: Fresh storage base created src/client/campaign/cp_base.c: (in function B_LoadStorageXML) src/client/campaign/cp_base.c:2916:4: Assignment of int to byte: equip->numItemsLoose[od->idx] = mxml_GetInt(node, "numloose", 0) src/client/campaign/cp_base.c:2919:3: Fresh storage s not released before scope exit src/client/campaign/cp_base.c:2910:50: Fresh storage s created src/client/campaign/cp_base.c:2919:3: Fresh storage od not released before scope exit src/client/campaign/cp_base.c:2911:39: Fresh storage od created src/client/campaign/cp_base.c:2909:50: Fresh storage node (type mxml_node_t *) not released before assignment (in post loop increment): node = mxml_GetNextNode(node, parent, "item") src/client/campaign/cp_base.c:2909:7: Fresh storage node created src/client/campaign/cp_base.c:2920:15: Fresh storage node not released before return src/client/campaign/cp_base.c:2909:7: Fresh storage node created src/client/campaign/cp_base.c: (in function B_LoadXML) src/client/campaign/cp_base.c:2936:59: Right operand of && is non-boolean (mxml_node_t *): i < 8 && base src/client/campaign/cp_base.c:2941:3: Assignment of ptrdiff_t to int: b->idx = ((ptrdiff_t)((b) - ccs.bases)) src/client/campaign/cp_base.c:2943:8: Operand of ! is non-boolean (qboolean): !b->founded src/client/campaign/cp_base.c:2946:30: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(base, "name") src/client/campaign/cp_base.c:2948:3: Return value (type mxml_node_t *) ignored: mxml_GetPos3(bas... src/client/campaign/cp_base.c:2956:5: Implicitly only storage b->map[][].building (type building_t *) not released before assignment: b->map[j][l].building = &ccs.buildings[i][buildi ngIdx] src/client/campaign/cp_base.c:2956:5: Immediate address &ccs.buildings[][] assigned to implicitly only: b->map[j][l].building = &ccs.buildings[i][buildingIdx] src/client/campaign/cp_base.c:2958:5: Implicitly only storage b->map[][].building (type building_t *) not released before assignment: b->map[j][l].building = NULL src/client/campaign/cp_base.c:2951:55: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, node, "building") src/client/campaign/cp_base.c:2951:8: Fresh storage snode created src/client/campaign/cp_base.c:2963:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "buildings") src/client/campaign/cp_base.c:2950:3: Fresh storage node created src/client/campaign/cp_base.c:2964:8: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNode(node, "building") src/client/campaign/cp_base.c:2951:8: Fresh storage snode created src/client/campaign/cp_base.c:2970:19: Fresh storage snode not released before return src/client/campaign/cp_base.c:2964:8: Fresh storage snode created src/client/campaign/cp_base.c:2970:19: Fresh storage node not released before return src/client/campaign/cp_base.c:2963:3: Fresh storage node created src/client/campaign/cp_base.c:2970:19: Fresh storage b not released before return src/client/campaign/cp_base.c:2940:39: Fresh storage b created src/client/campaign/cp_base.c:2970:19: Fresh storage bases not released before return src/client/campaign/cp_base.c:2929:2: Fresh storage bases created src/client/campaign/cp_base.c:2970:19: Fresh storage base not released before return src/client/campaign/cp_base.c:2936:7: Fresh storage base created src/client/campaign/cp_base.c:2974:21: Passed storage buildingType not completely defined (*buildingType is undefined): Q_strncpyzDebug (buildingType, ...) src/client/campaign/cp_base.c:2974:36: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(snode, "buildingtype") src/client/campaign/cp_base.c:2976:19: Fresh storage snode not released before return src/client/campaign/cp_base.c:2964:8: Fresh storage snode created src/client/campaign/cp_base.c:2976:19: Fresh storage node not released before return src/client/campaign/cp_base.c:2963:3: Fresh storage node created src/client/campaign/cp_base.c:2976:19: Fresh storage b not released before return src/client/campaign/cp_base.c:2940:39: Fresh storage b created src/client/campaign/cp_base.c:2976:19: Fresh storage bases not released before return src/client/campaign/cp_base.c:2929:2: Fresh storage bases created src/client/campaign/cp_base.c:2976:19: Fresh storage base not released before return src/client/campaign/cp_base.c:2936:7: Fresh storage base created src/client/campaign/cp_base.c:2981:4: Assignment of ptrdiff_t to int: building->idx = ((ptrdiff_t)((building) - ccs.buildings[b->idx])) src/client/campaign/cp_base.c:2984:19: Fresh storage snode not released before return src/client/campaign/cp_base.c:2964:8: Fresh storage snode created src/client/campaign/cp_base.c:2984:19: Fresh storage b not released before return src/client/campaign/cp_base.c:2940:39: Fresh storage b created src/client/campaign/cp_base.c:2984:19: Fresh storage node not released before return src/client/campaign/cp_base.c:2963:3: Fresh storage node created src/client/campaign/cp_base.c:2984:19: Fresh storage bases not released before return src/client/campaign/cp_base.c:2929:2: Fresh storage bases created src/client/campaign/cp_base.c:2984:19: Fresh storage base not released before return src/client/campaign/cp_base.c:2936:7: Fresh storage base created src/client/campaign/cp_base.c:2986:4: Implicitly only storage building->base (type struct base_s *) not released before assignment: building->base = b src/client/campaign/cp_base.c:2991:4: Return value (type mxml_node_t *) ignored: mxml_GetPos2(sno... src/client/campaign/cp_base.c:2964:55: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, node, "building") src/client/campaign/cp_base.c:2964:8: Fresh storage snode created src/client/campaign/cp_base.c:3000:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "batteries") src/client/campaign/cp_base.c:2963:3: Fresh storage node created src/client/campaign/cp_base.c:3004:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "lasers") src/client/campaign/cp_base.c:3000:3: Fresh storage node created src/client/campaign/cp_base.c:3008:3: Implicitly only storage b->aircraftCurrent (type aircraft_t *) not released before assignment: b->aircraftCurrent = NULL src/client/campaign/cp_base.c:3011:4: Immediate address &b->aircraft[] assigned to implicitly only: b->aircraftCurrent = &b->aircraft[aircraftIdxInBase] src/client/campaign/cp_base.c:3013:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "aircrafts") src/client/campaign/cp_base.c:3004:3: Fresh storage node created src/client/campaign/cp_base.c:3014:15: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNode(node, "aircraft") src/client/campaign/cp_base.c:2964:8: Fresh storage snode created src/client/campaign/cp_base.c:3014:65: Right operand of && is non-boolean (mxml_node_t *): k < 64 && snode src/client/campaign/cp_base.c:3016:52: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(snode, "id") src/client/campaign/cp_base.c:3020:4: Implicitly only storage aircraft->homebase (type struct base_s *) not released before assignment: aircraft->homebase = b src/client/campaign/cp_base.c:3020:4: Kept storage b assigned to implicitly only: aircraft->homebase = b src/client/campaign/cp_base.c:2992:3: Storage b becomes kept src/client/campaign/cp_base.c:3021:24: Null storage aircraft->homebase->aircraftCurrent derivable from parameter AIR_LoadAircraftXML (aircraft, ...) src/client/campaign/cp_base.c:3008:24: Storage aircraft->homebase->aircraftCurrent becomes null src/client/campaign/cp_base.c:3021:4: Return value (type qboolean) ignored: AIR_LoadAircraft... src/client/campaign/cp_base.c:3022:4: Fresh storage model not released before scope exit src/client/campaign/cp_base.c:3016:81: Fresh storage model created src/client/campaign/cp_base.c:3015:5: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, node, "aircraft") src/client/campaign/cp_base.c:3014:15: Fresh storage snode created src/client/campaign/cp_base.c:3026:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "storage") src/client/campaign/cp_base.c:3013:3: Fresh storage node created src/client/campaign/cp_base.c:3027:3: Return value (type qboolean) ignored: B_LoadStorageXML... src/client/campaign/cp_base.c:3030:128: Null storage b->aircraftCurrent derivable from parameter B_GetMaxBuildingLevel (b, ...) src/client/campaign/cp_base.c:3008:24: Storage b->aircraftCurrent becomes null src/client/campaign/cp_base.c:3030:31: Function RADAR_Initialise expects arg 2 to be float gets int: mxml_GetInt(base, "radarrange", 0) src/client/campaign/cp_base.c:3030:67: Function RADAR_Initialise expects arg 3 to be float gets int: mxml_GetInt(base, "trackingrange", 0) src/client/campaign/cp_base.c:3034:3: Fresh storage node (type mxml_node_t *) not released before assignment: node = mxml_GetNode(base, "alienscont") src/client/campaign/cp_base.c:3026:3: Fresh storage node created src/client/campaign/cp_base.c:3038:53: Left operand of && is non-boolean (mxml_node_t *): snode && k < 32 src/client/campaign/cp_base.c:3041:5: Implicitly only storage b->alienscont[].teamDef (type teamDef_t *) not released before assignment: b->alienscont[k].teamDef = Com_GetTeamDefinition ByID(s) src/client/campaign/cp_base.c:3046:5: Fresh storage s not released before scope exit src/client/campaign/cp_base.c:3039:55: Fresh storage s created src/client/campaign/cp_base.c:3052:3: Fresh storage node not released before scope exit src/client/campaign/cp_base.c:3034:3: Fresh storage node created src/client/campaign/cp_base.c:2936:70: Fresh storage base (type mxml_node_t *) not released before assignment (in post loop increment): base = mxml_GetNextNode(base, bases, "base") src/client/campaign/cp_base.c:2936:7: Fresh storage base created src/client/campaign/cp_base.c:3057:15: Fresh storage bases not released before return src/client/campaign/cp_base.c:2929:2: Fresh storage bases created src/client/campaign/cp_base.c: (in function B_ItemIsStoredInBaseStorage) src/client/campaign/cp_base.c:3068:23: Operand of ! is non-boolean (int): !strcmp(obj->id, "antimatter") src/client/campaign/cp_base.c:3068:6: Left operand of || is non-boolean (qboolean): obj->virtual || !strcmp(obj->id, "antimatter") src/client/campaign/cp_base.c: (in function B_UpdateStorageAndCapacity) src/client/campaign/cp_base.c:3086:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:3087:9: Function assert expects arg 1 to be boolean gets objDef_t *: obj src/client/campaign/cp_base.c:3089:6: Test expression for if not boolean, type qboolean: obj->virtual src/client/campaign/cp_base.c:3092:6: Test expression for if not boolean, type qboolean: reset src/client/campaign/cp_base.c:3097:8: Operand of ! is non-boolean (qboolean): !B_ItemIsStoredInBaseStorage(obj) src/client/campaign/cp_base.c:3102:8: Operand of ! is non-boolean (qboolean): !ignorecap src/client/campaign/cp_base.c: (in function B_ScriptSanityCheck) src/client/campaign/cp_base.c:3138:22: Right operand of && is non-boolean (qboolean): !b->mapPart && b->visible src/client/campaign/cp_base.c:3158:7: Operand of ! is non-boolean (int): !error src/client/campaign/cp_base.c: (in function B_RemoveItemsExceedingCapacity) src/client/campaign/cp_base.c:3181:8: Operand of ! is non-boolean (qboolean): !B_ItemIsStoredInBaseStorage(obj) src/client/campaign/cp_base.c:3185:8: Operand of ! is non-boolean (int): !base->storage.numItems[i] src/client/campaign/cp_base.c:3197:9: Left operand of && is non-boolean (int): num && base->capacities[CAP_ITEMS].cur > base->capacities[CAP_ITEMS].max src/client/campaign/cp_base.c:3200:7: Value objIdx[] used before definition src/client/campaign/cp_base.c:3202:49: Null storage passed as non-null param: E_GetHiredRobot (..., 0) src/client/campaign/cp_base.c:3204:11: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_base.c:3205:4: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_base.c:3206:4: Fresh storage employee not released before scope exit src/client/campaign/cp_base.c:3202:52: Fresh storage employee created src/client/campaign/cp_base.c:3212:4: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_base.c:3214:102: Variable idx__ initialized to type int, expects size_t: (randNumber) src/client/campaign/cp_base.c:3214:190: Variable n__ initialized to type int, expects size_t: --(num) src/client/campaign/cp_base.c: (in function B_UpdateStorageCap) src/client/campaign/cp_base.c:3238:8: Operand of ! is non-boolean (qboolean): !B_ItemIsStoredInBaseStorage(obj) src/client/campaign/cp_base.c: (in function B_ManageAntimatter) src/client/campaign/cp_base.c:3261:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_base.c:3263:14: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_ANTIMATTER) src/client/campaign/cp_base.c:3263:6: Left operand of && is non-boolean (qboolean): add && !B_GetBuildingStatus(base, B_ANTIMATTER) src/client/campaign/cp_base.c:3265:4: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s does not have Antimatter Storage Facility. %i units of antimatter got removed.") src/client/campaign/cp_base.c:3264:3: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_base.c:3267:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base.c:3267:79: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base.c:3267:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base.c:3272:8: Operand of ! is non-boolean (int): !strcmp(od->id, "antimatter") src/client/campaign/cp_base.c:3279:6: Test expression for if not boolean, type qboolean: add src/client/campaign/cp_base_callbacks.c: (in function B_Destroy_AntimaterStorage_f) src/client/campaign/cp_base_callbacks.c:59:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_base_callbacks.c:63:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:59:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c:68:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:59:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c:70:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:70:6: Operands of < have incompatible types (float, double): prob < atof(Cmd_Argv(1)) src/client/campaign/cp_base_callbacks.c:71:42: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s has been destroyed by an antimatter storage breach.") src/client/campaign/cp_base_callbacks.c:71:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:71:39: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s has been destroyed by an antimatter storage breach."), base->name) src/client/campaign/cp_base_callbacks.c:71:144: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base_callbacks.c:71:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base_callbacks.c:75:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:59:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingAddToList) src/client/campaign/cp_base_callbacks.c:88:9: Function assert expects arg 1 to be boolean gets building_t *: building src/client/campaign/cp_base_callbacks.c:89:9: Function assert expects arg 1 to be boolean gets char *: building->name src/client/campaign/cp_base_callbacks.c:92:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext(building->name) src/client/campaign/cp_base_callbacks.c:93:2: Only storage building->tpl assigned to unqualified: buildingConstructionList[count] = building->tpl src/client/campaign/cp_base_callbacks.c: (in function B_SelectBase_f) src/client/campaign/cp_base_callbacks.c:108:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:117:3: Fresh storage base not released before scope exit src/client/campaign/cp_base_callbacks.c:113:54: Fresh storage base created src/client/campaign/cp_base_callbacks.c:119:16: Null storage passed as non-null param: B_SelectBase (NULL) src/client/campaign/cp_base_callbacks.c: (in function B_NextBase_f) src/client/campaign/cp_base_callbacks.c:137:2: Fresh storage base (type base_t *) not released before assignment: base = B_GetFoundedBaseByIDX(baseID) src/client/campaign/cp_base_callbacks.c:131:50: Fresh storage base created src/client/campaign/cp_base_callbacks.c:140:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:137:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_PrevBase_f) src/client/campaign/cp_base_callbacks.c:161:2: Fresh storage base (type base_t *) not released before assignment: base = B_GetFoundedBaseByIDX(baseID) src/client/campaign/cp_base_callbacks.c:150:50: Fresh storage base created src/client/campaign/cp_base_callbacks.c:164:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:161:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_SetBaseTitle_f) src/client/campaign/cp_base_callbacks.c:179:17: Passed storage baseName not completely defined (*baseName is undefined): Com_sprintf (baseName, ...) src/client/campaign/cp_base_callbacks.c:179:69: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base #%i") src/client/campaign/cp_base_callbacks.c:179:5: Return value (type qboolean) ignored: Com_sprintf(base... src/client/campaign/cp_base_callbacks.c:180:33: Right operand of && is non-boolean (int): j <= ccs.numBases && strcmp(baseName, ccs.bases[j++].name) src/client/campaign/cp_base_callbacks.c:183:21: Passed storage baseName not completely defined (*baseName is undefined): Q_strncpyzDebug (baseName, ...) src/client/campaign/cp_base_callbacks.c:183:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Home") src/client/campaign/cp_base_callbacks.c:185:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_bas... src/client/campaign/cp_base_callbacks.c:187:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:187:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've reached the base limit.") src/client/campaign/cp_base_callbacks.c:187:104: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base_callbacks.c:187:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base_callbacks.c: (in function B_BuildBase_f) src/client/campaign/cp_base_callbacks.c:203:10: Operand of ! is non-boolean (qboolean): !base->founded src/client/campaign/cp_base_callbacks.c:208:4: Clauses exit with baseName referencing unqualified static storage in true branch, local storage in continuation src/client/campaign/cp_base_callbacks.c:208:4: Storage baseName becomes static src/client/campaign/cp_base_callbacks.c:220:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A new base has been built: %s (nation: %s)") src/client/campaign/cp_base_callbacks.c:220:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_base_callbacks.c:222:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A new base has been built: %s") src/client/campaign/cp_base_callbacks.c:222:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_base_callbacks.c:223:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base built") src/client/campaign/cp_base_callbacks.c:223:87: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_base_callbacks.c:223:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_base_callbacks.c:231:7: Test expression for if not boolean, type int: r_geoscape_overlay->integer & (1 << 2) src/client/campaign/cp_base_callbacks.c:236:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough credits to set up a new base.") src/client/campaign/cp_base_callbacks.c:236:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:237:16: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:239:2: Fresh storage nation not released before return src/client/campaign/cp_base_callbacks.c:218:3: Fresh storage nation created src/client/campaign/cp_base_callbacks.c:239:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:199:43: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_ChangeBaseName_f) src/client/campaign/cp_base_callbacks.c:254:32: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_base_title") src/client/campaign/cp_base_callbacks.c:255:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:248:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_ResetBuildingCurrent_f) src/client/campaign/cp_base_callbacks.c:267:28: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:270:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:264:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BaseInit_f) src/client/campaign/cp_base_callbacks.c:288:40: Function Cvar_SetValue expects arg 2 to be float gets int: base->numAircraftInBase src/client/campaign/cp_base_callbacks.c:291:6: Test expression for if not boolean, type qboolean: AIR_AircraftAllowed(base) src/client/campaign/cp_base_callbacks.c:292:7: Test expression for if not boolean, type int: base->numAircraftInBase src/client/campaign/cp_base_callbacks.c:300:6: Test expression for if not boolean, type qboolean: BS_BuySellAllowed(base) src/client/campaign/cp_base_callbacks.c:303:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:310:6: Test expression for if not boolean, type qboolean: RS_ResearchAllowed(base) src/client/campaign/cp_base_callbacks.c:313:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:315:6: Test expression for if not boolean, type qboolean: PR_ProductionAllowed(base) src/client/campaign/cp_base_callbacks.c:318:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:320:6: Test expression for if not boolean, type qboolean: E_HireAllowed(base) src/client/campaign/cp_base_callbacks.c:323:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:325:6: Test expression for if not boolean, type qboolean: AC_ContainmentAllowed(base) src/client/campaign/cp_base_callbacks.c:328:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:330:6: Test expression for if not boolean, type qboolean: HOS_HospitalAllowed(base) src/client/campaign/cp_base_callbacks.c:333:55: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No %s functional in base.") src/client/campaign/cp_base_callbacks.c:334:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:280:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingOnDestroy_f) src/client/campaign/cp_base_callbacks.c:353:22: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_base_callbacks.c:359:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:377:27: Null storage passed as non-null param: AL_RemoveAliens (..., NULL, ...) src/client/campaign/cp_base_callbacks.c:396:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:366:2: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingInit) src/client/campaign/cp_base_callbacks.c:418:7: Test expression for if not boolean, type qboolean: tpl->visible src/client/campaign/cp_base_callbacks.c:428:8: Test expression for if not boolean, type qboolean: RS_IsResearched_ptr(tpl->tech) src/client/campaign/cp_base_callbacks.c:429:25: Null storage buildingList derivable from parameter B_BuildingAddToList (&buildingList, ...) src/client/campaign/cp_base_callbacks.c:405:31: Storage buildingList becomes null src/client/campaign/cp_base_callbacks.c:441:30: Null storage buildingList passed as non-null param: LIST_Count (buildingList) src/client/campaign/cp_base_callbacks.c:405:31: Storage buildingList becomes null src/client/campaign/cp_base_callbacks.c: (in function B_BuildingInit_f) src/client/campaign/cp_base_callbacks.c:456:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:450:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingInfoClick_f) src/client/campaign/cp_base_callbacks.c:470:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:463:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingClick_f) src/client/campaign/cp_base_callbacks.c:486:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:479:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:490:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:496:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:479:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:501:2: Implicitly only storage base->buildingCurrent (type building_t *) not released before assignment (building aliases buildingConstructionList[]): base->buildingCurrent = building src/client/campaign/cp_base_callbacks.c:505:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:479:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingDestroy_f) src/client/campaign/cp_base_callbacks.c:519:2: Return value (type qboolean) ignored: B_BuildingDestro... src/client/campaign/cp_base_callbacks.c:523:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:514:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_BuildingStatus_f) src/client/campaign/cp_base_callbacks.c:538:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:531:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_AssembleMap_f) src/client/campaign/cp_base_callbacks.c:555:11: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:548:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:557:3: Fresh storage base (type base_t *) not released before assignment: base = B_GetBaseByIDX(baseID) src/client/campaign/cp_base_callbacks.c:548:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:560:2: Return value (type qboolean) ignored: B_AssembleMap(base) src/client/campaign/cp_base_callbacks.c:561:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:548:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_CheckBuildingStatusForMenu_f) src/client/campaign/cp_base_callbacks.c:576:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:583:10: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:587:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base is under attack, you can't access this building !") src/client/campaign/cp_base_callbacks.c:587:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:588:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:589:10: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:589:10: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:589:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:596:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You need at least one Hangar (and its dependencies) to use aircraft.") src/client/campaign/cp_base_callbacks.c:596:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:597:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:598:10: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:598:10: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:598:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:605:88: Passed storage &numUnderConstruction not completely defined: B_CheckBuildingTypeStatus (..., &numUnderConstruction) src/client/campaign/cp_base_callbacks.c:605:3: Return value (type qboolean) ignored: B_CheckBuildingT... src/client/campaign/cp_base_callbacks.c:616:5: Function ngettext expects arg 3 to be unsigned long int gets int: minDay src/client/campaign/cp_base_callbacks.c:615:46: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("Construction of building will be over in %i day.\nPlease wait to enter.", "Construction of building will be over in %i days.\nPlease wait to enter.", minDay) src/client/campaign/cp_base_callbacks.c:615:4: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:617:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:618:11: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:618:11: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:618:11: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:621:8: Operand of ! is non-boolean (qboolean): !B_CheckBuildingDependencesStatus(base, building) src/client/campaign/cp_base_callbacks.c:623:11: Function assert expects arg 1 to be boolean gets struct building_s *: building->dependsBuilding src/client/campaign/cp_base_callbacks.c:626:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You need a building %s to make building %s functional.") src/client/campaign/cp_base_callbacks.c:626:5: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:627:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:628:12: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:628:12: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:628:12: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:636:49: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Building %s is not finished yet, and is needed to use building %s.") src/client/campaign/cp_base_callbacks.c:636:7: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:638:16: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:639:14: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:639:14: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:639:14: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:643:47: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Make sure that the dependencies of building %s (%s) are operational, so that building %s may be used.") src/client/campaign/cp_base_callbacks.c:643:5: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:645:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:646:12: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:646:12: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:646:12: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:651:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You need to recruit %s to use building %s.") src/client/campaign/cp_base_callbacks.c:651:4: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:653:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:654:11: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:654:11: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:654:11: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:656:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You need to recruit %s to use building %s.") src/client/campaign/cp_base_callbacks.c:656:4: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:658:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:659:11: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:659:11: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:659:11: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:662:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Build a %s first.") src/client/campaign/cp_base_callbacks.c:662:3: Return value (type qboolean) ignored: Com_sprintf(popu... src/client/campaign/cp_base_callbacks.c:663:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_base_callbacks.c:664:10: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:664:10: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:664:10: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c:666:2: Fresh storage buildingID not released before return src/client/campaign/cp_base_callbacks.c:579:2: Fresh storage buildingID created src/client/campaign/cp_base_callbacks.c:666:2: Fresh storage building not released before return src/client/campaign/cp_base_callbacks.c:580:2: Fresh storage building created src/client/campaign/cp_base_callbacks.c:666:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:572:44: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function BaseSummary_Init) src/client/campaign/cp_base_callbacks.c:688:23: Assignment of int to char: textInfoBuffer[0] = 0 src/client/campaign/cp_base_callbacks.c:690:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BAircraft\n") src/client/campaign/cp_base_callbacks.c:692:28: New fresh storage (type char *) passed as implicitly temp (not released): va("\t%s:\t\t\t\t%i\n", AIR_GetAircraftString(i), AIR_CountTypeInBase(base, i)) src/client/campaign/cp_base_callbacks.c:697:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BEmployees\n") src/client/campaign/cp_base_callbacks.c:701:28: New fresh storage (type char *) passed as implicitly temp (not released): va("\t%s:\t\t\t\t%i\n", E_GetEmployeeString(i), tmp) src/client/campaign/cp_base_callbacks.c:706:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BAliens\n") src/client/campaign/cp_base_callbacks.c:708:8: Operand of ! is non-boolean (int): !containment[i].amountAlive src/client/campaign/cp_base_callbacks.c:708:39: Operand of ! is non-boolean (int): !containment[i].amountDead src/client/campaign/cp_base_callbacks.c:710:28: New fresh storage (type char *) passed as implicitly temp (not released): va("\t%s:\t\t\t\t%i/%i\n", gettext(containment[i].teamDef->name), containment[i].amountAlive, containment[i].amountDead) src/client/campaign/cp_base_callbacks.c:718:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BBuildings\t\t\t\t\t\tCapacity\t\t\t\tAmount\n") src/client/campaign/cp_base_callbacks.c:723:8: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(b->tech) src/client/campaign/cp_base_callbacks.c:730:8: Operand of ! is non-boolean (int): !B_GetNumberOfBuildingsInBaseByBuildingTy pe(base, b->buildingType) src/client/campaign/cp_base_callbacks.c:734:7: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, b->buildingType) src/client/campaign/cp_base_callbacks.c:735:30: New fresh storage (type char *) passed as implicitly temp (not released): va("%s:\t\t\t\t\t\t%i/%i", gettext(b->name), base->capacities[cap].cur, base->capacities[cap].max) src/client/campaign/cp_base_callbacks.c:742:110: Function ngettext expects arg 3 to be unsigned long int gets int: daysLeft src/client/campaign/cp_base_callbacks.c:742:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%s:\t\t\t\t\t\t%i %s", gettext(b->name), daysLeft, ngettext("day", "days", daysLeft)) src/client/campaign/cp_base_callbacks.c:744:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%s:\t\t\t\t\t\t%i/%i", gettext(b->name), base->capacities[cap].cur, 0) src/client/campaign/cp_base_callbacks.c:747:29: New fresh storage (type char *) passed as implicitly temp (not released): va("\t\t\t\t%i\n", B_GetNumberOfBuildingsInBaseByBuildingType(base, b->buildingType)) src/client/campaign/cp_base_callbacks.c:752:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BProduction\t\t\t\t\t\tQuantity\t\t\t\tPercent\n") src/client/campaign/cp_base_callbacks.c:772:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\t\t\t\t\t\t%d\t\t\t\t%.2f%%\n") src/client/campaign/cp_base_callbacks.c:772:78: Variable name used before definition src/client/campaign/cp_base_callbacks.c:772:30: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s\t\t\t\t\t\t%d\t\t\t\t%.2f%%\n"), name, production->amount, production->percentDone * 100) src/client/campaign/cp_base_callbacks.c:774:4: Fresh storage name not released before scope exit src/client/campaign/cp_base_callbacks.c:767:5: Fresh storage name created src/client/campaign/cp_base_callbacks.c:776:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Nothing\n") src/client/campaign/cp_base_callbacks.c:781:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("^BResearch\t\t\t\t\t\tScientists\t\t\t\tPercent\n") src/client/campaign/cp_base_callbacks.c:786:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\t\t\t\t\t\t%d\t\t\t\t%1.2f%%\n") src/client/campaign/cp_base_callbacks.c:786:30: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s\t\t\t\t\t\t%d\t\t\t\t%1.2f%%\n"), gettext(tech->name), tech->scientists, (1 - tech->time / tech->overallTime) * 100) src/client/campaign/cp_base_callbacks.c:791:7: Operand of ! is non-boolean (int): !tmp src/client/campaign/cp_base_callbacks.c:792:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Nothing\n") src/client/campaign/cp_base_callbacks.c:796:2: Fresh storage tech not released before return src/client/campaign/cp_base_callbacks.c:784:3: Fresh storage tech created src/client/campaign/cp_base_callbacks.c: (in function BaseSummary_SelectBase_f) src/client/campaign/cp_base_callbacks.c:806:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_base_callbacks.c:821:2: Fresh storage base not released before return src/client/campaign/cp_base_callbacks.c:814:3: Fresh storage base created src/client/campaign/cp_base_callbacks.c: (in function B_MakeBaseMapShot_f) src/client/campaign/cp_base_callbacks.c:839:25: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_base_callbacks.c:839:2: Return value (type struct menuNode_s *) ignored: MN_PushWindow("n... src/client/campaign/cp_base_callbacks.c: (in function B_InitCallbacks) src/client/campaign/cp_base_callbacks.c:850:51: Null storage passed as non-null param: Cvar_Get (..., NULL) src/client/campaign/cp_base_callbacks.c:850:2: Only storage assigned to unqualified static: mn_base_title = Cvar_Get("mn_base_title", "", 0, NULL) src/client/campaign/cp_base_callbacks.c:851:2: Only storage assigned to unqualified static: cl_start_buildings = Cvar_Get("cl_start_buildings", "1", 1, "Start with initial buildings in your first base") src/client/campaign/cp_base_callbacks.c:852:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i c") src/client/campaign/cp_base_callbacks.c:852:27: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i c"), ccs.curCampaign->basecost) src/client/campaign/cp_base_callbacks.c:852:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_bas... src/client/campaign/cp_base_callbacks.c:853:33: Function Cvar_SetValue expects arg 2 to be float gets int: ccs.numBases src/client/campaign/cp_base_callbacks.c:860:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c:861:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c:863:44: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c:865:52: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c:866:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c:872:69: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_base_callbacks.c: (in function B_ShutdownCallbacks) src/client/campaign/cp_base_callbacks.c:898:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_base_callbacks.c:899:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_base_callbacks.c:900:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_base_callbacks.c:901:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_GetItemTypeFromID) src/client/campaign/cp_basedefence_callbacks.c:40:9: Function assert expects arg 1 to be boolean gets char *: type src/client/campaign/cp_basedefence_callbacks.c:41:7: Operand of ! is non-boolean (int): !strcmp(type, "missile") src/client/campaign/cp_basedefence_callbacks.c:43:12: Operand of ! is non-boolean (int): !strcmp(type, "laser") src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_GetIDFromItemType) src/client/campaign/cp_basedefence_callbacks.c:57:10: Observer storage returned without qualification: "missile" src/client/campaign/cp_basedefence_callbacks.c:57:10: Storage becomes observer src/client/campaign/cp_basedefence_callbacks.c:59:10: Observer storage returned without qualification: "laser" src/client/campaign/cp_basedefence_callbacks.c:59:10: Storage becomes observer src/client/campaign/cp_basedefence_callbacks.c:61:10: Observer storage returned without qualification: "unknown" src/client/campaign/cp_basedefence_callbacks.c:61:10: Storage becomes observer src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_UpdateAircraftItemList) src/client/campaign/cp_basedefence_callbacks.c:75:9: Function assert expects arg 1 to be boolean gets aircraftSlot_t *: slot src/client/campaign/cp_basedefence_callbacks.c:82:7: Test expression for if not boolean, type qboolean: AIM_SelectableCraftItem(slot, *list) src/client/campaign/cp_basedefence_callbacks.c:83:19: Null storage itemList derivable from parameter LIST_AddString (&itemList, ...) src/client/campaign/cp_basedefence_callbacks.c:72:27: Storage itemList becomes null src/client/campaign/cp_basedefence_callbacks.c:83:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext((*list)->name) src/client/campaign/cp_basedefence_callbacks.c:88:39: Null storage itemList passed as non-null param: MN_RegisterLinkedListText (..., itemList) src/client/campaign/cp_basedefence_callbacks.c:72:27: Storage itemList becomes null src/client/campaign/cp_basedefence_callbacks.c:89:2: Fresh storage list not released before return src/client/campaign/cp_basedefence_callbacks.c:78:2: Fresh storage list created src/client/campaign/cp_basedefence_callbacks.c:70:90: Parameter tech not used src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_SelectItem_f) src/client/campaign/cp_basedefence_callbacks.c:106:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:98:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:106:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:99:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:109:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:110:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_basedefence_callbacks.c:111:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(3) src/client/campaign/cp_basedefence_callbacks.c:115:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:98:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:115:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:99:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:130:10: Left operand of && is non-boolean (technology_t *): *list && i <= itemIDX src/client/campaign/cp_basedefence_callbacks.c:131:8: Test expression for if not boolean, type qboolean: AIM_SelectableCraftItem(slot, *list) src/client/campaign/cp_basedefence_callbacks.c:138:30: New fresh storage (type objDef_t *) passed as implicitly temp (not released): (itemTech) ? INVSH_GetItemByIDSilent(itemTech->provides) : NULL src/client/campaign/cp_basedefence_callbacks.c:139:3: Fresh storage list not released before scope exit src/client/campaign/cp_basedefence_callbacks.c:129:3: Fresh storage list created src/client/campaign/cp_basedefence_callbacks.c:142:2: Fresh storage slot not released before return src/client/campaign/cp_basedefence_callbacks.c:128:3: Fresh storage slot created src/client/campaign/cp_basedefence_callbacks.c:142:2: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:98:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:142:2: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:99:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_BaseDefenceMenuUpdate_f) src/client/campaign/cp_basedefence_callbacks.c:157:57: New fresh storage (type technology_t *) passed as implicitly temp (not released): RS_GetTechByID("rs_building_missile") src/client/campaign/cp_basedefence_callbacks.c:158:55: New fresh storage (type technology_t *) passed as implicitly temp (not released): RS_GetTechByID("rs_building_laser") src/client/campaign/cp_basedefence_callbacks.c:163:20: Passed storage type not completely defined (*type is undefined): Q_strncpyzDebug (type, ...) src/client/campaign/cp_basedefence_callbacks.c:163:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:172:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:152:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:172:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:153:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:175:6: Operands of && are non-booleans (base_t *, installation_t *): base && installation src/client/campaign/cp_basedefence_callbacks.c:177:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:152:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:177:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:153:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:180:29: New fresh storage (type char *) passed as implicitly temp (not released): gettext("None") src/client/campaign/cp_basedefence_callbacks.c:180:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_basedefence_callbacks.c:184:7: Test expression for if not boolean, type int: installation->numBatteries src/client/campaign/cp_basedefence_callbacks.c:185:22: New fresh storage (type char *) passed as implicitly temp (not released): va("setautofire %i", installation->batteries[0].autofire) src/client/campaign/cp_basedefence_callbacks.c:188:32: New fresh storage (type char *) passed as implicitly temp (not released): UFO_AircraftToIDOnGeoscape(installation->batteries[0].target) src/client/campaign/cp_basedefence_callbacks.c:188:5: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_basedefence_callbacks.c:193:7: Test expression for if not boolean, type int: base->numBatteries src/client/campaign/cp_basedefence_callbacks.c:196:32: New fresh storage (type char *) passed as implicitly temp (not released): UFO_AircraftToIDOnGeoscape(base->batteries[0].target) src/client/campaign/cp_basedefence_callbacks.c:196:5: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_basedefence_callbacks.c:198:7: Test expression for if not boolean, type int: base->numLasers src/client/campaign/cp_basedefence_callbacks.c:200:8: Left operand of && is non-boolean (aircraft_t *): base->lasers[0].target && !base->batteries[0].target src/client/campaign/cp_basedefence_callbacks.c:201:32: New fresh storage (type char *) passed as implicitly temp (not released): UFO_AircraftToIDOnGeoscape(base->lasers[0].target) src/client/campaign/cp_basedefence_callbacks.c:201:5: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_basedefence_callbacks.c:203:7: Operands of || are non-boolean (int): base->numBatteries || base->numLasers src/client/campaign/cp_basedefence_callbacks.c:204:22: New fresh storage (type char *) passed as implicitly temp (not released): va("setautofire %i", autofire) src/client/campaign/cp_basedefence_callbacks.c:210:6: Operand of ! is non-boolean (qboolean): !missileResearched src/client/campaign/cp_basedefence_callbacks.c:210:35: Left operand of && is non-boolean (base_t *): base && base->numBatteries > 0 src/client/campaign/cp_basedefence_callbacks.c:211:6: Operand of ! is non-boolean (qboolean): !laserResearched src/client/campaign/cp_basedefence_callbacks.c:211:33: Left operand of && is non-boolean (base_t *): base && base->numLasers > 0 src/client/campaign/cp_basedefence_callbacks.c:209:15: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:209:3: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:215:6: Operand of ! is non-boolean (qboolean): !missileResearched src/client/campaign/cp_basedefence_callbacks.c:215:35: Left operand of && is non-boolean (installation_t *): installation && installation->installationStatus == INSTALLATION_WORKING src/client/campaign/cp_basedefence_callbacks.c:214:15: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:214:3: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:219:7: Operand of ! is non-boolean (int): !strcmp(type, "missile") src/client/campaign/cp_basedefence_callbacks.c:221:12: Operand of ! is non-boolean (int): !strcmp(type, "laser") src/client/campaign/cp_basedefence_callbacks.c:245:21: Passed storage defBuffer not completely defined (*defBuffer is undefined): Q_strncpyzDebug (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:245:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No defence of this type in this installation") src/client/campaign/cp_basedefence_callbacks.c:246:19: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:248:66: Null storage passed as non-null param: BDEF_UpdateAircraftItemList (..., NULL) src/client/campaign/cp_basedefence_callbacks.c:251:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:251:73: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i: empty") src/client/campaign/cp_basedefence_callbacks.c:251:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:252:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:256:11: Operand of ! is non-boolean (int): !slot->installationTime src/client/campaign/cp_basedefence_callbacks.c:257:24: Passed storage status not completely defined (*status is undefined): Q_strncpyzDebug (status, ...) src/client/campaign/cp_basedefence_callbacks.c:257:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Working") src/client/campaign/cp_basedefence_callbacks.c:259:24: Passed storage status not completely defined (*status is undefined): Q_strncpyzDebug (status, ...) src/client/campaign/cp_basedefence_callbacks.c:259:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installing") src/client/campaign/cp_basedefence_callbacks.c:261:24: Passed storage status not completely defined (*status is undefined): Q_strncpyzDebug (status, ...) src/client/campaign/cp_basedefence_callbacks.c:261:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Replacing") src/client/campaign/cp_basedefence_callbacks.c:263:24: Passed storage status not completely defined (*status is undefined): Q_strncpyzDebug (status, ...) src/client/campaign/cp_basedefence_callbacks.c:263:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Removing") src/client/campaign/cp_basedefence_callbacks.c:265:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:265:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:266:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:272:11: Arrow access from possibly null pointer base: base->numBatteries src/client/campaign/cp_basedefence_callbacks.c:152:17: Storage base may become null src/client/campaign/cp_basedefence_callbacks.c:273:21: Passed storage defBuffer not completely defined (*defBuffer is undefined): Q_strncpyzDebug (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:273:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No defence of this type in this base") src/client/campaign/cp_basedefence_callbacks.c:274:19: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:276:58: Null storage passed as non-null param: BDEF_UpdateAircraftItemList (..., NULL) src/client/campaign/cp_basedefence_callbacks.c:279:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:279:73: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i: empty") src/client/campaign/cp_basedefence_callbacks.c:279:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:280:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:284:11: Operand of ! is non-boolean (int): !slot->installationTime src/client/campaign/cp_basedefence_callbacks.c:293:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:293:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:294:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:295:6: Fresh storage status not released before scope exit src/client/campaign/cp_basedefence_callbacks.c:291:7: Fresh storage status created src/client/campaign/cp_basedefence_callbacks.c:300:11: Arrow access from possibly null pointer base: base->numLasers src/client/campaign/cp_basedefence_callbacks.c:152:17: Storage base may become null src/client/campaign/cp_basedefence_callbacks.c:301:21: Passed storage defBuffer not completely defined (*defBuffer is undefined): Q_strncpyzDebug (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:301:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No defence of this type in this base") src/client/campaign/cp_basedefence_callbacks.c:302:19: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:304:55: Null storage passed as non-null param: BDEF_UpdateAircraftItemList (..., NULL) src/client/campaign/cp_basedefence_callbacks.c:307:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:307:73: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i: empty") src/client/campaign/cp_basedefence_callbacks.c:307:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:308:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:312:11: Operand of ! is non-boolean (int): !slot->installationTime src/client/campaign/cp_basedefence_callbacks.c:321:18: Passed storage defBuffer not completely defined (*defBuffer is undefined): Com_sprintf (defBuffer, ...) src/client/campaign/cp_basedefence_callbacks.c:321:6: Return value (type qboolean) ignored: Com_sprintf(defB... src/client/campaign/cp_basedefence_callbacks.c:322:21: Null storage slotList derivable from parameter LIST_AddString (&slotList, ...) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c:323:6: Fresh storage status not released before scope exit src/client/campaign/cp_basedefence_callbacks.c:319:7: Fresh storage status created src/client/campaign/cp_basedefence_callbacks.c:330:51: Null storage slotList passed as non-null param: MN_RegisterLinkedListText (..., slotList) src/client/campaign/cp_basedefence_callbacks.c:156:27: Storage slotList becomes null src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_AddItem_f) src/client/campaign/cp_basedefence_callbacks.c:347:35: Operands of && are non-booleans (base_t *, installation_t *): base && installation src/client/campaign/cp_basedefence_callbacks.c:349:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:349:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:354:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:354:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:357:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:358:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_basedefence_callbacks.c:359:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(3) src/client/campaign/cp_basedefence_callbacks.c:363:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:363:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:370:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:370:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:375:7: Test expression for if not boolean, type qboolean: AIM_SelectableCraftItem(slot, *list) src/client/campaign/cp_basedefence_callbacks.c:383:10: Fresh storage slot not released before return src/client/campaign/cp_basedefence_callbacks.c:366:2: Fresh storage slot created src/client/campaign/cp_basedefence_callbacks.c:383:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:383:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:383:10: Fresh storage list not released before return src/client/campaign/cp_basedefence_callbacks.c:373:2: Fresh storage list created src/client/campaign/cp_basedefence_callbacks.c:388:23: Left operand of && is non-boolean (objDef_t *): slot->item && slot->installationTime == slot->item->craftitem.installationTi me src/client/campaign/cp_basedefence_callbacks.c:390:4: Return value (type qboolean) ignored: AII_AddItemToSlo... src/client/campaign/cp_basedefence_callbacks.c:397:16: Operand of ! is non-boolean (int): !slot->installationTime src/client/campaign/cp_basedefence_callbacks.c:403:4: Return value (type qboolean) ignored: AII_AddItemToSlo... src/client/campaign/cp_basedefence_callbacks.c:409:3: Return value (type qboolean) ignored: AII_AddItemToSlo... src/client/campaign/cp_basedefence_callbacks.c:414:20: New fresh storage (type char *) passed as implicitly temp (not released): va("basedef_updatemenu %s", BDEF_GetIDFromItemType(slot->type)) src/client/campaign/cp_basedefence_callbacks.c:415:2: Fresh storage slot not released before return src/client/campaign/cp_basedefence_callbacks.c:366:2: Fresh storage slot created src/client/campaign/cp_basedefence_callbacks.c:415:2: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:339:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:415:2: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:340:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:415:2: Fresh storage list not released before return src/client/campaign/cp_basedefence_callbacks.c:373:2: Fresh storage list created src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_RemoveItem_f) src/client/campaign/cp_basedefence_callbacks.c:428:35: Operands of && are non-booleans (base_t *, installation_t *): base && installation src/client/campaign/cp_basedefence_callbacks.c:430:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:430:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:435:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:435:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:438:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:439:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_basedefence_callbacks.c:443:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:443:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:450:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:450:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:454:10: Fresh storage slot not released before return src/client/campaign/cp_basedefence_callbacks.c:446:2: Fresh storage slot created src/client/campaign/cp_basedefence_callbacks.c:454:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:454:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:474:20: New fresh storage (type char *) passed as implicitly temp (not released): va("basedef_updatemenu %s", BDEF_GetIDFromItemType(slot->type)) src/client/campaign/cp_basedefence_callbacks.c:475:2: Fresh storage slot not released before return src/client/campaign/cp_basedefence_callbacks.c:446:2: Fresh storage slot created src/client/campaign/cp_basedefence_callbacks.c:475:2: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:423:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:475:2: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:424:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_RemoveBattery_f) src/client/campaign/cp_basedefence_callbacks.c:495:20: Passed storage type not completely defined (*type is undefined): Q_strncpyzDebug (type, ...) src/client/campaign/cp_basedefence_callbacks.c:495:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:496:8: Operand of ! is non-boolean (int): !strcmp(type, "missile") src/client/campaign/cp_basedefence_callbacks.c:498:13: Operand of ! is non-boolean (int): !strcmp(type, "laser") src/client/campaign/cp_basedefence_callbacks.c:500:13: Operand of ! is non-boolean (int): !strcmp(type, "random") src/client/campaign/cp_basedefence_callbacks.c:504:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_basedefence_callbacks.c:508:6: Variable baseIdx used before definition src/client/campaign/cp_basedefence_callbacks.c:519:6: Variable basedefType used before definition src/client/campaign/cp_basedefence_callbacks.c:523:11: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:513:2: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:550:11: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:513:2: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:561:11: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:513:2: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:566:11: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:513:2: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:573:2: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:513:2: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_AddBattery_f) src/client/campaign/cp_basedefence_callbacks.c:588:20: Passed storage type not completely defined (*type is undefined): Q_strncpyzDebug (type, ...) src/client/campaign/cp_basedefence_callbacks.c:588:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:589:8: Operand of ! is non-boolean (int): !strcmp(type, "missile") src/client/campaign/cp_basedefence_callbacks.c:591:13: Operand of ! is non-boolean (int): !strcmp(type, "laser") src/client/campaign/cp_basedefence_callbacks.c:593:13: Operand of ! is non-boolean (int): !strcmp(type, "random") src/client/campaign/cp_basedefence_callbacks.c:597:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_basedefence_callbacks.c:601:6: Variable baseIdx used before definition src/client/campaign/cp_basedefence_callbacks.c:607:6: Variable basedefType used before definition src/client/campaign/cp_basedefence_callbacks.c:612:31: New fresh storage (type base_t *) passed as implicitly temp (not released): B_GetBaseByIDX(baseIdx) src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_ChangeAutoFire) src/client/campaign/cp_basedefence_callbacks.c:626:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:621:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:626:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:622:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:627:6: Operands of && are non-booleans (base_t *, installation_t *): base && installation src/client/campaign/cp_basedefence_callbacks.c:628:10: Fresh storage installation not released before return src/client/campaign/cp_basedefence_callbacks.c:621:70: Fresh storage installation created src/client/campaign/cp_basedefence_callbacks.c:628:10: Fresh storage base not released before return src/client/campaign/cp_basedefence_callbacks.c:622:44: Fresh storage base created src/client/campaign/cp_basedefence_callbacks.c:634:39: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:636:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c:639:47: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_basedefence_callbacks.c: (in function BDEF_InitCallbacks) src/client/campaign/cp_basedefence_callbacks.c:647:58: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_hospital.c: (in function HOS_HealCharacter) src/client/campaign/cp_hospital.c:47:6: Test expression for if not boolean, type qboolean: hospital src/client/campaign/cp_hospital.c:48:3: Assignment of int to float: healing = (1 + (chr->score.skills[ABILITY_POWER]) * 15 / 100) src/client/campaign/cp_hospital.c:50:9: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/campaign/cp_hospital.c: (in function HOS_HospitalRun) src/client/campaign/cp_hospital.c:79:33: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_hospital.c:82:8: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(employee->baseHired, B_HOSPITAL) src/client/campaign/cp_hospital.c:83:5: Return value (type qboolean) ignored: HOS_HealCharacte... src/client/campaign/cp_hospital.c:85:5: Return value (type qboolean) ignored: HOS_HealCharacte... src/client/campaign/cp_hospital.c: (in function HOS_HealEmployee) src/client/campaign/cp_hospital.c:98:9: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_hospital.c: (in function HOS_HealAll) src/client/campaign/cp_hospital.c:111:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_hospital.c:115:8: Test expression for if not boolean, type qboolean: E_IsInBase(&ccs.employees[type][i], base) src/client/campaign/cp_hospital.c:116:5: Return value (type qboolean) ignored: HOS_HealEmployee... src/client/campaign/cp_hospital.c: (in function HOS_HealAll_f) src/client/campaign/cp_hospital.c:138:9: Operand of ! is non-boolean (qboolean): !E_IsInBase(employee, base) src/client/campaign/cp_hospital.c:142:2: Fresh storage base not released before return src/client/campaign/cp_hospital.c:129:44: Fresh storage base created src/client/campaign/cp_hospital.c: (in function HOS_HurtAll_f) src/client/campaign/cp_hospital.c:157:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_hospital.c:165:9: Operand of ! is non-boolean (qboolean): !E_IsInBase(employee, base) src/client/campaign/cp_hospital.c:169:2: Fresh storage base not released before return src/client/campaign/cp_hospital.c:151:44: Fresh storage base created src/client/campaign/cp_hospital.c: (in function HOS_Save) src/client/campaign/cp_hospital.c:191:31: Parameter sb not used src/client/campaign/cp_hospital.c:191:41: Parameter data not used src/client/campaign/cp_hospital.c: (in function HOS_SaveXML) src/client/campaign/cp_hospital.c:201:36: Parameter p not used src/client/campaign/cp_hospital.c: (in function HOS_Load) src/client/campaign/cp_hospital.c:212:31: Parameter sb not used src/client/campaign/cp_hospital.c:212:41: Parameter data not used src/client/campaign/cp_hospital.c: (in function HOS_LoadXML) src/client/campaign/cp_hospital.c:221:36: Parameter p not used src/client/campaign/cp_hospital.c: (in function HOS_HospitalAllowed) src/client/campaign/cp_hospital.c:233:6: Right operand of && is non-boolean (qboolean): base->baseStatus != BASE_UNDER_ATTACK && B_GetBuildingStatus(base, B_HOSPITAL) src/client/campaign/cp_hospital_callbacks.c:35:48: Static currentEmployeeInHospital initialized to null value: currentEmployeeInHospital = NULL src/client/campaign/cp_hospital_callbacks.c:35:48: Static currentEmployeeInHospital initialized to null value: employee_t * currentEmployeeInHospital = NULL = NULL src/client/campaign/cp_hospital_callbacks.c: (in function HOS_UpdateMenu) src/client/campaign/cp_hospital_callbacks.c:71:9: Operand of ! is non-boolean (qboolean): !E_IsInBase(employee, base) src/client/campaign/cp_hospital_callbacks.c:74:8: Test expression for if not boolean, type qboolean: E_IsAwayFromBase(employee) src/client/campaign/cp_hospital_callbacks.c:82:22: Passed storage name not completely defined (*name is undefined): Q_strncpyzDebug (name, ...) src/client/campaign/cp_hospital_callbacks.c:86:23: Passed storage rank not completely defined (*rank is undefined): Q_strncpyzDebug (rank, ...) src/client/campaign/cp_hospital_callbacks.c:86:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext(rankPtr->name) src/client/campaign/cp_hospital_callbacks.c:87:6: Fresh storage rankPtr not released before scope exit src/client/campaign/cp_hospital_callbacks.c:85:66: Fresh storage rankPtr created src/client/campaign/cp_hospital_callbacks.c:88:23: Passed storage rank not completely defined (*rank is undefined): Q_strncpyzDebug (rank, ...) src/client/campaign/cp_hospital_callbacks.c:88:30: New fresh storage (type char *) passed as implicitly temp (not released): E_GetEmployeeString(employee->type) src/client/campaign/cp_hospital_callbacks.c:100:14: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_item%i", entry) src/client/campaign/cp_hospital_callbacks.c:100:5: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:102:14: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_rank%i", entry) src/client/campaign/cp_hospital_callbacks.c:102:5: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:104:14: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_hp%i", entry) src/client/campaign/cp_hospital_callbacks.c:104:40: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", employee->chr.HP) src/client/campaign/cp_hospital_callbacks.c:104:5: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:105:14: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_hpmax%i", entry) src/client/campaign/cp_hospital_callbacks.c:105:43: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", employee->chr.maxHP) src/client/campaign/cp_hospital_callbacks.c:105:5: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:116:12: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_item%i", entry) src/client/campaign/cp_hospital_callbacks.c:116:3: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:117:12: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_rank%i", entry) src/client/campaign/cp_hospital_callbacks.c:117:3: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:118:12: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_hp%i", entry) src/client/campaign/cp_hospital_callbacks.c:118:3: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:119:12: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_hos_hpmax%i", entry) src/client/campaign/cp_hospital_callbacks.c:119:3: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_hospital_callbacks.c:122:2: Fresh storage base not released before return src/client/campaign/cp_hospital_callbacks.c:59:44: Fresh storage base created src/client/campaign/cp_hospital_callbacks.c: (in function HOS_Init_f) src/client/campaign/cp_hospital_callbacks.c:135:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_HOSPITAL) src/client/campaign/cp_hospital_callbacks.c:137:10: Fresh storage base not released before return src/client/campaign/cp_hospital_callbacks.c:130:44: Fresh storage base created src/client/campaign/cp_hospital_callbacks.c:144:2: Fresh storage base not released before return src/client/campaign/cp_hospital_callbacks.c:130:44: Fresh storage base created src/client/campaign/cp_hospital_callbacks.c: (in function HOS_ListClick_f) src/client/campaign/cp_hospital_callbacks.c:178:10: Function returns with non-null global currentEmployeeInHospital referencing null storage src/client/campaign/cp_hospital_callbacks.c:177:31: Storage currentEmployeeInHospital becomes null src/client/campaign/cp_hospital_callbacks.c:183:10: Fresh storage base not released before return src/client/campaign/cp_hospital_callbacks.c:174:44: Fresh storage base created src/client/campaign/cp_hospital_callbacks.c:187:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_hospital_callbacks.c:193:9: Operand of ! is non-boolean (qboolean): !E_IsInBase(employee, base) src/client/campaign/cp_hospital_callbacks.c:196:8: Test expression for if not boolean, type qboolean: E_IsAwayFromBase(employee) src/client/campaign/cp_hospital_callbacks.c:198:9: Operand of ! is non-boolean (int): !num src/client/campaign/cp_hospital_callbacks.c:210:38: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_hospital_callbacks.c:210:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("h... src/client/campaign/cp_hospital_callbacks.c:211:2: Fresh storage base not released before return src/client/campaign/cp_hospital_callbacks.c:174:44: Fresh storage base created src/client/campaign/cp_hospital_callbacks.c: (in function HOS_EmployeeInit_f) src/client/campaign/cp_hospital_callbacks.c:232:9: Function assert expects arg 1 to be boolean gets character_t *: c src/client/campaign/cp_hospital_callbacks.c:235:25: Function Cvar_SetValue expects arg 2 to be float gets int: c->HP src/client/campaign/cp_hospital_callbacks.c:236:28: Function Cvar_SetValue expects arg 2 to be float gets int: c->maxHP src/client/campaign/cp_messages.c: (in function MS_TimestampedText) src/client/campaign/cp_messages.c:47:37: Passed storage date contains 6 undefined fields: year, month, day, hour, ... src/client/campaign/cp_messages.c:49:21: Function Date_GetMonthName expects arg 1 to be int gets arbitrary unsigned integral type: date.month - 1 src/client/campaign/cp_messages.c:48:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i %s %02i, %02i:%02i: ") src/client/campaign/cp_messages.c:48:2: Return value (type qboolean) ignored: Com_sprintf(text... src/client/campaign/cp_messages.c: (in function MS_AddNewMessageSound) src/client/campaign/cp_messages.c:94:2: Implicitly only storage mess->next (type struct message_s *) not released before assignment: mess->next = cp_messageStack src/client/campaign/cp_messages.c:94:2: Unqualified storage cp_messageStack assigned to implicitly only: mess->next = cp_messageStack src/client/campaign/cp_messages.c:98:2: Implicitly temp storage pedia assigned to implicitly only: mess->pedia = pedia src/client/campaign/cp_messages.c:110:6: Test expression for if not boolean, type qboolean: popup src/client/campaign/cp_messages.c:128:10: Function assert expects arg 1 to be boolean gets void *: pedia src/client/campaign/cp_messages.c:129:7: Fall through case (no preceding break) src/client/campaign/cp_messages.c:153:6: Test expression for if not boolean, type qboolean: playSound src/client/campaign/cp_messages.c:154:22: Null storage sound passed as non-null param: S_StartLocalSample (sound, ...) src/client/campaign/cp_messages.c:86:22: Storage sound becomes null src/client/campaign/cp_messages.c:156:9: Dependent storage mess returned as implicitly only: mess src/client/campaign/cp_messages.c:95:2: Storage mess becomes dependent src/client/campaign/cp_messages.c:156:14: Function returns with global cp_messageStack referencing released storage src/client/campaign/cp_messages.c:156:9: Storage cp_messageStack released src/client/campaign/cp_messages.c: (in function MS_MessageSaveXML) src/client/campaign/cp_messages.c:190:2: Fresh storage n not released before return src/client/campaign/cp_messages.c:177:2: Fresh storage n created src/client/campaign/cp_messages.c: (in function MS_SaveXML) src/client/campaign/cp_messages.c:203:15: Fresh storage n not released before return src/client/campaign/cp_messages.c:199:47: Fresh storage n created src/client/campaign/cp_messages.c: (in function MS_LoadXML) src/client/campaign/cp_messages.c:228:20: Passed storage title not completely defined (*title is undefined): Q_strncpyzDebug (title, ...) src/client/campaign/cp_messages.c:228:28: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(sn, "title") src/client/campaign/cp_messages.c:229:20: Passed storage text not completely defined (*text is undefined): Q_strncpyzDebug (text, ...) src/client/campaign/cp_messages.c:229:28: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(sn, "text") src/client/campaign/cp_messages.c:232:27: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(sn, "eventmailid") src/client/campaign/cp_messages.c:245:21: Passed storage id not completely defined (*id is undefined): Q_strncpyzDebug (id, ...) src/client/campaign/cp_messages.c:245:26: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(sn, "id") src/client/campaign/cp_messages.c:258:4: Implicitly only storage mess->eventMail (type struct eventMail_s *) not released before assignment: mess->eventMail = mail src/client/campaign/cp_messages.c:262:40: Null storage mess->eventMail derivable from parameter MS_TimestampedText (..., mess, ...) src/client/campaign/cp_messages.c:258:22: Storage mess->eventMail becomes null src/client/campaign/cp_messages.c:263:4: Fresh storage tech not released before scope exit src/client/campaign/cp_messages.c:250:5: Fresh storage tech created src/client/campaign/cp_messages.c:263:4: Fresh storage mess not released before scope exit src/client/campaign/cp_messages.c:257:4: Fresh storage mess created src/client/campaign/cp_messages.c:223:51: Fresh storage sn (type mxml_node_t *) not released before assignment (in post loop increment): sn = mxml_GetNextNode(sn, n, "message") src/client/campaign/cp_messages.c:223:7: Fresh storage sn created src/client/campaign/cp_messages.c:269:15: Fresh storage n not released before return src/client/campaign/cp_messages.c:214:2: Fresh storage n created src/client/campaign/cp_messages.c:269:15: Fresh storage sn not released before return src/client/campaign/cp_messages.c:223:7: Fresh storage sn created src/client/campaign/cp_xvi.h:30:37: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_missions.c: (in function CP_SetMissionVars) src/client/campaign/cp_missions.c:60:9: Function assert expects arg 1 to be boolean gets mapDef_t *: mission->mapDef src/client/campaign/cp_missions.c:65:2: Return value (type cvar_t *) ignored: Cvar_Set("ai_civ... src/client/campaign/cp_missions.c:66:2: Return value (type cvar_t *) ignored: Cvar_Set("ai_equ... src/client/campaign/cp_missions.c: (in function CP_StartMissionMap) src/client/campaign/cp_missions.c:98:15: Null storage passed as non-null param: MN_InitStack (NULL, ...) src/client/campaign/cp_missions.c:100:9: Function assert expects arg 1 to be boolean gets char *: mission->mapDef->map src/client/campaign/cp_missions.c:106:2: Implicitly only storage refdef.mapZone (type char *) not released before assignment: refdef.mapZone = ccs.battleParameters.zoneType src/client/campaign/cp_missions.c:115:4: Return value (type qboolean) ignored: B_AssembleMap(bA... src/client/campaign/cp_missions.c:119:4: Return value (type qboolean) ignored: B_AssembleMap(bA... src/client/campaign/cp_missions.c:123:10: Storage ccs.battleParameters.zoneType reachable from global is kept (should be implicitly only) src/client/campaign/cp_missions.c:106:2: Storage ccs.battleParameters.zoneType becomes kept src/client/campaign/cp_missions.c:126:2: Return value (type qboolean) ignored: SAV_QuickSave() src/client/campaign/cp_missions.c:133:37: Test expression for conditional not boolean, type qboolean: MAP_IsNight(mission->pos) src/client/campaign/cp_missions.c:133:15: New fresh storage (type char *) passed as implicitly temp (not released): va("map %s %s %s\n", (MAP_IsNight(mission->pos) ? "night" : "day"), mission->mapDef->map, param ? param : "") src/client/campaign/cp_missions.c:137:2: Implicitly only storage csi.currentMD (type mapDef_t *) not released before assignment: csi.currentMD = mission->mapDef src/client/campaign/cp_missions.c:138:2: Storage mission->mapDef reachable from parameter is kept (should be implicitly only) src/client/campaign/cp_missions.c:137:2: Storage mission->mapDef becomes kept src/client/campaign/cp_missions.c:138:2: Storage ccs.battleParameters.zoneType reachable from global is kept (should be implicitly only) src/client/campaign/cp_missions.c:106:2: Storage ccs.battleParameters.zoneType becomes kept src/client/campaign/cp_missions.c:138:2: Function returns with possibly null storage derivable from global ccs.battleParameters.param src/client/campaign/cp_missions.c: (in function CP_SetAlienTeamByInterest) src/client/campaign/cp_missions.c:174:8: Operand of ! is non-boolean (qboolean): !CP_IsAlienTeamForCategory(cat, mission->category) src/client/campaign/cp_missions.c:187:7: Operand of ! is non-boolean (int): !numAvailableGroup src/client/campaign/cp_missions.c:195:40: Value availableGroups[] used before definition src/client/campaign/cp_missions.c:195:2: Implicitly only storage ccs.battleParameters.alienTeamGroup (type alienTeamGroup_t *) not released before assignment: ccs.battleParameters.alienTeamGroup = availableGroups[i] src/client/campaign/cp_missions.c:195:2: Unqualified storage availableGroups[i] assigned to implicitly only: ccs.battleParameters.alienTeamGroup = availableGroups[i] src/client/campaign/cp_missions.c: (in function CP_IsAlienEquipmentSelectable) src/client/campaign/cp_missions.c:213:8: Operand of ! is non-boolean (int): !strncmp((const char *)equipPack->data, equip->name, strlen((const char *)equipPack->data)) src/client/campaign/cp_missions.c: (in function CP_SetAlienEquipmentByInterest) src/client/campaign/cp_missions.c:235:7: Test expression for if not boolean, type qboolean: CP_IsAlienEquipmentSelectable(mission, &csi.eds[i]) src/client/campaign/cp_missions.c:241:7: Operand of ! is non-boolean (int): !availableEquipDef src/client/campaign/cp_missions.c:249:7: Test expression for if not boolean, type qboolean: CP_IsAlienEquipmentSelectable(mission, &csi.eds[i]) src/client/campaign/cp_missions.c:251:5: Return value (type qboolean) ignored: Com_sprintf(ccs.... src/client/campaign/cp_missions.c: (in function CP_CreateAlienTeam) src/client/campaign/cp_missions.c:273:6: Operands of && are non-booleans (aircraft_t *, int): mission->ufo && mission->ufo->maxTeamSize src/client/campaign/cp_missions.c:279:28: Possibly null storage mission->ufo derivable from parameter CP_SetAlienTeamByInterest (mission) src/client/campaign/cp_missions.c: (in function CP_CreateCivilianTeam) src/client/campaign/cp_missions.c:297:2: Implicitly only storage ccs.battleParameters.nation (type struct nation_s *) not released before assignment: ccs.battleParameters.nation = nation src/client/campaign/cp_missions.c: (in function CP_CreateBattleParameters) src/client/campaign/cp_missions.c:324:3: Return value (type uint32_t) ignored: _Mem_Free((ccs.b... src/client/campaign/cp_missions.c:325:3: Implicitly only storage ccs.battleParameters.param (type char *) not released before assignment: ccs.battleParameters.param = NULL src/client/campaign/cp_missions.c:328:2: Implicitly only storage ccs.battleParameters.mission (type mission_t *) not released before assignment: ccs.battleParameters.mission = mission src/client/campaign/cp_missions.c:328:2: Implicitly temp storage mission assigned to implicitly only: ccs.battleParameters.mission = mission src/client/campaign/cp_missions.c:331:2: Implicitly only storage ccs.battleParameters.zoneType (type char *) not released before assignment: ccs.battleParameters.zoneType = zoneType src/client/campaign/cp_missions.c:337:7: Test expression for if not boolean, type qboolean: mission->crashed src/client/campaign/cp_missions.c:342:10: Operand of ! is non-boolean (int): !strcmp(mission->mapDef->id, "ufocrash") src/client/campaign/cp_missions.c:351:3: Return value (type qboolean) ignored: Com_sprintf(miss... src/client/campaign/cp_missions.c:355:23: New fresh storage (type char *) passed as implicitly temp (not released): Com_GetRandomMapAssemblyNameForCraft(shortUFOType) src/client/campaign/cp_missions.c:355:4: Return value (type cvar_t *) ignored: Cvar_Set("rm_ufo... src/client/campaign/cp_missions.c:357:3: Fresh storage shortUFOType not released before scope exit src/client/campaign/cp_missions.c:347:4: Fresh storage shortUFOType created src/client/campaign/cp_missions.c:361:23: New fresh storage (type char *) passed as implicitly temp (not released): Com_GetRandomMapAssemblyNameForCraft(ccs.missionAircraft->id) src/client/campaign/cp_missions.c:361:3: Return value (type cvar_t *) ignored: Cvar_Set("rm_dro... src/client/campaign/cp_missions.c:363:2: Fresh storage color not released before return src/client/campaign/cp_missions.c:329:2: Fresh storage color created src/client/campaign/cp_missions.c:363:2: Function returns with null storage derivable from global ccs.battleParameters.param src/client/campaign/cp_missions.c:363:2: Function returns with null storage derivable from global ccs.selectedMission->ufo src/client/campaign/cp_missions.c: (in function CP_GetMissionByIDSilent) src/client/campaign/cp_missions.c:381:10: Null storage returned as non-null: NULL src/client/campaign/cp_missions.c:385:8: Operand of ! is non-boolean (int): !strcmp(mission->id, missionId) src/client/campaign/cp_missions.c:386:19: Released storage ccs.missions->data reachable from global src/client/campaign/cp_missions.c:386:11: Storage ccs.missions->data released src/client/campaign/cp_missions.c:389:9: Null storage returned as non-null: NULL src/client/campaign/cp_missions.c: (in function CP_GetMissionByID) src/client/campaign/cp_missions.c:406:9: Possibly null storage mission returned as non-null: mission src/client/campaign/cp_missions.c:399:23: Storage mission may become null src/client/campaign/cp_missions.c: (in function MAP_GetMissionByIDX) src/client/campaign/cp_missions.c:418:10: Null storage returned as non-null: NULL src/client/campaign/cp_missions.c:423:19: Released storage ccs.missions->data reachable from global src/client/campaign/cp_missions.c:423:11: Storage ccs.missions->data released src/client/campaign/cp_missions.c:427:9: Null storage returned as non-null: NULL src/client/campaign/cp_missions.c: (in function CP_MissionCategoryToName) src/client/campaign/cp_missions.c:468:10: Observer storage returned without qualification: "None" src/client/campaign/cp_missions.c:468:10: Storage becomes observer src/client/campaign/cp_missions.c:470:10: Observer storage returned without qualification: "Recon Mission" src/client/campaign/cp_missions.c:470:10: Storage becomes observer src/client/campaign/cp_missions.c:472:10: Observer storage returned without qualification: "Terror mission" src/client/campaign/cp_missions.c:472:10: Storage becomes observer src/client/campaign/cp_missions.c:474:10: Observer storage returned without qualification: "Base attack" src/client/campaign/cp_missions.c:474:10: Storage becomes observer src/client/campaign/cp_missions.c:476:10: Observer storage returned without qualification: "Building Base or Subverting Government" src/client/campaign/cp_missions.c:476:10: Storage becomes observer src/client/campaign/cp_missions.c:478:10: Observer storage returned without qualification: "Supply base" src/client/campaign/cp_missions.c:478:10: Storage becomes observer src/client/campaign/cp_missions.c:480:10: Observer storage returned without qualification: "XVI propagation" src/client/campaign/cp_missions.c:480:10: Storage becomes observer src/client/campaign/cp_missions.c:482:10: Observer storage returned without qualification: "Interception" src/client/campaign/cp_missions.c:482:10: Storage becomes observer src/client/campaign/cp_missions.c:484:10: Observer storage returned without qualification: "Harvest" src/client/campaign/cp_missions.c:484:10: Storage becomes observer src/client/campaign/cp_missions.c:486:10: Observer storage returned without qualification: "Alien base discovered" src/client/campaign/cp_missions.c:486:10: Storage becomes observer src/client/campaign/cp_missions.c:488:10: Observer storage returned without qualification: "Unknown mission category" src/client/campaign/cp_missions.c:488:10: Storage becomes observer src/client/campaign/cp_missions.c:492:9: Observer storage returned without qualification: "" src/client/campaign/cp_missions.c:492:9: Storage becomes observer src/client/campaign/cp_missions.c:492:9: Unreachable code: return "" src/client/campaign/cp_missions.c: (in function CP_MissionStageToName) src/client/campaign/cp_missions.c:503:10: Observer storage returned without qualification: "Not active yet" src/client/campaign/cp_missions.c:503:10: Storage becomes observer src/client/campaign/cp_missions.c:505:10: Observer storage returned without qualification: "UFO coming from orbit" src/client/campaign/cp_missions.c:505:10: Storage becomes observer src/client/campaign/cp_missions.c:507:10: Observer storage returned without qualification: "Aerial recon underway" src/client/campaign/cp_missions.c:507:10: Storage becomes observer src/client/campaign/cp_missions.c:509:10: Observer storage returned without qualification: "Going to mission position" src/client/campaign/cp_missions.c:509:10: Storage becomes observer src/client/campaign/cp_missions.c:511:10: Observer storage returned without qualification: "Ground recon mission underway" src/client/campaign/cp_missions.c:511:10: Storage becomes observer src/client/campaign/cp_missions.c:513:10: Observer storage returned without qualification: "Terror mission underway" src/client/campaign/cp_missions.c:513:10: Storage becomes observer src/client/campaign/cp_missions.c:515:10: Observer storage returned without qualification: "Building base" src/client/campaign/cp_missions.c:515:10: Storage becomes observer src/client/campaign/cp_missions.c:517:10: Observer storage returned without qualification: "Attacking a base" src/client/campaign/cp_missions.c:517:10: Storage becomes observer src/client/campaign/cp_missions.c:519:10: Observer storage returned without qualification: "Subverting a government" src/client/campaign/cp_missions.c:519:10: Storage becomes observer src/client/campaign/cp_missions.c:521:10: Observer storage returned without qualification: "Supplying" src/client/campaign/cp_missions.c:521:10: Storage becomes observer src/client/campaign/cp_missions.c:523:10: Observer storage returned without qualification: "Spreading XVI" src/client/campaign/cp_missions.c:523:10: Storage becomes observer src/client/campaign/cp_missions.c:525:10: Observer storage returned without qualification: "Intercepting or attacking installation" src/client/campaign/cp_missions.c:525:10: Storage becomes observer src/client/campaign/cp_missions.c:527:10: Observer storage returned without qualification: "Leaving earth" src/client/campaign/cp_missions.c:527:10: Storage becomes observer src/client/campaign/cp_missions.c:529:10: Observer storage returned without qualification: "Base visible" src/client/campaign/cp_missions.c:529:10: Storage becomes observer src/client/campaign/cp_missions.c:531:10: Observer storage returned without qualification: "Harvesting" src/client/campaign/cp_missions.c:531:10: Storage becomes observer src/client/campaign/cp_missions.c:533:10: Observer storage returned without qualification: "Mission over" src/client/campaign/cp_missions.c:533:10: Storage becomes observer src/client/campaign/cp_missions.c:537:9: Observer storage returned without qualification: "" src/client/campaign/cp_missions.c:537:9: Storage becomes observer src/client/campaign/cp_missions.c:537:9: Unreachable code: return "" src/client/campaign/cp_missions.c: (in function CP_CountMission) src/client/campaign/cp_missions.c:566:6: Test expression for if not boolean, type int: counterInvalidMission src/client/campaign/cp_missions.c: (in function CP_CountMissionOnGeoscape) src/client/campaign/cp_missions.c:612:77: Right operand of && is non-boolean (qboolean): mission->stage != STAGE_NOT_ACTIVE && mission->stage != STAGE_OVER && mission->onGeoscape src/client/campaign/cp_missions.c: (in function MAP_GetMissionModel) src/client/campaign/cp_missions.c:635:9: Function assert expects arg 1 to be boolean gets mapDef_t *: mission->mapDef src/client/campaign/cp_missions.c:637:6: Test expression for if not boolean, type qboolean: mission->crashed src/client/campaign/cp_missions.c:638:10: Observer storage returned without qualification: "geoscape/ufocrash" src/client/campaign/cp_missions.c:638:10: Storage becomes observer src/client/campaign/cp_missions.c:640:6: Left operand of && is non-boolean (qboolean): mission->mapDef->storyRelated && mission->category != INTERESTCATEGORY_ALIEN BASE src/client/campaign/cp_missions.c:642:10: Observer storage returned without qualification: "geoscape/mission" src/client/campaign/cp_missions.c:642:10: Storage becomes observer src/client/campaign/cp_missions.c:652:10: Observer storage returned without qualification: "geoscape/mission" src/client/campaign/cp_missions.c:652:10: Storage becomes observer src/client/campaign/cp_missions.c:655:10: Observer storage returned without qualification: "geoscape/alienbase" src/client/campaign/cp_missions.c:655:10: Storage becomes observer src/client/campaign/cp_missions.c:658:10: Observer storage returned without qualification: "geoscape/base2" src/client/campaign/cp_missions.c:658:10: Storage becomes observer src/client/campaign/cp_missions.c:666:2: Path with no return in function declared to return char * src/client/campaign/cp_missions.c: (in function CP_CheckMissionVisibleOnGeoscape) src/client/campaign/cp_missions.c:676:7: Operand of ! is non-boolean (qboolean): !mission->posAssigned src/client/campaign/cp_missions.c:677:10: Return value type enum { qfalse, qtrue } does not match declared type missionDetectionStatus_t: qfalse src/client/campaign/cp_missions.c:679:6: Test expression for if not boolean, type qboolean: mission->crashed src/client/campaign/cp_missions.c:682:6: Operands of && are non-booleans (aircraft_t *, qboolean): mission->ufo && mission->ufo->detected src/client/campaign/cp_missions.c:682:48: Right operand of && is non-boolean (qboolean): mission->ufo && mission->ufo->detected && mission->ufo->landed src/client/campaign/cp_missions.c:693:7: Test expression for if not boolean, type qboolean: RADAR_CheckRadarSensored(mission->pos) src/client/campaign/cp_missions.c: (in function CP_MissionRemoveFromGeoscape) src/client/campaign/cp_missions.c:716:7: Operand of ! is non-boolean (qboolean): !mission->onGeoscape src/client/campaign/cp_missions.c: (in function CP_MissionAddToGeoscape) src/client/campaign/cp_missions.c:737:45: Operand of ! is non-boolean (qboolean): !force src/client/campaign/cp_missions.c:737:90: Right operand of && is non-boolean (aircraft_t *): !force && status == MISDET_MAY_BE_DETECTED && mission->ufo src/client/campaign/cp_missions.c:737:107: Operand of ! is non-boolean (qboolean): !mission->ufo->detected src/client/campaign/cp_missions.c:742:6: Left operand of && is non-boolean (aircraft_t *): mission->ufo && ((fabs(mission->ufo->pos[0] - mission->pos[0]) > 1.0f) || (fabs(mission->ufo->pos[1] - mission->pos[1]) > 1.0f)) src/client/campaign/cp_missions.c:748:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Alien activity has been detected in %s.") src/client/campaign/cp_missions.c:748:2: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_missions.c:749:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_missions.c:749:78: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_missions.c:749:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_missions.c: (in function CP_CheckNewMissionDetectedOnGeoscape) src/client/campaign/cp_missions.c:776:43: Right operand of || is non-boolean (qboolean): status != MISDET_MAY_BE_DETECTED || mission->onGeoscape src/client/campaign/cp_missions.c:780:28: Operand of ! is non-boolean (qboolean): !mission->ufo->detected src/client/campaign/cp_missions.c:784:28: Null storage mission->ufo derivable from parameter CP_MissionAddToGeoscape (mission, ...) src/client/campaign/cp_missions.c:787:9: Operand of ! is non-boolean (int): !(r_geoscape_overlay->integer & (1 << 2)) src/client/campaign/cp_missions.c: (in function CP_UpdateMissionVisibleOnGeoscape) src/client/campaign/cp_missions.c:811:7: Left operand of && is non-boolean (qboolean): mission->onGeoscape && CP_CheckMissionVisibleOnGeoscape(mission) == MISDET_CANT_BE_DETECTED src/client/campaign/cp_missions.c:814:15: Operand of ! is non-boolean (qboolean): !mission->onGeoscape src/client/campaign/cp_missions.c: (in function CP_UFORemoveFromGeoscape) src/client/campaign/cp_missions.c:831:9: Function assert expects arg 1 to be boolean gets aircraft_t *: mission->ufo src/client/campaign/cp_missions.c:840:6: Test expression for if not boolean, type qboolean: destroyed src/client/campaign/cp_missions.c:850:8: Left operand of && is non-boolean (aircraft_t *): removedMission->ufo && (removedMission->ufo > mission->ufo) src/client/campaign/cp_missions.c:855:3: Implicitly only storage mission->ufo (type aircraft_t *) not released before assignment: mission->ufo = NULL src/client/campaign/cp_missions.c:856:40: Operand of ! is non-boolean (qboolean): !RADAR_CheckRadarSensored(mission->ufo->pos) src/client/campaign/cp_missions.c:856:13: Left operand of && is non-boolean (qboolean): mission->ufo->detected && !RADAR_CheckRadarSensored(mission->ufo->pos) src/client/campaign/cp_missions.c:861:2: Function returns with null storage derivable from parameter mission->ufo src/client/campaign/cp_missions.c:855:18: Storage mission->ufo becomes null src/client/campaign/cp_missions.c: (in function CP_MissionRemove) src/client/campaign/cp_missions.c:884:3: Implicitly only storage ccs.battleParameters.mission (type mission_t *) not released before assignment: ccs.battleParameters.mission = NULL src/client/campaign/cp_missions.c:887:31: Possibly null storage mission->ufo derivable from parameter CP_MissionRemoveFromGeoscape (mission) src/client/campaign/cp_missions.c:895:11: Function returns with null storage derivable from global ccs.battleParameters.mission src/client/campaign/cp_missions.c:884:34: Storage ccs.battleParameters.mission becomes null src/client/campaign/cp_missions.c:909:2: Function returns with null storage derivable from global ccs.battleParameters.mission src/client/campaign/cp_missions.c:884:34: Storage ccs.battleParameters.mission becomes null src/client/campaign/cp_missions.c: (in function CP_CheckMissionLimitedInTime) src/client/campaign/cp_missions.c:930:9: Return value type boolean does not match declared type qboolean: mission->finalDate.day != 0 src/client/campaign/cp_missions.c: (in function CP_MissionNotifyBaseDestroyed) src/client/campaign/cp_missions.c:950:60: Right operand of && is non-boolean (void *): mission->category == INTERESTCATEGORY_BASE_ATTACK && mission->data src/client/campaign/cp_missions.c: (in function CP_MissionNotifyInstallationDestroyed) src/client/campaign/cp_missions.c:971:58: Right operand of && is non-boolean (void *): mission->category == INTERESTCATEGORY_INTERCEPT && mission->data src/client/campaign/cp_missions.c: (in function CP_MissionStageEnd) src/client/campaign/cp_missions.c:995:6: Test expression for if not boolean, type qboolean: mission->crashed src/client/campaign/cp_missions.c: (in function CP_MissionIsOverByUFO) src/client/campaign/cp_missions.c:1095:9: Function assert expects arg 1 to be boolean gets struct mission_s *: ufocraft->mission src/client/campaign/cp_missions.c: (in function CP_MissionEnd) src/client/campaign/cp_missions.c:1113:10: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_missions.c:1119:2: Clauses exit with base referencing local storage in true branch, fresh storage in false branch src/client/campaign/cp_missions.c:1118:3: Fresh storage base created src/client/campaign/cp_missions.c:1133:24: Null storage passed as non-null param: CP_ParseCharacterData (NULL) src/client/campaign/cp_missions.c:1147:7: Left operand of && is non-boolean (qboolean): employee->hired && employee->baseHired == base src/client/campaign/cp_missions.c:1154:5: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_missions.c:1161:40: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_missions.c:1161:6: Left operand of && is non-boolean (int): ((aircraft)->alienCargoTypes) && !B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_missions.c:1171:7: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_missions.c:1175:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Defence of base: %s successful!") src/client/campaign/cp_missions.c:1175:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_missions.c:1176:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_missions.c:1176:80: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_missions.c:1176:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_missions.c:1182:7: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_missions.c: (in function CP_CheckNextStageDestination) src/client/campaign/cp_missions.c:1198:9: Function assert expects arg 1 to be boolean gets mission_t *: mission src/client/campaign/cp_missions.c: (in function CP_UFOProceedMission) src/client/campaign/cp_missions.c:1221:9: Function assert expects arg 1 to be boolean gets struct mission_s *: ufo->mission src/client/campaign/cp_missions.c: (in function CP_SpawnCrashSiteMission) src/client/campaign/cp_missions.c:1255:9: Arrow access from possibly null pointer mission: mission->crashed src/client/campaign/cp_missions.c:1251:12: Storage mission may become null src/client/campaign/cp_missions.c:1257:7: Operand of ! is non-boolean (qboolean): !CP_ChooseMap(mission, ufo->pos, qtrue) src/client/campaign/cp_missions.c:1268:3: Return value (type qboolean) ignored: Com_sprintf(miss... src/client/campaign/cp_missions.c:1270:3: Return value (type qboolean) ignored: Com_sprintf(miss... src/client/campaign/cp_missions.c:1279:2: Fresh storage nation not released before return src/client/campaign/cp_missions.c:1266:2: Fresh storage nation created src/client/campaign/cp_missions.c: (in function CP_MissionCreate) src/client/campaign/cp_missions.c:1303:3: Implicitly only storage mission->ufo (type aircraft_t *) not released before assignment: mission->ufo = NULL src/client/campaign/cp_missions.c:1307:45: Null storage passed as non-null param: UFO_AddToGeoscape (..., NULL, ...) src/client/campaign/cp_missions.c:1307:3: Implicitly only storage mission->ufo (type aircraft_t *) not released before assignment: mission->ufo = UFO_AddToGeoscape(ufoType, NULL, mission) src/client/campaign/cp_missions.c:1318:15: Function returns with null storage derivable from parameter mission->ufo src/client/campaign/cp_missions.c:1303:18: Storage mission->ufo becomes null src/client/campaign/cp_missions.c: (in function CP_MissionChooseUFO) src/client/campaign/cp_missions.c:1339:52: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_ReconMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1343:53: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_TerrorMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1347:57: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_BaseAttackMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1351:56: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_BuildBaseMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1354:53: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_SupplyMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1357:50: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_XVIMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1361:56: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_InterceptMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1364:54: Passed storage ufoTypes not completely defined (*ufoTypes is undefined): CP_HarvestMissionAvailableUFOs (..., ufoTypes) src/client/campaign/cp_missions.c:1380:6: Test expression for if not boolean, type qboolean: canBeSpawnedFromGround src/client/campaign/cp_missions.c:1383:34: Function exp expects arg 1 to be double gets int: -CP_GetAverageXVIRate() / XVI_PARAM src/client/campaign/cp_missions.c:1383:3: Assignment of double to float: groundProbability = 1.0f - exp(-CP_GetAverageXVIRate() / XVI_PARAM) src/client/campaign/cp_missions.c:1397:9: Value ufoTypes[] used before definition src/client/campaign/cp_missions.c: (in function CP_SetMissionName) src/client/campaign/cp_missions.c:1411:3: Return value (type qboolean) ignored: Com_sprintf(miss... src/client/campaign/cp_missions.c:1425:11: Test expression for while not boolean, type int: num src/client/campaign/cp_missions.c: (in function CP_CreateNewMission) src/client/campaign/cp_missions.c:1444:10: Null storage returned as non-null: NULL src/client/campaign/cp_missions.c:1453:2: Implicitly only storage mission.ufo (type aircraft_t *) not released before assignment: mission.ufo = NULL src/client/campaign/cp_missions.c:1454:6: Test expression for if not boolean, type qboolean: beginNow src/client/campaign/cp_missions.c:1462:20: Null storage mission.ufo derivable from parameter CP_SetMissionName (&mission) src/client/campaign/cp_missions.c:1453:16: Storage mission.ufo becomes null src/client/campaign/cp_missions.c:1473:33: Only storage mission.mapDef (type mapDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_missions.c:1473:33: Only storage mission.data (type void *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_missions.c:1473:33: Only storage mission.finalDate (type date_t) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_missions.c:1473:33: Only storage mission.ufo (type aircraft_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_missions.c:1473:33: Fresh storage list not released before return src/client/campaign/cp_missions.c:1472:2: Fresh storage list created src/client/campaign/cp_missions.c: (in function CP_SpawnNewMissions) src/client/campaign/cp_missions.c:1512:40: Function pow expects arg 1 to be double gets int: ccs.overallInterest / 10.0f src/client/campaign/cp_missions.c:1515:4: Return value (type mission_t *) ignored: CP_CreateNewMiss... src/client/campaign/cp_missions.c: (in function CP_SpawnNewMissions_f) src/client/campaign/cp_missions.c:1567:15: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_missions.c:1569:18: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_missions.c:1578:27: Passed storage pos not completely defined (*pos is undefined): AB_SetAlienBasePosition (pos) src/client/campaign/cp_missions.c:1585:10: Fresh storage base not released before return src/client/campaign/cp_missions.c:1579:3: Fresh storage base created src/client/campaign/cp_missions.c:1594:6: Test expression for if not boolean, type int: type src/client/campaign/cp_missions.c:1598:9: Operand of ! is non-boolean (qboolean): !CP_MissionCreate(mission) src/client/campaign/cp_missions.c:1599:12: Fresh storage mission not released before return src/client/campaign/cp_missions.c:1588:2: Fresh storage mission created src/client/campaign/cp_missions.c:1613:9: Operand of ! is non-boolean (qboolean): !CP_MissionCreate(mission) src/client/campaign/cp_missions.c:1614:12: Fresh storage mission not released before return src/client/campaign/cp_missions.c:1588:2: Fresh storage mission created src/client/campaign/cp_missions.c:1626:2: Fresh storage mission not released before return src/client/campaign/cp_missions.c:1588:2: Fresh storage mission created src/client/campaign/cp_missions.c: (in function CP_MissionList_f) src/client/campaign/cp_missions.c:1646:102: Test expression for conditional not boolean, type qboolean: mission->posAssigned src/client/campaign/cp_missions.c:1646:148: Test expression for conditional not boolean, type qboolean: mission->onGeoscape src/client/campaign/cp_missions.c:1653:6: Test expression for if not boolean, type qboolean: noMission src/client/campaign/cp_missions.c: (in function CP_DeleteMissions_f) src/client/campaign/cp_missions.c:1674:10: Test expression for while not boolean, type int: ccs.numUFOs src/client/campaign/cp_missions.c: (in function CP_SetAlienInterest_f) src/client/campaign/cp_missions.c:1705:36: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_missions.c:1705:61: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_mission_triggers.c: (in function CP_AddTechAsResearchable_f) src/client/campaign/cp_mission_triggers.c:51:2: Fresh storage techID not released before return src/client/campaign/cp_mission_triggers.c:48:2: Fresh storage techID created src/client/campaign/cp_mission_triggers.c:51:2: Fresh storage tech not released before return src/client/campaign/cp_mission_triggers.c:49:2: Fresh storage tech created src/client/campaign/cp_mission_triggers.c: (in function CP_AddItemAsCollected_f) src/client/campaign/cp_mission_triggers.c:71:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_mission_triggers.c:76:8: Operand of ! is non-boolean (int): !strcmp(id, item->id) src/client/campaign/cp_mission_triggers.c:79:11: Function assert expects arg 1 to be boolean gets struct technology_s *: item->tech src/client/campaign/cp_mission_triggers.c:83:2: Fresh storage id not released before return src/client/campaign/cp_mission_triggers.c:70:2: Fresh storage id created src/client/campaign/cp_mission_triggers.c: (in function CP_ChangeNationHappiness_f) src/client/campaign/cp_mission_triggers.c:98:16: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_mission_triggers.c:98:2: Assignment of double to float: change = atof(Cmd_Argv(1)) src/client/campaign/cp_mission_triggers.c:107:9: Function assert expects arg 1 to be boolean gets mission_t *: ccs.selectedMission src/client/campaign/cp_mission_triggers.c:109:9: Function assert expects arg 1 to be boolean gets nation_t *: nation src/client/campaign/cp_mission_triggers.c:112:2: Fresh storage nation not released before return src/client/campaign/cp_mission_triggers.c:108:2: Fresh storage nation created src/client/campaign/cp_mission_triggers.c: (in function CP_EndGame_f) src/client/campaign/cp_mission_triggers.c:121:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Congratulations! You have reached the end of the UFO:AI campaign.\n" "However, this is not the end of the road. The game remains in development.\n" "The campaign will be expanded with new missions, new enemies, " "new UFOs, new player controllable craft and more research.\n\n" "And YOU can help make it happen! Visit our forums or IRC channel to find\n" "out what you can do to help finish this game. Alternatively, you can just\n" "come by and talk about the game, or find other players for a multiplayer game.\n\n" "Thank you for playing, and we hope to see you around.\n\n" " - The UFO:AI development team") src/client/campaign/cp_mission_triggers.c:140:3: Static cp_commands[4].name initialized to null value: cp_commands[4].name = NULL src/client/campaign/cp_mission_triggers.c:140:9: Static cp_commands[4].function initialized to null value: cp_commands[4].function = NULL src/client/campaign/cp_mission_triggers.c:140:15: Static cp_commands[4].description initialized to null value: cp_commands[4].description = NULL src/client/campaign/cp_mission_triggers.c: (in function CP_MissionTriggerFunctions) src/client/campaign/cp_mission_triggers.c:153:7: Test expression for if not boolean, type qboolean: add src/client/campaign/cp_mission_triggers.c: (in function CP_ExecuteMissionTrigger) src/client/campaign/cp_mission_triggers.c:179:6: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_mission_triggers.c:184:7: Left operand of && is non-boolean (mapDef_t *): m->mapDef && m->mapDef->onwin[0] != '\0' src/client/campaign/cp_mission_triggers.c:193:7: Left operand of && is non-boolean (mapDef_t *): m->mapDef && m->mapDef->onlose[0] != '\0' src/client/campaign/cp_nations.c: (in function CP_NationHandleBudget) src/client/campaign/cp_nations.c:63:45: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_nations.c:63:4: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_nations.c:71:44: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_nations.c:71:5: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_nations.c:78:42: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_nations.c:78:4: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_nations.c:83:45: Function ngettext expects arg 3 to be unsigned long int gets int: funding src/client/campaign/cp_nations.c:84:58: Function ngettext expects arg 3 to be unsigned long int gets int: new_scientists src/client/campaign/cp_nations.c:85:52: Function ngettext expects arg 3 to be unsigned long int gets int: new_soldiers src/client/campaign/cp_nations.c:86:49: Function ngettext expects arg 3 to be unsigned long int gets int: new_workers src/client/campaign/cp_nations.c:82:15: Passed storage message not completely defined (*message is undefined): Com_sprintf (message, ...) src/client/campaign/cp_nations.c:82:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Gained %i %s, %i %s, %i %s, and %i %s from nation %s (%s)") src/client/campaign/cp_nations.c:82:3: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:88:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:88:75: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:88:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:93:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_SOLDIER][i].hired src/client/campaign/cp_nations.c:98:14: Passed storage message not completely defined (*message is undefined): Com_sprintf (message, ...) src/client/campaign/cp_nations.c:98:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits to soldiers") src/client/campaign/cp_nations.c:98:2: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:100:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:100:74: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:100:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:104:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_WORKER][i].hired src/client/campaign/cp_nations.c:109:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits to workers") src/client/campaign/cp_nations.c:109:2: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:110:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:110:74: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:110:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:114:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_SCIENTIST][i].hired src/client/campaign/cp_nations.c:119:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits to scientists") src/client/campaign/cp_nations.c:119:2: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:120:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:120:74: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:120:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:124:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_PILOT][i].hired src/client/campaign/cp_nations.c:129:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits to pilots") src/client/campaign/cp_nations.c:129:2: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:130:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:130:74: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:130:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:134:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_ROBOT][i].hired src/client/campaign/cp_nations.c:140:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits for robots") src/client/campaign/cp_nations.c:140:3: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:141:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:141:75: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:141:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:152:3: Fresh storage base not released before scope exit src/client/campaign/cp_nations.c:146:55: Fresh storage base created src/client/campaign/cp_nations.c:156:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits for aircraft") src/client/campaign/cp_nations.c:156:3: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:157:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:157:75: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:157:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:172:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits for upkeep of %s") src/client/campaign/cp_nations.c:172:3: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:173:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:173:75: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:173:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:174:3: Fresh storage base not released before scope exit src/client/campaign/cp_nations.c:161:55: Fresh storage base created src/client/campaign/cp_nations.c:177:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits for administrative overhead.") src/client/campaign/cp_nations.c:177:2: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:179:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:179:74: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:179:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_nations.c:182:20: Variable interest initialized to type int, expects float: initialCredits * ccs.salaries[ccs.curCampaign->idx].debt_interest src/client/campaign/cp_nations.c:185:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Paid %i credits in interest on your debt.") src/client/campaign/cp_nations.c:185:3: Return value (type qboolean) ignored: Com_sprintf(mess... src/client/campaign/cp_nations.c:187:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_nations.c:187:75: Null storage passed as non-null param: MS_AddNewMessageSound (..., NULL, ...) src/client/campaign/cp_nations.c:187:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_parse.c: (in function CL_GetAlienMissionTypeByID) src/client/campaign/cp_parse.c:40:7: Operand of ! is non-boolean (int): !strcmp(type, "recon") src/client/campaign/cp_parse.c:42:12: Operand of ! is non-boolean (int): !strcmp(type, "terror") src/client/campaign/cp_parse.c:44:12: Operand of ! is non-boolean (int): !strcmp(type, "baseattack") src/client/campaign/cp_parse.c:46:12: Operand of ! is non-boolean (int): !strcmp(type, "building") src/client/campaign/cp_parse.c:48:12: Operand of ! is non-boolean (int): !strcmp(type, "supply") src/client/campaign/cp_parse.c:50:12: Operand of ! is non-boolean (int): !strcmp(type, "xvi") src/client/campaign/cp_parse.c:52:12: Operand of ! is non-boolean (int): !strcmp(type, "intercept") src/client/campaign/cp_parse.c:54:12: Operand of ! is non-boolean (int): !strcmp(type, "harvest") src/client/campaign/cp_parse.c:56:12: Operand of ! is non-boolean (int): !strcmp(type, "alienbase") src/client/campaign/cp_parse.c:67:3: Static alien_group_vals[2].string initialized to null value: alien_group_vals[2].string = NULL src/client/campaign/cp_parse.c: (in function CL_ParseAlienTeam) src/client/campaign/cp_parse.c:86:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:82:2: Fresh storage token created src/client/campaign/cp_parse.c:91:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:82:2: Fresh storage token created src/client/campaign/cp_parse.c:96:8: Operand of ! is non-boolean (int): !strcmp(name, ccs.alienCategories[i].id) src/client/campaign/cp_parse.c:100:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:82:2: Fresh storage token created src/client/campaign/cp_parse.c:107:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:82:2: Fresh storage token created src/client/campaign/cp_parse.c:113:8: Operand of ! is non-boolean (int): !strcmp(token, "equipment") src/client/campaign/cp_parse.c:115:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:107:3: Fresh storage token created src/client/campaign/cp_parse.c:121:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:115:4: Fresh storage token created src/client/campaign/cp_parse.c:126:15: Operand of ! is non-boolean (int): !strcmp(token, "category") src/client/campaign/cp_parse.c:127:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:107:3: Fresh storage token created src/client/campaign/cp_parse.c:133:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:127:4: Fresh storage token created src/client/campaign/cp_parse.c:141:15: Operand of ! is non-boolean (int): !strcmp(token, "team") src/client/campaign/cp_parse.c:144:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:107:3: Fresh storage token created src/client/campaign/cp_parse.c:161:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:144:4: Fresh storage token created src/client/campaign/cp_parse.c:165:11: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_parse.c:167:7: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:161:5: Fresh storage token created src/client/campaign/cp_parse.c:169:15: Fresh storage token not released before return src/client/campaign/cp_parse.c:167:7: Fresh storage token created src/client/campaign/cp_parse.c:171:55: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_parse.c:171:7: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_parse.c:193:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:161:5: Fresh storage token created src/client/campaign/cp_parse.c: (in function CL_ParseResearchedCampaignItems) src/client/campaign/cp_parse.c:212:6: Test expression for if not boolean, type int: strcmp(campaign->researched, name) src/client/campaign/cp_parse.c:213:10: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:206:2: Fresh storage campaign created src/client/campaign/cp_parse.c:221:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:216:2: Fresh storage token created src/client/campaign/cp_parse.c:221:10: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:206:2: Fresh storage campaign created src/client/campaign/cp_parse.c:226:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:216:2: Fresh storage token created src/client/campaign/cp_parse.c:228:11: Fresh storage token not released before return src/client/campaign/cp_parse.c:226:3: Fresh storage token created src/client/campaign/cp_parse.c:228:11: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:206:2: Fresh storage campaign created src/client/campaign/cp_parse.c:232:11: Function assert expects arg 1 to be boolean gets technology_t *: tech src/client/campaign/cp_parse.c:233:9: Operand of ! is non-boolean (int): !strcmp(token, tech->id) src/client/campaign/cp_parse.c:241:4: Fresh storage tech not released before scope exit src/client/campaign/cp_parse.c:231:44: Fresh storage tech created src/client/campaign/cp_parse.c:247:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:226:3: Fresh storage token created src/client/campaign/cp_parse.c:247:2: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:206:2: Fresh storage campaign created src/client/campaign/cp_parse.c: (in function CL_ParseResearchableCampaignStates) src/client/campaign/cp_parse.c:275:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:271:2: Fresh storage token created src/client/campaign/cp_parse.c:275:10: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:264:2: Fresh storage campaign created src/client/campaign/cp_parse.c:278:6: Test expression for if not boolean, type int: strcmp(campaign->researched, name) src/client/campaign/cp_parse.c:280:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:271:2: Fresh storage token created src/client/campaign/cp_parse.c:280:10: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:264:2: Fresh storage campaign created src/client/campaign/cp_parse.c:285:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:271:2: Fresh storage token created src/client/campaign/cp_parse.c:287:11: Fresh storage token not released before return src/client/campaign/cp_parse.c:285:3: Fresh storage token created src/client/campaign/cp_parse.c:287:11: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:264:2: Fresh storage campaign created src/client/campaign/cp_parse.c:291:9: Operand of ! is non-boolean (int): !strcmp(token, tech->id) src/client/campaign/cp_parse.c:292:9: Test expression for if not boolean, type qboolean: researchable src/client/campaign/cp_parse.c:300:4: Fresh storage tech not released before scope exit src/client/campaign/cp_parse.c:290:44: Fresh storage tech created src/client/campaign/cp_parse.c:306:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:285:3: Fresh storage token created src/client/campaign/cp_parse.c:306:2: Fresh storage campaign not released before return src/client/campaign/cp_parse.c:264:2: Fresh storage campaign created src/client/campaign/cp_parse.c:331:3: Static salary_vals[20].string initialized to null value: salary_vals[20].string = NULL src/client/campaign/cp_parse.c: (in function CL_ParseSalary) src/client/campaign/cp_parse.c:359:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:355:2: Fresh storage token created src/client/campaign/cp_parse.c:363:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:355:2: Fresh storage token created src/client/campaign/cp_parse.c:371:9: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_parse.c:373:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:363:3: Fresh storage token created src/client/campaign/cp_parse.c:375:13: Fresh storage token not released before return src/client/campaign/cp_parse.c:373:5: Fresh storage token created src/client/campaign/cp_parse.c:377:49: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_parse.c:377:5: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_parse.c:382:4: Return value (type char *) ignored: Com_EParse(text,... src/client/campaign/cp_parse.c:385:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:363:3: Fresh storage token created src/client/campaign/cp_parse.c:411:3: Static campaign_vals[21].string initialized to null value: campaign_vals[21].string = NULL src/client/campaign/cp_parse.c: (in function CL_ParseCampaign) src/client/campaign/cp_parse.c:428:8: Operand of ! is non-boolean (int): !strcmp(name, ccs.campaigns[i].id) src/client/campaign/cp_parse.c:458:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:453:2: Fresh storage token created src/client/campaign/cp_parse.c:485:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:453:2: Fresh storage token created src/client/campaign/cp_parse.c:493:9: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_parse.c:495:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:485:3: Fresh storage token created src/client/campaign/cp_parse.c:497:13: Fresh storage token not released before return src/client/campaign/cp_parse.c:495:5: Fresh storage token created src/client/campaign/cp_parse.c:499:50: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_parse.c:499:5: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_parse.c:502:8: Operand of ! is non-boolean (int): !strcmp(token, "salary") src/client/campaign/cp_parse.c:504:15: Operand of ! is non-boolean (int): !strcmp(token, "events") src/client/campaign/cp_parse.c:505:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:485:3: Fresh storage token created src/client/campaign/cp_parse.c:507:12: Fresh storage token not released before return src/client/campaign/cp_parse.c:505:4: Fresh storage token created src/client/campaign/cp_parse.c:508:4: Implicitly only storage cp->events (type campaignEvents_t *) not released before assignment: cp->events = CP_GetEventsByID(token) src/client/campaign/cp_parse.c:511:4: Return value (type char *) ignored: Com_EParse(text,... src/client/campaign/cp_parse.c:519:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:485:3: Fresh storage token created src/client/campaign/cp_parse.c: (in function CL_ParseComponents) src/client/campaign/cp_parse.c:537:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:534:2: Fresh storage token created src/client/campaign/cp_parse.c:541:10: Fresh storage token not released before return src/client/campaign/cp_parse.c:534:2: Fresh storage token created src/client/campaign/cp_parse.c:552:2: Implicitly only storage comp->assemblyItem (type objDef_t *) not released before assignment: comp->assemblyItem = INVSH_GetItemByIDSilent(comp->assemb lyId) src/client/campaign/cp_parse.c:558:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_parse.c:534:2: Fresh storage token created src/client/campaign/cp_parse.c:565:8: Operand of ! is non-boolean (int): !strcmp(token, "item") src/client/campaign/cp_parse.c:569:5: Fresh storage token (type char *) not released before assignment: token = Com_Parse(text) src/client/campaign/cp_parse.c:558:3: Fresh storage token created src/client/campaign/cp_parse.c:574:5: Fresh storage token (type char *) not released before assignment: token = Com_Parse(text) src/client/campaign/cp_parse.c:569:5: Fresh storage token created src/client/campaign/cp_parse.c:576:5: Fresh storage token (type char *) not released before assignment: token = Com_Parse(text) src/client/campaign/cp_parse.c:574:5: Fresh storage token created src/client/campaign/cp_parse.c:590:15: Operand of ! is non-boolean (int): !strcmp(token, "time") src/client/campaign/cp_parse.c:592:4: Fresh storage token (type char *) not released before assignment: token = Com_Parse(text) src/client/campaign/cp_parse.c:558:3: Fresh storage token created src/client/campaign/cp_parse.c:598:2: Fresh storage token not released before return src/client/campaign/cp_parse.c:558:3: Fresh storage token created src/client/campaign/cp_parse.c: (in function CL_GetComponentsByItem) src/client/campaign/cp_parse.c:613:11: Immediate address &ccs.components[] returned as implicitly only (comp aliases &ccs.components[]): comp src/client/campaign/cp_parse.c:617:2: Path with no return in function declared to return components_t * src/client/campaign/cp_parse.c: (in function CL_GetComponentsByID) src/client/campaign/cp_parse.c:630:8: Operand of ! is non-boolean (int): !strcmp(comp->assemblyId, id) src/client/campaign/cp_parse.c:631:11: Immediate address &ccs.components[] returned as implicitly only (comp aliases &ccs.components[]): comp src/client/campaign/cp_parse.c:635:2: Path with no return in function declared to return components_t * src/client/campaign/cp_parse.c: (in function CL_ParseScriptFirst) src/client/campaign/cp_parse.c:650:7: Operand of ! is non-boolean (int): !strcmp(type, "up_chapters") src/client/campaign/cp_parse.c:652:12: Operand of ! is non-boolean (int): !strcmp(type, "building") src/client/campaign/cp_parse.c:654:12: Operand of ! is non-boolean (int): !strcmp(type, "installation") src/client/campaign/cp_parse.c:656:12: Operand of ! is non-boolean (int): !strcmp(type, "tech") src/client/campaign/cp_parse.c:658:12: Operand of ! is non-boolean (int): !strcmp(type, "nation") src/client/campaign/cp_parse.c:660:12: Operand of ! is non-boolean (int): !strcmp(type, "city") src/client/campaign/cp_parse.c:662:12: Operand of ! is non-boolean (int): !strcmp(type, "rank") src/client/campaign/cp_parse.c:664:12: Operand of ! is non-boolean (int): !strcmp(type, "aircraft") src/client/campaign/cp_parse.c:666:12: Operand of ! is non-boolean (int): !strcmp(type, "mail") src/client/campaign/cp_parse.c:668:12: Operand of ! is non-boolean (int): !strcmp(type, "events") src/client/campaign/cp_parse.c:670:12: Operand of ! is non-boolean (int): !strcmp(type, "components") src/client/campaign/cp_parse.c:672:12: Operand of ! is non-boolean (int): !strcmp(type, "alienteam") src/client/campaign/cp_parse.c:674:12: Operand of ! is non-boolean (int): !strcmp(type, "msgoptions") src/client/campaign/cp_parse.c:676:12: Operand of ! is non-boolean (int): !strcmp(type, "msgcategory") src/client/campaign/cp_parse.c: (in function CL_ParseScriptSecond) src/client/campaign/cp_parse.c:694:7: Operand of ! is non-boolean (int): !strcmp(type, "building") src/client/campaign/cp_parse.c:696:12: Operand of ! is non-boolean (int): !strcmp(type, "aircraft") src/client/campaign/cp_parse.c:698:12: Operand of ! is non-boolean (int): !strcmp(type, "basetemplate") src/client/campaign/cp_parse.c:700:12: Operand of ! is non-boolean (int): !strcmp(type, "researched") src/client/campaign/cp_parse.c:702:12: Operand of ! is non-boolean (int): !strcmp(type, "researchable") src/client/campaign/cp_parse.c:704:12: Operand of ! is non-boolean (int): !strcmp(type, "notresearchable") src/client/campaign/cp_parse.c:706:12: Operand of ! is non-boolean (int): !strcmp(type, "campaign") src/client/campaign/cp_parse.c: (in function CP_ItemsSanityCheck) src/client/campaign/cp_parse.c:722:26: Right operand of && is non-boolean (qboolean): item->size <= 0 && B_ItemIsStoredInBaseStorage(item) src/client/campaign/cp_parse.c:728:27: Right operand of && is non-boolean (qboolean): item->price <= 0 && BS_IsOnMarket(item) src/client/campaign/cp_parse.c:733:27: Operand of ! is non-boolean (qboolean): !BS_IsOnMarket(item) src/client/campaign/cp_parse.c:733:51: Operand of ! is non-boolean (qboolean): !PR_ItemIsProduceable(item) src/client/campaign/cp_parse.c:739:7: Operands of && are non-boolean (qboolean): item->extension && item->headgear src/client/campaign/cp_parse.c:763:3: Static sanity_functions[6].check initialized to null value: sanity_functions[6].check = NULL src/client/campaign/cp_parse.c:763:9: Static sanity_functions[6].name initialized to null value: sanity_functions[6].name = NULL src/client/campaign/cp_parse.c: (in function CL_ScriptSanityCheck) src/client/campaign/cp_parse.c:779:38: Test expression for conditional not boolean, type qboolean: status src/client/campaign/cp_parse.c: (in function CL_ReadSinglePlayerData) src/client/campaign/cp_parse.c:795:2: Return value (type int) ignored: FS_BuildFileList... src/client/campaign/cp_parse.c:796:22: Null storage passed as non-null param: FS_NextScriptHeader (NULL, ...) src/client/campaign/cp_parse.c:796:28: Null storage passed as non-null param: FS_NextScriptHeader (..., NULL, ...) src/client/campaign/cp_parse.c:796:34: Null storage passed as non-null param: FS_NextScriptHeader (..., NULL) src/client/campaign/cp_parse.c:796:2: Return value (type char *) ignored: FS_NextScriptHea... src/client/campaign/cp_parse.c:799:51: Passed storage &name not completely defined: FS_NextScriptHeader (..., &name, ...) src/client/campaign/cp_parse.c:799:58: Null storage text derivable from parameter FS_NextScriptHeader (..., &text) src/client/campaign/cp_parse.c:797:9: Storage text becomes null src/client/campaign/cp_parse.c:806:22: Null storage passed as non-null param: FS_NextScriptHeader (NULL, ...) src/client/campaign/cp_parse.c:806:28: Null storage passed as non-null param: FS_NextScriptHeader (..., NULL, ...) src/client/campaign/cp_parse.c:806:34: Null storage passed as non-null param: FS_NextScriptHeader (..., NULL) src/client/campaign/cp_parse.c:806:2: Return value (type char *) ignored: FS_NextScriptHea... src/client/campaign/cp_parse.c:810:58: Null storage text derivable from parameter FS_NextScriptHeader (..., &text) src/client/campaign/cp_parse.c:807:9: Storage text becomes null src/client/campaign/cp_rank.c: (in function CL_GetRankIdx) src/client/campaign/cp_rank.c:38:8: Operand of ! is non-boolean (int): !strcmp(ccs.ranks[i].id, rankID) src/client/campaign/cp_rank.c:42:2: Path with no return in function declared to return int src/client/campaign/cp_rank.c: (in function CL_GetRankByIdx) src/client/campaign/cp_rank.c:48:9: Immediate address &ccs.ranks[] returned as implicitly only: &ccs.ranks[index] src/client/campaign/cp_rank.c:59:3: Static rankValues[7].string initialized to null value: rankValues[7].string = NULL src/client/campaign/cp_rank.c: (in function CL_ParseRanks) src/client/campaign/cp_rank.c:79:10: Fresh storage token not released before return src/client/campaign/cp_rank.c:75:2: Fresh storage token created src/client/campaign/cp_rank.c:83:8: Operand of ! is non-boolean (int): !strcmp(name, ccs.ranks[i].name) src/client/campaign/cp_rank.c:85:11: Fresh storage token not released before return src/client/campaign/cp_rank.c:75:2: Fresh storage token created src/client/campaign/cp_rank.c:92:10: Fresh storage token not released before return src/client/campaign/cp_rank.c:75:2: Fresh storage token created src/client/campaign/cp_rank.c:97:2: Implicitly only storage rank->id (type char *) not released before assignment: rank->id = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_ rank.c", 97) src/client/campaign/cp_rank.c:101:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_rank.c:75:2: Fresh storage token created src/client/campaign/cp_rank.c:107:9: Operand of ! is non-boolean (int): !strcmp(token, v->string) src/client/campaign/cp_rank.c:109:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_rank.c:101:3: Fresh storage token created src/client/campaign/cp_rank.c:111:13: Fresh storage token not released before return src/client/campaign/cp_rank.c:109:5: Fresh storage token created src/client/campaign/cp_rank.c:114:6: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_rank.c:117:52: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: v->ofs src/client/campaign/cp_rank.c:117:6: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_rank.c:123:8: Operand of ! is non-boolean (int): !strcmp(token, "type") src/client/campaign/cp_rank.c:125:4: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_rank.c:101:3: Fresh storage token created src/client/campaign/cp_rank.c:127:12: Fresh storage token not released before return src/client/campaign/cp_rank.c:125:4: Fresh storage token created src/client/campaign/cp_rank.c:134:7: Operand of ! is non-boolean (size_t): !strlen(rank->name) src/client/campaign/cp_rank.c:137:7: Operand of ! is non-boolean (size_t): !strlen(rank->shortname) src/client/campaign/cp_rank.c:139:2: Fresh storage token not released before return src/client/campaign/cp_rank.c:101:3: Fresh storage token created src/client/campaign/cp_team.c: (in function CP_AddWeaponAmmo) src/client/campaign/cp_team.c:49:7: Test expression for if not boolean, type qboolean: type->oneshot src/client/campaign/cp_team.c:52:4: Implicitly only storage item.m (type objDef_t *) not released before assignment: item.m = item.t src/client/campaign/cp_team.c:54:16: Returned storage item.t was released: item src/client/campaign/cp_team.c:54:16: Storage item.t released src/client/campaign/cp_team.c:54:16: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:54:16: Storage item.t released src/client/campaign/cp_team.c:54:16: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:54:16: Storage item.m released src/client/campaign/cp_team.c:57:16: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:57:16: Storage item.t released src/client/campaign/cp_team.c:57:16: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:57:16: Storage item.m released src/client/campaign/cp_team.c:59:14: Operand of ! is non-boolean (int): !type->reload src/client/campaign/cp_team.c:62:3: Implicitly only storage item.m (type objDef_t *) not released before assignment: item.m = item.t src/client/campaign/cp_team.c:63:15: Returned storage item.t was released: item src/client/campaign/cp_team.c:63:15: Storage item.t released src/client/campaign/cp_team.c:63:15: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:63:15: Storage item.t released src/client/campaign/cp_team.c:63:15: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:63:15: Storage item.m released src/client/campaign/cp_team.c:64:13: Test expression for if not boolean, type int: item.a src/client/campaign/cp_team.c:65:10: Function assert expects arg 1 to be boolean gets objDef_t *: item.m src/client/campaign/cp_team.c:71:17: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:71:17: Storage item.t released src/client/campaign/cp_team.c:71:17: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:71:17: Storage item.m released src/client/campaign/cp_team.c:75:17: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:75:17: Storage item.t released src/client/campaign/cp_team.c:75:17: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:75:17: Storage item.m released src/client/campaign/cp_team.c:81:6: Left operand of && is non-boolean (objDef_t *): item.m && ed->numItems[item.m->idx] > 0 src/client/campaign/cp_team.c:84:15: Returned storage item.t was released: item src/client/campaign/cp_team.c:84:15: Storage item.t released src/client/campaign/cp_team.c:84:15: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:84:15: Storage item.t released src/client/campaign/cp_team.c:84:15: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:84:15: Storage item.m released src/client/campaign/cp_team.c:90:43: Null storage type->weapons[] derivable from parameter INVSH_LoadableInWeapon (..., type) src/client/campaign/cp_team.c:90:7: Test expression for if not boolean, type qboolean: INVSH_LoadableInWeapon(&csi.ods[i], type) src/client/campaign/cp_team.c:94:5: Immediate address &csi.ods[] assigned to implicitly only: item.m = &csi.ods[i] src/client/campaign/cp_team.c:95:17: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:95:17: Storage item.t released src/client/campaign/cp_team.c:95:17: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:95:17: Storage item.m released src/client/campaign/cp_team.c:108:6: Left operand of && is non-boolean (objDef_t *): item.m && ed->numItemsLoose[item.m->idx] > 0 src/client/campaign/cp_team.c:109:3: Assignment of byte to int: item.a = ed->numItemsLoose[item.m->idx] src/client/campaign/cp_team.c:111:15: Returned storage item.t was released: item src/client/campaign/cp_team.c:111:15: Storage item.t released src/client/campaign/cp_team.c:111:15: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:111:15: Storage item.t released src/client/campaign/cp_team.c:111:15: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:111:15: Storage item.m released src/client/campaign/cp_team.c:118:43: Null storage type->weapons[] derivable from parameter INVSH_LoadableInWeapon (..., type) src/client/campaign/cp_team.c:118:52: Operands of > have incompatible types (byte, int): ed->numItemsLoose[i] > item.a src/client/campaign/cp_team.c:118:7: Left operand of && is non-boolean (qboolean): INVSH_LoadableInWeapon(&csi.ods[i], type) && ed->numItemsLoose[i] > item.a src/client/campaign/cp_team.c:124:12: Function assert expects arg 1 to be boolean gets objDef_t *: item.m src/client/campaign/cp_team.c:125:29: Arrow access from null pointer item.m: item.m->idx src/client/campaign/cp_team.c:125:5: Assignment of int to byte: ed->numItemsLoose[item.m->idx] = item.a src/client/campaign/cp_team.c:130:4: Assignment of byte to int: item.a = ed->numItemsLoose[i] src/client/campaign/cp_team.c:132:4: Immediate address &csi.ods[] assigned to implicitly only: item.m = &csi.ods[i] src/client/campaign/cp_team.c:135:14: Null storage item.m returned as non-null: item src/client/campaign/cp_team.c:135:14: Kept storage item.m returned as implicitly only: item src/client/campaign/cp_team.c:132:4: Storage item.m becomes kept src/client/campaign/cp_team.c:135:14: Released storage item.t reachable from parameter at return point src/client/campaign/cp_team.c:135:14: Storage item.t released src/client/campaign/cp_team.c:135:14: Released storage item.m reachable from parameter at return point src/client/campaign/cp_team.c:135:14: Storage item.m released src/client/campaign/cp_team.c: (in function CL_CleanupAircraftCrew) src/client/campaign/cp_team.c:157:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_team.c:166:11: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/campaign/cp_team.c:172:50: New fresh storage (type objDef_t *) passed as implicitly temp (not released): INVSH_GetItemByID(aircraft->acTeam[p]->ugv->weapon) src/client/campaign/cp_team.c:177:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_team.c:182:12: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/campaign/cp_team.c:194:12: Operand of ! is non-boolean (qboolean): !cls.i.RemoveFromInventory(&cls.i, &chr->i, (&csi.ids[(container)]), ic) src/client/campaign/cp_team.c: (in function CL_CleanTempInventory) src/client/campaign/cp_team.c:215:8: Test expression for if not boolean, type qboolean: (&csi.ids[(k)])->temp src/client/campaign/cp_team.c: (in function CL_UpdateActorAircraftVar) src/client/campaign/cp_team.c:238:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_team.c:240:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i of %i") src/client/campaign/cp_team.c:240:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i of %i"), aircraft->teamSize, aircraft->maxTeamSize) src/client/campaign/cp_team.c:240:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_hir... src/client/campaign/cp_team.c:241:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", aircraft->maxTeamSize - aircraft->teamSize) src/client/campaign/cp_team.c:241:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_hir... src/client/campaign/cp_team.c:242:29: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", aircraft->teamSize) src/client/campaign/cp_team.c:242:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_hir... src/client/campaign/cp_team.c:243:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", aircraft->pilot != NULL) src/client/campaign/cp_team.c:243:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_pil... src/client/campaign/cp_team.c:246:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:247:34: New fresh storage (type char *) passed as implicitly temp (not released): CHRSH_CharGetBody(&aircraft->pilot->chr) src/client/campaign/cp_team.c:247:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:248:34: New fresh storage (type char *) passed as implicitly temp (not released): CHRSH_CharGetHead(&aircraft->pilot->chr) src/client/campaign/cp_team.c:248:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:249:34: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", aircraft->pilot->chr.skin) src/client/campaign/cp_team.c:249:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:251:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:252:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:253:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:254:3: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team.c:273:99: Arrow access from possibly null pointer chrDisplayList.chr[]: chrDisplayList.chr[chrDisplayList.num]->name src/client/campaign/cp_team.c:268:44: Storage chrDisplayList.chr[] may become null src/client/campaign/cp_team.c:274:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_name%i", chrDisplayList.num) src/client/campaign/cp_team.c:274:3: Return value (type cvar_t *) ignored: Cvar_ForceSet(va... src/client/campaign/cp_team.c:283:28: Function returns with null storage derivable from global chrDisplayList.chr[] src/client/campaign/cp_team.c:281:27: Storage chrDisplayList.chr[] becomes null src/client/battlescape/cl_ugv.h:31:10: Function CL_AddUGV defined more than once src/client/battlescape/cl_ugv.c:124:1: Previous definition of CL_AddUGV src/client/campaign/cp_team_callbacks.c: (in function CL_UpdateEmployeeList) src/client/campaign/cp_team_callbacks.c:65:17: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:54:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:68:2: Return value (type int) ignored: CL_UpdateActorAi... src/client/campaign/cp_team_callbacks.c:85:11: Operand of ! is non-boolean (qboolean): !employee->transfer src/client/campaign/cp_team_callbacks.c:101:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ename%i", guiId) src/client/campaign/cp_team_callbacks.c:101:3: Return value (type cvar_t *) ignored: Cvar_ForceSet(va... src/client/campaign/cp_team_callbacks.c:104:50: Null storage passed as non-null param: AIR_IsEmployeeInAircraft (..., NULL) src/client/campaign/cp_team_callbacks.c:105:3: Assignment of boolean to qboolean: alreadyInOtherShip = (otherShip != NULL) && (otherShip != aircraft) src/client/campaign/cp_team_callbacks.c:108:7: Test expression for if not boolean, type qboolean: alreadyInOtherShip src/client/campaign/cp_team_callbacks.c:116:23: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_team_callbacks.c:117:9: Operand of ! is non-boolean (qboolean): !(&csi.ids[(container)])->temp src/client/campaign/cp_team_callbacks.c:117:42: Right operand of && is non-boolean (invList_t *): !(&csi.ids[(container)])->temp && ((&employee->chr)->i.c[(container)]) src/client/campaign/cp_team_callbacks.c:120:7: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_team_callbacks.c:130:3: Fresh storage otherShip not released before scope exit src/client/campaign/cp_team_callbacks.c:104:3: Fresh storage otherShip created src/client/campaign/cp_team_callbacks.c:137:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_name%i", guiId) src/client/campaign/cp_team_callbacks.c:137:3: Return value (type cvar_t *) ignored: Cvar_ForceSet(va... src/client/campaign/cp_team_callbacks.c:140:15: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:54:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CL_UpdateSoldierList_f) src/client/campaign/cp_team_callbacks.c:159:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:160:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:163:7: Operand of ! is non-boolean (qboolean): !result src/client/campaign/cp_team_callbacks.c: (in function CL_UpdatePilotList_f) src/client/campaign/cp_team_callbacks.c:182:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:183:20: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:186:7: Operand of ! is non-boolean (qboolean): !result src/client/campaign/cp_team_callbacks.c: (in function CL_UpdateEquipmentMenuParameters_f) src/client/campaign/cp_team_callbacks.c:208:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:201:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:211:7: Operand of ! is non-boolean (int): !aircraft->teamSize src/client/campaign/cp_team_callbacks.c:216:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/campaign/cp_team_callbacks.c:238:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:201:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:238:2: Function returns with non-null global menuInventory referencing null storage src/client/campaign/cp_team_callbacks.c:223:19: Storage menuInventory becomes null src/client/campaign/cp_team_callbacks.c: (in function CL_AssignPilot_f) src/client/campaign/cp_team_callbacks.c:256:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:247:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:260:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:262:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:264:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:247:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:268:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:247:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:276:10: Fresh storage employee not released before return src/client/campaign/cp_team_callbacks.c:270:2: Fresh storage employee created src/client/campaign/cp_team_callbacks.c:276:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:247:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:281:3: Implicitly only storage aircraft->pilot (type struct employee_s *) not released before assignment: aircraft->pilot = NULL src/client/campaign/cp_team_callbacks.c:280:13: Variable employee is kept in true branch, but not kept in false branch. src/client/campaign/cp_team_callbacks.c:280:13: in true branch: src/client/campaign/cp_team_callbacks.c:279:3: Storage employee becomes kept src/client/campaign/cp_team_callbacks.c:280:13: in false branch: src/client/campaign/cp_team_callbacks.c:270:2: Fresh storage employee created src/client/campaign/cp_team_callbacks.c:284:28: Possibly null storage aircraft->pilot derivable from parameter CL_UpdateActorAircraftVar (aircraft, ...) src/client/campaign/cp_team_callbacks.c:281:21: Storage aircraft->pilot may become null src/client/campaign/cp_team_callbacks.c:284:2: Return value (type int) ignored: CL_UpdateActorAi... src/client/campaign/cp_team_callbacks.c:287:20: New fresh storage (type char *) passed as implicitly temp (not released): va("pilot_select %i %i", num - relativeId, relativeId) src/client/campaign/cp_team_callbacks.c:289:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:247:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CL_AssignSoldier_f) src/client/campaign/cp_team_callbacks.c:302:3: Test expression for conditional not boolean, type qboolean: ccs.displayHeavyEquipmentList src/client/campaign/cp_team_callbacks.c:309:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:297:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:313:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:315:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:317:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:297:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:321:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:297:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:325:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:297:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:328:2: Return value (type int) ignored: CL_UpdateActorAi... src/client/campaign/cp_team_callbacks.c:331:15: New fresh storage (type char *) passed as implicitly temp (not released): va("team_select %i %i\n", num - relativeId, relativeId) src/client/campaign/cp_team_callbacks.c:332:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:297:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CL_ResertCharacterCvars) src/client/campaign/cp_team_callbacks.c:340:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team_callbacks.c:341:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team_callbacks.c:342:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team_callbacks.c:343:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team_callbacks.c:344:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("m... src/client/campaign/cp_team_callbacks.c:345:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_rwe... src/client/campaign/cp_team_callbacks.c:346:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_lwe... src/client/campaign/cp_team_callbacks.c:347:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:348:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:349:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:350:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:351:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:352:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_chr... src/client/campaign/cp_team_callbacks.c:354:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vpw... src/client/campaign/cp_team_callbacks.c:355:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vsp... src/client/campaign/cp_team_callbacks.c:356:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vac... src/client/campaign/cp_team_callbacks.c:357:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vmn... src/client/campaign/cp_team_callbacks.c:358:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vcl... src/client/campaign/cp_team_callbacks.c:359:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhv... src/client/campaign/cp_team_callbacks.c:360:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vas... src/client/campaign/cp_team_callbacks.c:361:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vsn... src/client/campaign/cp_team_callbacks.c:362:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vex... src/client/campaign/cp_team_callbacks.c:363:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhp... src/client/campaign/cp_team_callbacks.c:364:24: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", 100) src/client/campaign/cp_team_callbacks.c:364:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_vhp... src/client/campaign/cp_team_callbacks.c:366:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tpw... src/client/campaign/cp_team_callbacks.c:367:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tsp... src/client/campaign/cp_team_callbacks.c:368:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tac... src/client/campaign/cp_team_callbacks.c:369:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tmn... src/client/campaign/cp_team_callbacks.c:370:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tcl... src/client/campaign/cp_team_callbacks.c:371:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_thv... src/client/campaign/cp_team_callbacks.c:372:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tas... src/client/campaign/cp_team_callbacks.c:373:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tsn... src/client/campaign/cp_team_callbacks.c:374:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_tex... src/client/campaign/cp_team_callbacks.c:375:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_thp... src/client/campaign/cp_team_callbacks.c: (in function CL_ActorPilotSelect_f) src/client/campaign/cp_team_callbacks.c:393:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:385:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:397:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:399:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:402:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:385:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:409:17: Arrow access from possibly null pointer employee: employee->chr src/client/campaign/cp_team_callbacks.c:405:13: Storage employee may become null src/client/campaign/cp_team_callbacks.c:414:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", num) src/client/campaign/cp_team_callbacks.c:414:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/campaign/cp_team_callbacks.c:417:16: Possibly null storage chr passed as non-null param: CL_ActorCvars (chr) src/client/campaign/cp_team_callbacks.c:409:8: Storage chr may become null src/client/campaign/cp_team_callbacks.c:419:2: Fresh storage employee not released before return src/client/campaign/cp_team_callbacks.c:405:2: Fresh storage employee created src/client/campaign/cp_team_callbacks.c:419:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:385:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CL_ActorTeamSelect_f) src/client/campaign/cp_team_callbacks.c:427:38: Test expression for conditional not boolean, type qboolean: ccs.displayHeavyEquipmentList src/client/campaign/cp_team_callbacks.c:437:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:429:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:441:21: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_team_callbacks.c:443:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_team_callbacks.c:446:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:429:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c:453:17: Arrow access from possibly null pointer employee: employee->chr src/client/campaign/cp_team_callbacks.c:449:13: Storage employee may become null src/client/campaign/cp_team_callbacks.c:458:31: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", num) src/client/campaign/cp_team_callbacks.c:458:2: Return value (type cvar_t *) ignored: Cvar_ForceSet("c... src/client/campaign/cp_team_callbacks.c:461:9: Arrow access from possibly null pointer chr: chr->teamDef src/client/campaign/cp_team_callbacks.c:453:8: Storage chr may become null src/client/campaign/cp_team_callbacks.c:466:2: Fresh storage employee not released before return src/client/campaign/cp_team_callbacks.c:449:2: Fresh storage employee created src/client/campaign/cp_team_callbacks.c:466:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:429:44: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CL_TeamListDebug_f) src/client/campaign/cp_team_callbacks.c:485:10: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:475:2: Fresh storage base created src/client/campaign/cp_team_callbacks.c:495:2: Fresh storage base not released before return src/client/campaign/cp_team_callbacks.c:475:2: Fresh storage base created src/client/campaign/cp_team_callbacks.c: (in function CP_TEAM_InitCallbacks) src/client/campaign/cp_team_callbacks.c:500:73: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_team_callbacks.c:501:64: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_team_callbacks.c:502:60: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_time.c:51:27: Incompatible types for * (boolean, int): (((sizeof((lapse)) / sizeof((*(lapse)))) == 8) != 0) * 2 src/client/campaign/cp_time.c: (in function CL_UpdateTime) src/client/campaign/cp_time.c:64:32: Passed storage date contains 6 undefined fields: year, month, day, hour, ... src/client/campaign/cp_time.c:68:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext(lapse[gameLapse].name) src/client/campaign/cp_time.c:68:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_tim... src/client/campaign/cp_time.c:70:36: Function Cvar_SetValue expects arg 2 to be float gets int: gameLapse src/client/campaign/cp_time.c:74:110: Function Date_GetMonthName expects arg 1 to be int gets arbitrary unsigned integral type: date.month - 1 src/client/campaign/cp_time.c:74:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i %s %02i") src/client/campaign/cp_time.c:74:2: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_time.c:75:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/campaign/cp_time.c:78:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%02i:%02i") src/client/campaign/cp_time.c:78:2: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_time.c:79:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_map... src/client/campaign/cp_time.c: (in function CL_GameTimeStop) src/client/campaign/cp_time.c:88:7: Operand of ! is non-boolean (qboolean): !CL_OnBattlescape() src/client/campaign/cp_time.c: (in function CL_IsTimeStopped) src/client/campaign/cp_time.c:100:10: Operand of ! is non-boolean (int): !gameLapse src/client/campaign/cp_time.c:100:9: Return value type boolean does not match declared type qboolean: !gameLapse src/client/campaign/cp_time.c: (in function CL_AllowTimeScale) src/client/campaign/cp_time.c:112:7: Operand of ! is non-boolean (int): !ccs.campaignStats.basesBuild src/client/campaign/cp_time.c:113:17: Fresh storage menuName not released before return src/client/campaign/cp_time.c:108:50: Fresh storage menuName created src/client/campaign/cp_time.c:115:10: Operand of ! is non-boolean (int): !strncmp(menuName, "geoscape", 3) src/client/campaign/cp_time.c:115:47: Operand of ! is non-boolean (int): !strncmp(menuName, "airfight", 8) src/client/campaign/cp_time.c:115:9: Return value type boolean does not match declared type qboolean: !strncmp(menuName, "geoscape", 3) || !strncmp(menuName, "airfight", 8) src/client/campaign/cp_time.c:115:80: Fresh storage menuName not released before return src/client/campaign/cp_time.c:108:50: Fresh storage menuName created src/client/campaign/cp_time.c: (in function CL_GameTimeSlow) src/client/campaign/cp_time.c:124:6: Test expression for if not boolean, type qboolean: CL_AllowTimeScale() src/client/campaign/cp_time.c: (in function CL_GameTimeFast) src/client/campaign/cp_time.c:138:6: Test expression for if not boolean, type qboolean: CL_AllowTimeScale() src/client/campaign/cp_time.c: (in function CL_SetGameTime) src/client/campaign/cp_time.c:157:7: Operand of ! is non-boolean (int): !ccs.campaignStats.basesBuild src/client/campaign/cp_time.c: (in function CL_SetGameTime_f) src/client/campaign/cp_time.c:181:22: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_time.c: (in function Date_GetMonthName) src/client/campaign/cp_time.c:264:10: Observer storage returned without qualification: "Error" src/client/campaign/cp_time.c:264:10: Storage becomes observer src/client/renderer/r_overlay.h:28:36: Function parameter pos declared as manifest array (size constant is meaningless) src/client/renderer/r_overlay.h:34:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_xvi.c:55:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_xvi.c: (in function CP_SpreadXVIAtPos) src/client/campaign/cp_xvi.c:57:7: Operand of ! is non-boolean (qboolean): !CP_IsXVIResearched() src/client/campaign/cp_xvi.c: (in function CP_ReduceXVIEverywhere) src/client/campaign/cp_xvi.c:71:7: Operand of ! is non-boolean (qboolean): !CP_IsXVIResearched() src/client/campaign/cp_xvi.c:75:6: Test expression for if not boolean, type int: ccs.date.day % XVI_DECREASE_DAYS src/client/campaign/cp_xvi.c: (in function CP_UpdateNationXVIInfection) src/client/campaign/cp_xvi.c:98:32: Passed storage &width not completely defined: R_GetXVIMap (&width, ...) src/client/campaign/cp_xvi.c:98:40: Passed storage &height not completely defined: R_GetXVIMap (..., &height) src/client/campaign/cp_xvi.c:99:32: Variable heightPerDegree initialized to type int, expects float: height / 180.0f src/client/campaign/cp_xvi.c:100:31: Variable widthPerDegree initialized to type int, expects float: width / 360.0f src/client/campaign/cp_xvi.c:109:32: Variable normalizingArea initialized to type int, expects float: width * height / AREA_FACTOR src/client/campaign/cp_xvi.c:112:7: Operand of ! is non-boolean (qboolean): !xviNationInfectionNeedsUpdate src/client/campaign/cp_xvi.c:113:10: Fresh storage out not released before return src/client/campaign/cp_xvi.c:98:49: Fresh storage out created src/client/campaign/cp_xvi.c:139:5: Fresh storage previousNationColor (type byte *) not released before assignment: previousNationColor = nationColor src/client/campaign/cp_xvi.c:131:3: Fresh storage previousNationColor created src/client/campaign/cp_xvi.c:140:5: Fresh storage nation (type nation_t *) not released before assignment: nation = MAP_GetNation(currentPos) src/client/campaign/cp_xvi.c:132:3: Fresh storage nation created src/client/campaign/cp_xvi.c:141:4: Variable nationColor is dependent in true branch, but independent in continuation. src/client/campaign/cp_xvi.c:141:4: in true branch: src/client/campaign/cp_xvi.c:139:5: Storage nationColor becomes dependent src/client/campaign/cp_xvi.c:141:4: in continuation: src/client/campaign/cp_xvi.c:137:4: Fresh storage nationColor created src/client/campaign/cp_xvi.c:151:4: Value xviInfection[] used before definition src/client/campaign/cp_xvi.c:152:3: Fresh storage previousNationColor not released before scope exit src/client/campaign/cp_xvi.c:131:3: Fresh storage previousNationColor created src/client/campaign/cp_xvi.c:152:3: Fresh storage nation not released before scope exit src/client/campaign/cp_xvi.c:132:3: Fresh storage nation created src/client/campaign/cp_xvi.c:157:40: Value xviInfection[] used before definition src/client/campaign/cp_xvi.c:157:3: Assignment of double to int: nation->stats[0].xviInfection = ceil(xviInfection[nation->idx]) src/client/campaign/cp_xvi.c:161:2: Fresh storage out not released before return src/client/campaign/cp_xvi.c:98:49: Fresh storage out created src/client/campaign/cp_xvi.c: (in function CP_SpreadXVI) src/client/campaign/cp_xvi.c:192:7: Operand of ! is non-boolean (qboolean): !CP_IsXVIResearched() src/client/campaign/cp_xvi.c: (in function CP_XVIInit) src/client/campaign/cp_xvi.c:216:2: Only storage assigned to unqualified static: rsAlienXVI = RS_GetTechByID("rs_alien_xvi_event") src/client/campaign/cp_xvi.c:219:2: Function returns with non-null global rsAlienXVI referencing null storage src/client/campaign/cp_xvi.c:216:15: Storage rsAlienXVI may become null src/client/campaign/cp_xvi.c: (in function XVI_SaveXML) src/client/campaign/cp_xvi.c:235:26: Passed storage &width not completely defined: R_GetXVIMap (&width, ...) src/client/campaign/cp_xvi.c:235:34: Passed storage &height not completely defined: R_GetXVIMap (..., &height) src/client/campaign/cp_xvi.c:249:8: Operands of != have incompatible types (byte, int): out[y * width + x] != defaultval src/client/campaign/cp_xvi.c:253:26: Function mxml_AddInt expects arg 3 to be int gets byte: out[y * width + x] src/client/campaign/cp_xvi.c:254:5: Fresh storage s not released before scope exit src/client/campaign/cp_xvi.c:250:47: Fresh storage s created src/client/campaign/cp_xvi.c:257:15: Fresh storage n not released before return src/client/campaign/cp_xvi.c:240:2: Fresh storage n created src/client/campaign/cp_xvi.c:257:15: Fresh storage out not released before return src/client/campaign/cp_xvi.c:235:43: Fresh storage out created src/client/campaign/cp_xvi.c: (in function XVI_LoadXML) src/client/campaign/cp_xvi.c:275:26: Null storage passed as non-null param: R_InitializeXVIOverlay (NULL) src/client/campaign/cp_xvi.c:283:27: Function _Mem_Alloc expects arg 1 to be size_t gets int: (width * height) src/client/campaign/cp_xvi.c:287:9: Possibly null storage out passed as non-null param: memset (out, ...) src/client/campaign/cp_xvi.c:283:8: Storage out may become null src/client/campaign/cp_xvi.c:293:4: Assignment of int to byte: out[y * width + x] = mxml_GetInt(s, "xv", 0) src/client/campaign/cp_xvi.c:289:40: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, n, "entry") src/client/campaign/cp_xvi.c:289:7: Fresh storage s created src/client/campaign/cp_xvi.c:297:2: Return value (type uint32_t) ignored: _Mem_Free((out),... src/client/campaign/cp_xvi.c:298:15: Fresh storage out not released before return src/client/campaign/cp_xvi.c:283:2: Fresh storage out created src/client/campaign/cp_xvi.c:298:15: Fresh storage s not released before return src/client/campaign/cp_xvi.c:289:7: Fresh storage s created src/client/campaign/cp_xvi.c:298:15: Fresh storage n not released before return src/client/campaign/cp_xvi.c:272:42: Fresh storage n created src/client/campaign/cp_xvi.c: (in function CP_StartXVISpreading_f) src/client/campaign/cp_xvi.c:324:3: Return value (type mission_t *) ignored: CP_CreateNewMiss... src/client/campaign/cp_xvi.c: (in function CP_UpdateXVIMapButton) src/client/campaign/cp_xvi.c:332:29: Function Cvar_SetValue expects arg 2 to be float gets qboolean: ccs.XVIShowMap src/client/campaign/cp_alienbase.c:43:38: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_alienbase.c: (in function AB_SetAlienBasePosition) src/client/campaign/cp_alienbase.c:56:29: Passed storage randomPos not completely defined (*randomPos is undefined): CP_GetRandomPosOnGeoscape (randomPos, ...) src/client/campaign/cp_alienbase.c:63:8: Operand of ! is non-boolean (int): !ccs.numAlienBases src/client/campaign/cp_alienbase.c:85:12: Array element randomPos[0] used before definition src/client/campaign/cp_alienbase.c:93:41: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_alienbase.c: (in function AB_BuildBase) src/client/campaign/cp_alienbase.c:100:10: Null storage returned as non-null: NULL src/client/campaign/cp_alienbase.c:108:2: Assignment of ptrdiff_t to int: base->idx = (ptrdiff_t)(base - ccs.alienBases) src/client/campaign/cp_alienbase.c:111:9: Immediate address &ccs.alienBases[] returned as implicitly only (base aliases &ccs.alienBases[]): base src/client/campaign/cp_alienbase.c: (in function AB_DestroyBase) src/client/campaign/cp_alienbase.c:120:9: Function assert expects arg 1 to be boolean gets alienBase_t *: base src/client/campaign/cp_alienbase.c:122:66: Variable idx__ initialized to type int, expects size_t: (base->idx) src/client/campaign/cp_alienbase.c:122:288: Variable idx__ shadows outer declaration src/client/campaign/cp_alienbase.c:122:58: Previous definition of idx__: size_t src/client/campaign/cp_alienbase.c:122:296: Variable idx__ initialized to type int, expects size_t: (base->idx) src/client/campaign/cp_alienbase.c:122:376: Variable n__ shadows outer declaration src/client/campaign/cp_alienbase.c:122:110: Previous definition of n__: size_t src/client/campaign/cp_alienbase.c:122:384: Variable n__ initialized to type int, expects size_t: --(ccs.numAlienBases) src/client/campaign/cp_alienbase.c:122:789: Assignment of int to size_t: n__ = (ccs.numAlienBases) src/client/campaign/cp_alienbase.c: (in function AB_GetBase) src/client/campaign/cp_alienbase.c:138:10: Null storage returned as non-null: NULL src/client/campaign/cp_alienbase.c:140:6: Left operand of && is non-boolean (qboolean): checkIdx && baseIDX >= ccs.numAlienBases src/client/campaign/cp_alienbase.c:141:10: Null storage returned as non-null: NULL src/client/campaign/cp_alienbase.c:143:9: Immediate address &ccs.alienBases[] returned as implicitly only: &ccs.alienBases[baseIDX] src/client/campaign/cp_alienbase.c: (in function CP_SpawnAlienBaseMission) src/client/campaign/cp_alienbase.c:160:2: Implicitly only storage mission->data (type void *) not released before assignment: mission->data = (void *)alienBase src/client/campaign/cp_alienbase.c:160:2: Implicitly temp storage alienBase assigned to implicitly only: mission->data = (void *)alienBase src/client/campaign/cp_alienbase.c:162:2: Implicitly only storage mission->mapDef (type mapDef_t *) not released before assignment: mission->mapDef = Com_GetMapDefinitionByID("alienbase") src/client/campaign/cp_alienbase.c:169:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Alien base") src/client/campaign/cp_alienbase.c:169:2: Return value (type qboolean) ignored: Com_sprintf(miss... src/client/campaign/cp_alienbase.c:176:7: Operand of ! is non-boolean (qboolean): !RS_MarkStoryLineEventResearched("rs_alien_base_discovered_event") src/client/campaign/cp_alienbase.c:178:2: Fresh storage mission not released before return src/client/campaign/cp_alienbase.c:153:2: Fresh storage mission created src/client/campaign/cp_alienbase.c: (in function AB_UpdateStealthForOneBase) src/client/campaign/cp_alienbase.c:201:6: Operands of > have incompatible types (float, int): distance > aircraft->radar.range src/client/campaign/cp_alienbase.c:208:6: Operands of > have incompatible types (float, int): distance > aircraft->radar.range * radarratio src/client/campaign/cp_alienbase.c: (in function AB_UpdateStealthForAllBase) src/client/campaign/cp_alienbase.c:244:9: Operand of ! is non-boolean (qboolean): !AIR_IsAircraftOnGeoscape(aircraft) src/client/campaign/cp_alienbase.c:250:3: Fresh storage base not released before scope exit src/client/campaign/cp_alienbase.c:234:61: Fresh storage base created src/client/campaign/cp_alienbase.c: (in function AB_BaseSearchedByNations) src/client/campaign/cp_alienbase.c:267:6: Test expression for if not boolean, type int: ccs.date.day % daysPerWeek src/client/campaign/cp_alienbase.c:274:7: Operands of && are non-booleans (nation_t *, int): nation && nation->stats[0].xviInfection src/client/campaign/cp_alienbase.c:281:3: Fresh storage nation not released before scope exit src/client/campaign/cp_alienbase.c:271:48: Fresh storage nation created src/client/campaign/cp_alienbase.c: (in function AB_SupplyBase) src/client/campaign/cp_alienbase.c:312:9: Function assert expects arg 1 to be boolean gets alienBase_t *: base src/client/campaign/cp_alienbase.c:315:6: Left operand of && is non-boolean (qboolean): decreaseStealth && base->stealth >= 0.0f src/client/campaign/cp_alienbase.c: (in function AB_LoadXML) src/client/campaign/cp_alienbase.c:392:52: Right operand of && is non-boolean (mxml_node_t *): i < 8 && s src/client/campaign/cp_alienbase.c:394:3: Assignment of ptrdiff_t to int: base->idx = (ptrdiff_t)(base - ccs.alienBases) src/client/campaign/cp_alienbase.c:397:18: Fresh storage s not released before return src/client/campaign/cp_alienbase.c:392:14: Fresh storage s created src/client/campaign/cp_alienbase.c:397:18: Fresh storage n not released before return src/client/campaign/cp_alienbase.c:388:2: Fresh storage n created src/client/campaign/cp_alienbase.c:392:60: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, n, "base") src/client/campaign/cp_alienbase.c:392:14: Fresh storage s created src/client/campaign/cp_alienbase.c:402:15: Fresh storage n not released before return src/client/campaign/cp_alienbase.c:388:2: Fresh storage n created src/client/campaign/cp_alienbase.c: (in function AB_SaveXML) src/client/campaign/cp_alienbase.c:421:3: Fresh storage s not released before scope exit src/client/campaign/cp_alienbase.c:417:44: Fresh storage s created src/client/campaign/cp_alienbase.c:422:15: Fresh storage n not released before return src/client/campaign/cp_alienbase.c:412:49: Fresh storage n created src/client/campaign/cp_aliencont.c: (in function AL_AddAlienTypeToAircraftCargo) src/client/campaign/cp_aliencont.c:84:2: Implicitly temp storage teamDef assigned to implicitly only: cargo[index].teamDef = teamDef src/client/campaign/cp_aliencont.c:86:6: Test expression for if not boolean, type qboolean: dead src/client/campaign/cp_aliencont.c: (in function AL_FillInContainment) src/client/campaign/cp_aliencont.c:109:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c:113:8: Operand of ! is non-boolean (qboolean): !CHRSH_IsTeamDefAlien(&csi.teamDef[i]) src/client/campaign/cp_aliencont.c:117:3: Immediate address &csi.teamDef[] assigned to implicitly only: containment[counter].teamDef = &csi.teamDef[i] src/client/campaign/cp_aliencont.c: (in function AL_AlienTypeToName) src/client/campaign/cp_aliencont.c:139:10: Null storage returned as non-null: NULL src/client/campaign/cp_aliencont.c:141:9: Unqualified storage csi.teamDef[teamDefIdx].name returned as implicitly only: csi.teamDef[teamDefIdx].name src/client/campaign/cp_aliencont.c:141:38: Released storage csi.teamDef[].name reachable from global src/client/campaign/cp_aliencont.c:141:9: Storage csi.teamDef[].name released src/client/campaign/cp_aliencont.c: (in function AL_CollectingAliens) src/client/campaign/cp_aliencont.c:154:31: Null storage le passed as non-null param: LE_GetNextInUse (le) src/client/campaign/cp_aliencont.c:152:13: Storage le becomes null src/client/campaign/cp_aliencont.c:155:7: Left operand of && is non-boolean (qboolean): LE_IsActor(le) && ((le)->team == 7) src/client/campaign/cp_aliencont.c:156:11: Function assert expects arg 1 to be boolean gets teamDef_t *: le->teamDef src/client/campaign/cp_aliencont.c:158:8: Test expression for if not boolean, type int: (((le)->state & 0x0043) & ~0x0003) src/client/campaign/cp_aliencont.c:159:5: Return value (type qboolean) ignored: AL_AddAlienTypeT... src/client/campaign/cp_aliencont.c:160:13: Test expression for if not boolean, type int: ((le)->state & 0x0003) src/client/campaign/cp_aliencont.c:161:5: Return value (type qboolean) ignored: AL_AddAlienTypeT... src/client/campaign/cp_aliencont.c: (in function AL_AddAliens) src/client/campaign/cp_aliencont.c:186:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_aliencont.c:188:9: Function assert expects arg 1 to be boolean gets base_t *: toBase src/client/campaign/cp_aliencont.c:190:7: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(toBase, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont.c:191:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aliencont.c:191:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot process aliens yet. Alien Containment not ready in this base.") src/client/campaign/cp_aliencont.c:191:146: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aliencont.c:191:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aliencont.c:200:39: Possibly null storage breathingTech passed as non-null param: RS_IsResearched_ptr (breathingTech) src/client/campaign/cp_aliencont.c:197:18: Storage breathingTech may become null src/client/campaign/cp_aliencont.c:207:11: Function assert expects arg 1 to be boolean gets teamDef_t *: toBase->alienscont[j].teamDef src/client/campaign/cp_aliencont.c:208:11: Function assert expects arg 1 to be boolean gets teamDef_t *: cargo[i].teamDef src/client/campaign/cp_aliencont.c:213:31: Possibly null storage alienBreathingObjDef passed as non-null param: AII_CollectItem (..., alienBreathingObjDef, ...) src/client/campaign/cp_aliencont.c:201:25: Storage alienBreathingObjDef may become null src/client/campaign/cp_aliencont.c:216:10: Operand of ! is non-boolean (qboolean): !alienBreathing src/client/campaign/cp_aliencont.c:216:29: Operand of ! is non-boolean (qboolean): !cargo[i].teamDef->robot src/client/campaign/cp_aliencont.c:222:11: Operand of ! is non-boolean (qboolean): !messageAlreadySet src/client/campaign/cp_aliencont.c:223:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aliencont.c:223:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You can't hold live aliens yet. Aliens died.") src/client/campaign/cp_aliencont.c:223:119: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aliencont.c:223:7: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aliencont.c:226:11: Operand of ! is non-boolean (qboolean): !ccs.breathingMailSent src/client/campaign/cp_aliencont.c:235:42: Null storage passed as non-null param: AL_CheckAliveFreeSpace (..., NULL, ...) src/client/campaign/cp_aliencont.c:235:11: Test expression for if not boolean, type qboolean: AL_CheckAliveFreeSpace(toBase, NULL, 1) src/client/campaign/cp_aliencont.c:240:13: Operand of ! is non-boolean (qboolean): !limit src/client/campaign/cp_aliencont.c:242:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aliencont.c:242:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You don't have enough space in Alien Containment. Some aliens got killed.") src/client/campaign/cp_aliencont.c:242:153: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aliencont.c:242:9: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aliencont.c:251:11: Operand of ! is non-boolean (qboolean): !messageAlreadySet src/client/campaign/cp_aliencont.c:252:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_aliencont.c:252:43: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've captured new aliens.") src/client/campaign/cp_aliencont.c:252:105: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_aliencont.c:252:7: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_aliencont.c:269:21: Possibly null storage tech passed as non-null param: RS_MarkCollected (tech) src/client/campaign/cp_aliencont.c:262:24: Storage tech may become null src/client/campaign/cp_aliencont.c:281:2: Fresh storage breathingTech not released before return src/client/campaign/cp_aliencont.c:197:2: Fresh storage breathingTech created src/client/campaign/cp_aliencont.c:281:2: Fresh storage alienBreathingObjDef not released before return src/client/campaign/cp_aliencont.c:201:2: Fresh storage alienBreathingObjDef created src/client/campaign/cp_aliencont.c: (in function AL_RemoveAliens) src/client/campaign/cp_aliencont.c:299:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c:351:11: Function assert expects arg 1 to be boolean gets teamDef_t *: containment[j].teamDef src/client/campaign/cp_aliencont.c: (in function AL_AddAliens2) src/client/campaign/cp_aliencont.c:379:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c:382:6: Test expression for if not boolean, type qboolean: dead src/client/campaign/cp_aliencont.c:384:11: Function assert expects arg 1 to be boolean gets teamDef_t *: containment[j].teamDef src/client/campaign/cp_aliencont.c:392:37: Null storage passed as non-null param: AL_CheckAliveFreeSpace (..., NULL, ...) src/client/campaign/cp_aliencont.c:392:8: Operand of ! is non-boolean (qboolean): !AL_CheckAliveFreeSpace(base, NULL, 1) src/client/campaign/cp_aliencont.c:396:11: Function assert expects arg 1 to be boolean gets teamDef_t *: containment[j].teamDef src/client/campaign/cp_aliencont.c:374:74: Parameter amount not used src/client/campaign/cp_aliencont.c: (in function AL_GetAlienIDX) src/client/campaign/cp_aliencont.c:423:7: Test expression for if not boolean, type qboolean: CHRSH_IsTeamDefAlien(&csi.teamDef[i]) src/client/campaign/cp_aliencont.c: (in function AL_GetAlienGlobalIDX) src/client/campaign/cp_aliencont.c:442:7: Test expression for if not boolean, type qboolean: CHRSH_IsTeamDefAlien(&csi.teamDef[i]) src/client/campaign/cp_aliencont.c: (in function AL_GetAlienAmount) src/client/campaign/cp_aliencont.c:466:9: Function assert expects arg 1 to be boolean gets teamDef_t *: alienType src/client/campaign/cp_aliencont.c:467:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c: (in function AL_CountInBase) src/client/campaign/cp_aliencont.c:495:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c: (in function AL_ChangeAliveAlienNumber) src/client/campaign/cp_aliencont.c:515:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c:516:9: Function assert expects arg 1 to be boolean gets aliensCont_t *: containment src/client/campaign/cp_aliencont.c:519:7: Operand of ! is non-boolean (qboolean): !AL_CheckAliveFreeSpace(base, containment, num) src/client/campaign/cp_aliencont.c: (in function AL_CheckAliveFreeSpace) src/client/campaign/cp_aliencont.c:547:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont.c:556:7: Left operand of && is non-boolean (aliensCont_t *): containment && (containment->amountAlive + num < 0) src/client/campaign/cp_aliencont.c: (in function AL_CountAll) src/client/campaign/cp_aliencont.c:584:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont.c:590:3: Fresh storage base not released before scope exit src/client/campaign/cp_aliencont.c:581:55: Fresh storage base created src/client/campaign/cp_aliencont.c: (in function AC_KillAll) src/client/campaign/cp_aliencont.c:604:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_aliencont.c:615:7: Operand of ! is non-boolean (qboolean): !aliens src/client/campaign/cp_aliencont.c:618:24: Null storage passed as non-null param: AL_RemoveAliens (..., NULL, ...) src/client/campaign/cp_aliencont.c: (in function AC_AddOne_f) src/client/campaign/cp_aliencont.c:641:10: Fresh storage base not released before return src/client/campaign/cp_aliencont.c:632:44: Fresh storage base created src/client/campaign/cp_aliencont.c:649:10: Fresh storage alienName not released before return src/client/campaign/cp_aliencont.c:644:2: Fresh storage alienName created src/client/campaign/cp_aliencont.c:649:10: Fresh storage base not released before return src/client/campaign/cp_aliencont.c:632:44: Fresh storage base created src/client/campaign/cp_aliencont.c:655:10: Function assert expects arg 1 to be boolean gets teamDef_t *: containment[j].teamDef src/client/campaign/cp_aliencont.c:663:10: Fresh storage alienName not released before return src/client/campaign/cp_aliencont.c:644:2: Fresh storage alienName created src/client/campaign/cp_aliencont.c:663:10: Fresh storage base not released before return src/client/campaign/cp_aliencont.c:632:44: Fresh storage base created src/client/campaign/cp_aliencont.c:663:10: Fresh storage alienType not released before return src/client/campaign/cp_aliencont.c:645:2: Fresh storage alienType created src/client/campaign/cp_aliencont.c:667:34: New fresh storage (type char *) passed as implicitly temp (not released): Com_Argv(2) src/client/campaign/cp_aliencont.c:670:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont.c:673:10: Fresh storage alienName not released before return src/client/campaign/cp_aliencont.c:644:2: Fresh storage alienName created src/client/campaign/cp_aliencont.c:673:10: Fresh storage alienType not released before return src/client/campaign/cp_aliencont.c:645:2: Fresh storage alienType created src/client/campaign/cp_aliencont.c:677:37: Operand of ! is non-boolean (qboolean): !updateAlive src/client/campaign/cp_aliencont.c:677:36: Function AL_AddAliens2 expects arg 4 to be qboolean gets boolean: !updateAlive src/client/campaign/cp_aliencont.c:678:2: Fresh storage alienName not released before return src/client/campaign/cp_aliencont.c:644:2: Fresh storage alienName created src/client/campaign/cp_aliencont.c:678:2: Fresh storage alienType not released before return src/client/campaign/cp_aliencont.c:645:2: Fresh storage alienType created src/client/campaign/cp_aliencont.c:678:2: Fresh storage base not released before return src/client/campaign/cp_aliencont.c:632:44: Fresh storage base created src/client/campaign/cp_aliencont.c: (in function AC_SaveXML) src/client/campaign/cp_aliencont.c:707:15: Fresh storage aliencont not released before return src/client/campaign/cp_aliencont.c:704:2: Fresh storage aliencont created src/client/campaign/cp_aliencont.c: (in function AC_LoadXML) src/client/campaign/cp_aliencont.c:729:15: Fresh storage aliencont not released before return src/client/campaign/cp_aliencont.c:720:2: Fresh storage aliencont created src/client/campaign/cp_aliencont.c: (in function AC_ContainmentAllowed) src/client/campaign/cp_aliencont.c:739:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont_callbacks.c: (in function AL_CountForMenu) src/client/campaign/cp_aliencont_callbacks.c:60:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont_callbacks.c:63:9: Operand of ! is non-boolean (qboolean): !alive src/client/campaign/cp_aliencont_callbacks.c:68:3: Fresh storage base not released before scope exit src/client/campaign/cp_aliencont_callbacks.c:57:55: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c: (in function AC_OpenUFOpedia_f) src/client/campaign/cp_aliencont_callbacks.c:91:6: Test expression for if not boolean, type qboolean: RS_IsResearched_ptr(tech) src/client/campaign/cp_aliencont_callbacks.c: (in function AC_ResearchAlien_f) src/client/campaign/cp_aliencont_callbacks.c:111:27: Possibly null storage tech passed as non-null param: RS_IsResearched_ptr (tech) src/client/campaign/cp_aliencont_callbacks.c:107:9: Storage tech may become null src/client/campaign/cp_aliencont_callbacks.c:111:7: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(tech) src/client/campaign/cp_aliencont_callbacks.c:112:29: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_aliencont_callbacks.c:112:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("r... src/client/campaign/cp_aliencont_callbacks.c: (in function AC_AlienClick) src/client/campaign/cp_aliencont_callbacks.c:127:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont_callbacks.c:132:9: Operand of ! is non-boolean (int): !containment[i].amountAlive src/client/campaign/cp_aliencont_callbacks.c:132:40: Operand of ! is non-boolean (int): !containment[i].amountDead src/client/campaign/cp_aliencont_callbacks.c:142:10: Function assert expects arg 1 to be boolean gets technology_t *: aliencontCurrent->tech src/client/campaign/cp_aliencont_callbacks.c:143:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_al_... src/client/campaign/cp_aliencont_callbacks.c:144:10: Function assert expects arg 1 to be boolean gets teamDef_t *: aliencontCurrent->teamDef src/client/campaign/cp_aliencont_callbacks.c:145:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext(aliencontCurrent->teamDef->name) src/client/campaign/cp_aliencont_callbacks.c:145:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_al_... src/client/campaign/cp_aliencont_callbacks.c:146:32: Function Cvar_SetValue expects arg 2 to be float gets int: AL_CountForMenu(aliencontCurrent->teamDef->idx, qtrue) src/client/campaign/cp_aliencont_callbacks.c:147:31: Function Cvar_SetValue expects arg 2 to be float gets int: AL_CountForMenu(aliencontCurrent->teamDef->idx, qfalse) src/client/campaign/cp_aliencont_callbacks.c: (in function AC_AlienClick_f) src/client/campaign/cp_aliencont_callbacks.c:166:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_aliencont_callbacks.c:170:2: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:158:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c: (in function AC_UpdateMenu) src/client/campaign/cp_aliencont_callbacks.c:179:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_al_... src/client/campaign/cp_aliencont_callbacks.c:180:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_al_... src/client/campaign/cp_aliencont_callbacks.c:183:34: Function Cvar_SetValue expects arg 2 to be float gets int: base->capacities[CAP_ALIENS].cur src/client/campaign/cp_aliencont_callbacks.c:184:38: Function Cvar_SetValue expects arg 2 to be float gets int: base->capacities[CAP_ALIENS].max src/client/campaign/cp_aliencont_callbacks.c:188:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont_callbacks.c:204:11: Test expression for if not boolean, type qboolean: RS_IsResearched_ptr(tech) src/client/campaign/cp_aliencont_callbacks.c:205:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_statusstr%i", j) src/client/campaign/cp_aliencont_callbacks.c:205:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Already researched") src/client/campaign/cp_aliencont_callbacks.c:205:8: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:207:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_statusstr%i", j) src/client/campaign/cp_aliencont_callbacks.c:207:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Needs autopsy!") src/client/campaign/cp_aliencont_callbacks.c:207:8: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:208:13: Operand of ! is non-boolean (int): !containment[i].amountDead src/client/campaign/cp_aliencont_callbacks.c:214:21: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_progress%i", j) src/client/campaign/cp_aliencont_callbacks.c:216:16: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_name%i", j) src/client/campaign/cp_aliencont_callbacks.c:216:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext(containment[i].teamDef->name) src/client/campaign/cp_aliencont_callbacks.c:216:7: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:218:44: Function Cvar_SetValue expects arg 2 to be float gets int: containment[i].amountDead src/client/campaign/cp_aliencont_callbacks.c:218:21: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_dead%i", j) src/client/campaign/cp_aliencont_callbacks.c:220:45: Function Cvar_SetValue expects arg 2 to be float gets int: containment[i].amountAlive src/client/campaign/cp_aliencont_callbacks.c:220:21: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_alive%i", j) src/client/campaign/cp_aliencont_callbacks.c:230:13: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_statusstr%i", j) src/client/campaign/cp_aliencont_callbacks.c:230:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Free slot") src/client/campaign/cp_aliencont_callbacks.c:230:4: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:231:13: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_name%i", j) src/client/campaign/cp_aliencont_callbacks.c:231:36: New fresh storage (type char *) passed as implicitly temp (not released): gettext("None") src/client/campaign/cp_aliencont_callbacks.c:231:4: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:232:13: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_dead%i", j) src/client/campaign/cp_aliencont_callbacks.c:232:4: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:233:13: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_alive%i", j) src/client/campaign/cp_aliencont_callbacks.c:233:4: Return value (type cvar_t *) ignored: Cvar_Set(va("mn_... src/client/campaign/cp_aliencont_callbacks.c:234:18: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_ac_progress%i", j) src/client/campaign/cp_aliencont_callbacks.c: (in function AC_Init_f) src/client/campaign/cp_aliencont_callbacks.c:260:2: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:249:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c: (in function AC_KillAll_f) src/client/campaign/cp_aliencont_callbacks.c:277:2: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:268:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c: (in function AC_KillOne_f) src/client/campaign/cp_aliencont_callbacks.c:293:10: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:285:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c:297:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_aliencont_callbacks.c:300:10: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:285:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c:303:6: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_ALIEN_CONTAINMENT) src/client/campaign/cp_aliencont_callbacks.c:306:9: Operand of ! is non-boolean (int): !containment[i].amountAlive src/client/campaign/cp_aliencont_callbacks.c:306:40: Operand of ! is non-boolean (int): !containment[i].amountDead src/client/campaign/cp_aliencont_callbacks.c:318:2: Fresh storage base not released before return src/client/campaign/cp_aliencont_callbacks.c:285:44: Fresh storage base created src/client/campaign/cp_aliencont_callbacks.c: (in function AC_InitCallbacks) src/client/campaign/cp_aliencont_callbacks.c:334:2: Function returns with non-null global aliencontCurrent referencing null storage src/client/campaign/cp_aliencont_callbacks.c:328:21: Storage aliencontCurrent becomes null src/client/campaign/cp_airfight.c: (in function AIRFIGHT_RemoveProjectile) src/client/campaign/cp_airfight.c:65:66: Variable idx__ initialized to type ptrdiff_t, expects size_t: (num) src/client/campaign/cp_airfight.c:65:282: Variable idx__ shadows outer declaration src/client/campaign/cp_airfight.c:65:58: Previous definition of idx__: size_t src/client/campaign/cp_airfight.c:65:290: Variable idx__ initialized to type ptrdiff_t, expects size_t: (num) src/client/campaign/cp_airfight.c:65:364: Variable n__ shadows outer declaration src/client/campaign/cp_airfight.c:65:104: Previous definition of n__: size_t src/client/campaign/cp_airfight.c:65:372: Variable n__ initialized to type int, expects size_t: --(ccs.numProjectiles) src/client/campaign/cp_airfight.c:65:783: Assignment of int to size_t: n__ = (ccs.numProjectiles) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_AddProjectile) src/client/campaign/cp_airfight.c:96:9: Function assert expects arg 1 to be boolean gets objDef_t *: weaponSlot->item src/client/campaign/cp_airfight.c:101:100: Assignment of int to vec_t: projectile->pos[0][2] = (0) src/client/campaign/cp_airfight.c:102:110: Assignment of int to vec_t: projectile->attackerPos[2] = (0) src/client/campaign/cp_airfight.c:105:116: Assignment of int to vec_t: projectile->pos[0][2] = (0) src/client/campaign/cp_airfight.c:106:126: Assignment of int to vec_t: projectile->attackerPos[2] = (0) src/client/campaign/cp_airfight.c:108:10: Function assert expects arg 1 to be boolean gets aircraft_t *: attacker src/client/campaign/cp_airfight.c:109:3: Implicitly temp storage attacker assigned to implicitly only: projectile->attackingAircraft = attacker src/client/campaign/cp_airfight.c:110:90: Assignment of int to vec_t: projectile->pos[0][2] = (0) src/client/campaign/cp_airfight.c:112:4: Assignment of int to vec_t: projectile->attackerPos[0] = (0) src/client/campaign/cp_airfight.c:112:37: Assignment of int to vec_t: projectile->attackerPos[1] = (0) src/client/campaign/cp_airfight.c:112:70: Assignment of int to vec_t: projectile->attackerPos[2] = (0) src/client/campaign/cp_airfight.c:113:2: Variable attacker is kept in false branch, but not kept in true branch. src/client/campaign/cp_airfight.c:113:2: in false branch: src/client/campaign/cp_airfight.c:109:3: Storage attacker becomes kept src/client/campaign/cp_airfight.c:117:9: Function assert expects arg 1 to be boolean gets aircraft_t *: target src/client/campaign/cp_airfight.c:118:2: Implicitly temp storage target assigned to implicitly only: projectile->aimedAircraft = target src/client/campaign/cp_airfight.c:119:3: Assignment of int to vec_t: projectile->idleTarget[0] = (0) src/client/campaign/cp_airfight.c:119:35: Assignment of int to vec_t: projectile->idleTarget[1] = (0) src/client/campaign/cp_airfight.c:119:67: Assignment of int to vec_t: projectile->idleTarget[2] = (0) src/client/campaign/cp_airfight.c:124:24: Test expression for conditional not boolean, type qboolean: (weaponSlot->item->craftitem.bullets) src/client/campaign/cp_airfight.c:125:21: Test expression for conditional not boolean, type qboolean: (weaponSlot->item->craftitem.beam) src/client/campaign/cp_airfight.c:129:20: Storage weaponSlot->ammo reachable from passed parameter is kept (should be implicitly only): weaponSlot src/client/campaign/cp_airfight.c:98:2: Storage weaponSlot->ammo becomes kept src/client/campaign/cp_airfight.c:129:3: Return value (type qboolean) ignored: AII_ReloadWeapon... src/client/campaign/cp_airfight.c:133:15: Storage weaponSlot->ammo reachable from parameter is kept (should be implicitly only) src/client/campaign/cp_airfight.c:98:2: Storage weaponSlot->ammo becomes kept src/client/campaign/cp_airfight.c: (in function AIRFIGHT_MissTarget) src/client/campaign/cp_airfight.c:172:9: Function assert expects arg 1 to be boolean gets aircraftProjectile_t *: projectile src/client/campaign/cp_airfight.c:176:3: Implicitly only storage projectile->aimedAircraft (type aircraft_t *) not released before assignment: projectile->aimedAircraft = NULL src/client/campaign/cp_airfight.c:191:10: Function abs expects arg 1 to be int gets float: offset src/client/campaign/cp_airfight.c:191:6: Operands of < have incompatible types (int, float): abs(offset) < 0.1f src/client/campaign/cp_airfight.c:199:6: Operands of && are non-booleans (qboolean, aircraft_t *): returnToBase && projectile->attackingAircraft src/client/campaign/cp_airfight.c:205:2: Function returns with null storage derivable from parameter projectile->aimedAircraft src/client/campaign/cp_airfight.c:176:31: Storage projectile->aimedAircraft becomes null src/client/campaign/cp_airfight.c: (in function AIRFIGHT_CheckWeapon) src/client/campaign/cp_airfight.c:217:9: Function assert expects arg 1 to be boolean gets aircraftSlot_t *: slot src/client/campaign/cp_airfight.c:249:88: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:249:106: Function parameter targetPos declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_ChooseWeapon) src/client/campaign/cp_airfight.c:258:10: Function assert expects arg 1 to be boolean gets aircraftSlot_t *: slot src/client/campaign/cp_airfight.c: (in function AIRFIGHT_ExecuteActions) src/client/campaign/cp_airfight.c:331:9: Function assert expects arg 1 to be boolean gets aircraft_t *: shooter src/client/campaign/cp_airfight.c:332:9: Function assert expects arg 1 to be boolean gets aircraft_t *: target src/client/campaign/cp_airfight.c:342:30: Null storage passed as non-null param: AIRFIGHT_AddProjectile (NULL, ...) src/client/campaign/cp_airfight.c:342:36: Null storage passed as non-null param: AIRFIGHT_AddProjectile (..., NULL, ...) src/client/campaign/cp_airfight.c:342:7: Test expression for if not boolean, type qboolean: AIRFIGHT_AddProjectile(NULL, NULL, shooter, target, &(shooter->weapons[slotI dx])) src/client/campaign/cp_airfight.c:343:4: Assignment of float to int: shooter->weapons[slotIdx].delayNextShot = ammo->craftitem.weaponDelay src/client/campaign/cp_airfight.c:354:10: Operand of ! is non-boolean (qboolean): !shooter->detected src/client/campaign/cp_airfight.c:354:31: Right operand of && is non-boolean (qboolean): !shooter->detected && RADAR_CheckRadarSensored(shooter->pos) src/client/campaign/cp_airfight.c:356:68: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A UFO is shooting at %s") src/client/campaign/cp_airfight.c:356:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_airfight.c:356:65: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("A UFO is shooting at %s"), target->name) src/client/campaign/cp_airfight.c:356:141: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_airfight.c:356:6: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_airfight.c:367:4: Return value (type qboolean) ignored: UFO_SendPursuing... src/client/campaign/cp_airfight.c:369:4: Return value (type qboolean) ignored: AIR_SendAircraft... src/client/campaign/cp_airfight.c:373:4: Implicitly only storage shooter->aircraftTarget (type struct aircraft_s *) not released before assignment: shooter->aircraftTarget = NULL src/client/campaign/cp_airfight.c:374:25: Null storage shooter->aircraftTarget derivable from parameter CP_UFOProceedMission (shooter) src/client/campaign/cp_airfight.c:373:30: Storage shooter->aircraftTarget becomes null src/client/campaign/cp_airfight.c:376:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_airfight.c:376:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Our aircraft has no more ammo left - returning to home base now.") src/client/campaign/cp_airfight.c:376:139: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_airfight.c:376:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_airfight.c: (in function AIRFIGHT_UpdateProjectileForDestroyedAircraft) src/client/campaign/cp_airfight.c:417:3: Last reference attacker to implicitly only storage projectile->attackingAirc raft not released before scope exit src/client/campaign/cp_airfight.c:416:4: Original reference lost src/client/campaign/cp_airfight.c:418:2: Function returns with null storage derivable from global ccs.projectiles->attackingAircraft src/client/campaign/cp_airfight.c:416:36: Storage ccs.projectiles->attackingAircraft becomes null src/client/campaign/cp_airfight.c: (in function AIRFIGHT_ActionsAfterAirfight) src/client/campaign/cp_airfight.c:433:6: Test expression for if not boolean, type qboolean: phalanxWon src/client/campaign/cp_airfight.c:436:10: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_airfight.c:455:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Interception") src/client/campaign/cp_airfight.c:455:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("UFO interception successful -- UFO lost to sea.") src/client/campaign/cp_airfight.c:455:128: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_airfight.c:455:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_airfight.c:458:3: Fresh storage color not released before scope exit src/client/campaign/cp_airfight.c:448:3: Fresh storage color created src/client/campaign/cp_airfight.c:478:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Interception") src/client/campaign/cp_airfight.c:478:45: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've lost the battle") src/client/campaign/cp_airfight.c:478:104: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_airfight.c:478:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_airfight.c: (in function AIRFIGHT_ProjectileReachedTarget) src/client/campaign/cp_airfight.c:505:9: Function assert expects arg 1 to be boolean gets objDef_t *: projectile->aircraftItem src/client/campaign/cp_airfight.c: (in function AIRFIGHT_GetDamage) src/client/campaign/cp_airfight.c:527:9: Function assert expects arg 1 to be boolean gets objDef_t *: od src/client/campaign/cp_airfight.c:534:2: Assignment of float to int: damage = od->craftitem.weaponDamage src/client/campaign/cp_airfight.c: (in function AIRFIGHT_ProjectileHits) src/client/campaign/cp_airfight.c:552:9: Function assert expects arg 1 to be boolean gets aircraftProjectile_t *: projectile src/client/campaign/cp_airfight.c:554:9: Function assert expects arg 1 to be boolean gets aircraft_t *: target src/client/campaign/cp_airfight.c:557:6: Test expression for if not boolean, type qboolean: AIR_IsAircraftInBase(target) src/client/campaign/cp_airfight.c:570:73: Function AIRFIGHT_ActionsAfterAirfight expects arg 3 to be qboolean gets boolean: target->type == AIRCRAFT_UFO src/client/campaign/cp_airfight.c:582:88: Function parameter originalPoint declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:582:116: Function parameter orthogonalVector declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:582:141: Function parameter finalPoint declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_GetNextPointInPathFromVector) src/client/campaign/cp_airfight.c:586:28: Passed storage startPoint not completely defined (*startPoint is undefined): PolarToVec (..., startPoint) src/client/campaign/cp_airfight.c:587:26: Passed storage finalVectorPoint not completely defined (*finalVectorPoint is undefined): RotatePointAroundVector (finalVectorPoint, ...) src/client/campaign/cp_airfight.c:600:78: Function parameter originalPoint declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:600:106: Function parameter targetPoint declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:600:140: Function parameter finalPoint declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c:600:159: Function parameter orthogonalVector declared as manifest array (size constant is meaningless) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_GetNextPointInPath) src/client/campaign/cp_airfight.c:602:55: Null storage passed as non-null param: MAP_AngleOfPath (..., NULL, ...) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_CampaignRunProjectiles) src/client/campaign/cp_airfight.c:624:7: Test expression for if not boolean, type qboolean: AIRFIGHT_ProjectileReachedTarget(projectile, movement) src/client/campaign/cp_airfight.c:630:30: Possibly null storage projectile->aimedAircraft derivable from parameter AIRFIGHT_RemoveProjectile (projectile) src/client/campaign/cp_airfight.c:630:4: Return value (type qboolean) ignored: AIRFIGHT_RemoveP... src/client/campaign/cp_airfight.c:637:96: Passed storage &angle not completely defined: AIRFIGHT_GetNextPointInPath (..., &angle, ...) src/client/campaign/cp_airfight.c:637:104: Passed storage finalPoint not completely defined (*finalPoint is undefined): AIRFIGHT_GetNextPointInPath (..., finalPoint, ...) src/client/campaign/cp_airfight.c:637:116: Passed storage ortogonalVector not completely defined (*ortogonalVector is undefined): AIRFIGHT_GetNextPointInPath (..., ortogonalVector) src/client/campaign/cp_airfight.c:638:96: Passed storage projectedPoint not completely defined (*projectedPoint is undefined): AIRFIGHT_GetNextPointInPath (..., projectedPoint, ...) src/client/campaign/cp_airfight.c:640:88: Passed storage &angle not completely defined: AIRFIGHT_GetNextPointInPath (..., &angle, ...) src/client/campaign/cp_airfight.c:640:96: Passed storage finalPoint not completely defined (*finalPoint is undefined): AIRFIGHT_GetNextPointInPath (..., finalPoint, ...) src/client/campaign/cp_airfight.c:640:108: Passed storage ortogonalVector not completely defined (*ortogonalVector is undefined): AIRFIGHT_GetNextPointInPath (..., ortogonalVector) src/client/campaign/cp_airfight.c:641:88: Passed storage projectedPoint not completely defined (*projectedPoint is undefined): AIRFIGHT_GetNextPointInPath (..., projectedPoint, ...) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_BaseShoot) src/client/campaign/cp_airfight.c:678:8: Operand of ! is non-boolean (qboolean): !UFO_IsUFOSeenOnGeoscape(weapons[i].target) src/client/campaign/cp_airfight.c:699:36: Null storage passed as non-null param: AIRFIGHT_AddProjectile (..., NULL, ...) src/client/campaign/cp_airfight.c:699:42: Null storage passed as non-null param: AIRFIGHT_AddProjectile (..., NULL, ...) src/client/campaign/cp_airfight.c:699:7: Test expression for if not boolean, type qboolean: AIRFIGHT_AddProjectile(base, NULL, NULL, weapons[i].target, &weapons[i].slot) src/client/campaign/cp_airfight.c:700:4: Assignment of float to int: weapons[i].slot.delayNextShot = weapons[i].slot.ammo->craftitem.weaponDelay src/client/campaign/cp_airfight.c:702:44: Null storage passed as non-null param: AIRFIGHT_ProbabilityToHit (NULL, ...) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_InstallationShoot) src/client/campaign/cp_airfight.c:733:8: Operand of ! is non-boolean (qboolean): !UFO_IsUFOSeenOnGeoscape(weapons[i].target) src/client/campaign/cp_airfight.c:754:30: Null storage passed as non-null param: AIRFIGHT_AddProjectile (NULL, ...) src/client/campaign/cp_airfight.c:754:50: Null storage passed as non-null param: AIRFIGHT_AddProjectile (..., NULL, ...) src/client/campaign/cp_airfight.c:754:7: Test expression for if not boolean, type qboolean: AIRFIGHT_AddProjectile(NULL, installation, NULL, weapons[i].target, &weapons[i].slot) src/client/campaign/cp_airfight.c:755:4: Assignment of float to int: weapons[i].slot.delayNextShot = weapons[i].slot.ammo->craftitem.weaponDelay src/client/campaign/cp_airfight.c:757:44: Null storage passed as non-null param: AIRFIGHT_ProbabilityToHit (NULL, ...) src/client/campaign/cp_airfight.c: (in function AIRFIGHT_CampaignRunBaseDefence) src/client/campaign/cp_airfight.c:784:5: Return value (type qboolean) ignored: AII_ReloadWeapon... src/client/campaign/cp_airfight.c:791:5: Return value (type qboolean) ignored: AII_ReloadWeapon... src/client/campaign/cp_airfight.c:794:7: Test expression for if not boolean, type int: AII_BaseCanShoot(base) src/client/campaign/cp_airfight.c:795:8: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_DEFENCE_MISSILE) src/client/campaign/cp_airfight.c:797:8: Test expression for if not boolean, type qboolean: B_GetBuildingStatus(base, B_DEFENCE_LASER) src/client/campaign/cp_airfight.c:800:3: Fresh storage base not released before scope exit src/client/campaign/cp_airfight.c:774:49: Fresh storage base created src/client/campaign/cp_airfight.c:808:10: Function assert expects arg 1 to be boolean gets installation_t *: installation src/client/campaign/cp_airfight.c:817:5: Return value (type qboolean) ignored: AII_ReloadWeapon... src/client/campaign/cp_airfight.c:820:7: Test expression for if not boolean, type qboolean: AII_InstallationCanShoot(installation) src/client/campaign/cp_airfight.c:823:3: Fresh storage installation not released before scope exit src/client/campaign/cp_airfight.c:804:83: Fresh storage installation created src/client/campaign/cp_campaign.c: (in function CP_ParseCharacterData) src/client/campaign/cp_campaign.c:110:4: Fresh storage employee not released before scope exit src/client/campaign/cp_campaign.c:94:75: Fresh storage employee created src/client/campaign/cp_campaign.c:153:82: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.c: (in function CP_MapIsSelectable) src/client/campaign/cp_campaign.c:161:6: Test expression for if not boolean, type qboolean: md->storyRelated src/client/campaign/cp_campaign.c:164:90: Null storage passed as non-null param: MAP_PositionFitsTCPNTypes (..., NULL) src/client/campaign/cp_campaign.c:164:14: Operand of ! is non-boolean (qboolean): !MAP_PositionFitsTCPNTypes(pos, md->terrains, md->cultures, md->populations, NULL) src/client/campaign/cp_campaign.c:164:6: Left operand of && is non-boolean (vec2_t): pos && !MAP_PositionFitsTCPNTypes(pos, md->terrains, md->cultures, md->populations, NULL) src/client/campaign/cp_campaign.c:176:7: Test expression for if not boolean, type qboolean: ufoCrashed src/client/campaign/cp_campaign.c:177:39: New fresh storage (type char *) passed as implicitly temp (not released): Com_UFOCrashedTypeToShortName(mission->ufo->ufotype) src/client/campaign/cp_campaign.c:180:39: New fresh storage (type char *) passed as implicitly temp (not released): Com_UFOTypeToShortName(mission->ufo->ufotype) src/client/campaign/cp_campaign.c:195:57: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.c: (in function CP_ChooseMap) src/client/campaign/cp_campaign.c:203:2: Implicitly only storage mission->mapDef (type mapDef_t *) not released before assignment: mission->mapDef = NULL src/client/campaign/cp_campaign.c:206:9: Test expression for while not boolean, type int: maxHits src/client/campaign/cp_campaign.c:212:28: Null storage mission->mapDef derivable from parameter CP_MapIsSelectable (mission, ...) src/client/campaign/cp_campaign.c:203:20: Storage mission->mapDef becomes null src/client/campaign/cp_campaign.c:212:9: Operand of ! is non-boolean (qboolean): !CP_MapIsSelectable(mission, i, pos, ufoCrashed) src/client/campaign/cp_campaign.c:234:7: Operand of ! is non-boolean (int): !maxHits src/client/campaign/cp_campaign.c:236:7: Test expression for if not boolean, type qboolean: ufoCrashed src/client/campaign/cp_campaign.c:245:8: Test expression for if not boolean, type vec2_t: pos src/client/campaign/cp_campaign.c:247:8: Test expression for if not boolean, type vec2_t: pos src/client/campaign/cp_campaign.c:267:27: Null storage mission->mapDef derivable from parameter CP_MapIsSelectable (mission, ...) src/client/campaign/cp_campaign.c:203:20: Storage mission->mapDef becomes null src/client/campaign/cp_campaign.c:267:8: Operand of ! is non-boolean (qboolean): !CP_MapIsSelectable(mission, i, pos, ufoCrashed) src/client/campaign/cp_campaign.c:277:8: Operand of ! is non-boolean (int): !randomNum src/client/campaign/cp_campaign.c:286:2: Immediate address &csi.mds[] assigned to implicitly only: mission->mapDef = &csi.mds[i] src/client/campaign/cp_campaign.c: (in function CP_EndCampaign) src/client/campaign/cp_campaign.c:299:6: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_campaign.c:300:27: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/campaign/cp_campaign.c:302:28: Null storage passed as non-null param: MN_InitStack (..., NULL, ...) src/client/campaign/cp_campaign.c: (in function CP_CheckLostCondition) src/client/campaign/cp_campaign.c:316:7: Operand of ! is non-boolean (qboolean): !endCampaign src/client/campaign/cp_campaign.c:317:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've gone too far into debt.") src/client/campaign/cp_campaign.c:324:7: Operand of ! is non-boolean (int): !ccs.numBases src/client/campaign/cp_campaign.c:325:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've lost your bases and don't have enough money to build new ones.") src/client/campaign/cp_campaign.c:329:7: Operand of ! is non-boolean (qboolean): !endCampaign src/client/campaign/cp_campaign.c:331:35: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You have failed in your charter to protect Earth." " Our home and our people have fallen to the alien infection. Only a handful" " of people on Earth remain human, and the remaining few no longer have a" " chance to stem the tide. Your command is no more; PHALANX is no longer" " able to operate as a functioning unit. Nothing stands between the aliens" " and total victory.") src/client/campaign/cp_campaign.c:347:8: Operands of >= have incompatible types (int, float): nationBelowLimit >= nationBelowLimitPercentage * ccs.numNations src/client/campaign/cp_campaign.c:349:36: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Under your command, PHALANX operations have" " consistently failed to protect nations." " The UN, highly unsatisfied with your performance, has decided to remove" " you from command and subsequently disbands the PHALANX project as an" " effective task force. No further attempts at global cooperation are made." " Earth's nations each try to stand alone against the aliens, and eventually" " fall one by one.") src/client/campaign/cp_campaign.c:361:6: Test expression for if not boolean, type qboolean: endCampaign src/client/campaign/cp_campaign.c: (in function CL_HandleNationData) src/client/campaign/cp_campaign.c:395:2: Assignment of int to float: performanceAlien = ccs.missionResults.aliensKilled + ccs.missionResults.alie nsStunned - alienSum src/client/campaign/cp_campaign.c:399:2: Test expression for conditional not boolean, type qboolean: won src/client/campaign/cp_campaign.c:402:2: Assignment of double to float: deltaHappiness = 0.004 * civilianSum + 0.004 * alienSum src/client/campaign/cp_campaign.c:421:7: Operand of ! is non-boolean (int): !isOnEarth src/client/campaign/cp_campaign.c: (in function CP_CheckMissionEnd) src/client/campaign/cp_campaign.c:439:7: Operands of && are non-boolean (qboolean): CP_CheckMissionLimitedInTime(mission) && Date_LaterThan(ccs.date, mission->finalDate) src/client/campaign/cp_campaign.c: (in function CL_SecondConvert) src/client/campaign/cp_campaign.c:458:2: Return value (type qboolean) ignored: Com_sprintf(buff... src/client/campaign/cp_campaign.c:459:9: Unqualified static storage buffer returned as implicitly only: buffer src/client/campaign/cp_campaign.c: (in function CL_DateConvert) src/client/campaign/cp_campaign.c:479:2: Assignment of int to short int: *year = date->day / 365 src/client/campaign/cp_campaign.c:492:2: Assignment of int to byte: *day = d + 1 src/client/campaign/cp_campaign.c:495:22: Operands of <= have incompatible types (byte, int): *day <= monthLength[i] src/client/campaign/cp_campaign.c: (in function CL_DateCreateDay) src/client/campaign/cp_campaign.c:514:14: Operands of < have incompatible types (int, byte): i < months src/client/campaign/cp_campaign.c: (in function CL_DateCreateSeconds) src/client/campaign/cp_campaign.c:534:2: Assignment of arbitrary unsigned integral type to int: sec = 3600 * hours src/client/campaign/cp_campaign.c: (in function CL_DateConvertLong) src/client/campaign/cp_campaign.c:554:2: Assignment of int to byte: dateLong->hour = date->sec / 3600 src/client/campaign/cp_campaign.c: (in function CL_CampaignFunctionPeriodicCall) src/client/campaign/cp_campaign.c:572:2: Return value (type qboolean) ignored: CP_CheckNewMissi... src/client/campaign/cp_campaign.c:580:2: Return value (type qboolean) ignored: UFO_CampaignChec... src/client/campaign/cp_campaign.c: (in function CL_CampaignRun) src/client/campaign/cp_campaign.c:600:41: Function floor expects arg 1 to be double gets int: ccs.date.sec src/client/campaign/cp_campaign.c:615:28: Function floor expects arg 1 to be double gets int: ccs.date.sec / 3600 src/client/campaign/cp_campaign.c:616:27: Function floor expects arg 1 to be double gets int: ccs.date.sec / 60 src/client/campaign/cp_campaign.c:628:8: Test expression for if not boolean, type qboolean: CL_IsTimeStopped() src/client/campaign/cp_campaign.c:642:34: Function floor expects arg 1 to be double gets int: ccs.date.sec / 60 src/client/campaign/cp_campaign.c:649:35: Function floor expects arg 1 to be double gets int: ccs.date.sec / 3600 src/client/campaign/cp_campaign.c:684:3: Return value (type int) ignored: UP_GetUnreadMails() src/client/campaign/cp_campaign.c:692:33: Passed storage date contains 6 undefined fields: year, month, day, hour, ... src/client/campaign/cp_campaign.c:694:24: Right operand of && is non-boolean (qboolean): date.day == 1 && ccs.fund src/client/campaign/cp_campaign.c:694:36: Right operand of && is non-boolean (int): date.day == 1 && ccs.fund && ccs.numBases src/client/campaign/cp_campaign.c: (in function CL_UpdateCredits) src/client/campaign/cp_campaign.c:718:28: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i c") src/client/campaign/cp_campaign.c:718:25: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i c"), ccs.credits) src/client/campaign/cp_campaign.c:718:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_cre... src/client/campaign/cp_campaign.c: (in function CL_StatsUpdate_f) src/client/campaign/cp_campaign.c:740:25: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Won:\t%i\nLost:\t%i\n\n") src/client/campaign/cp_campaign.c:740:2: Return value (type qboolean) ignored: Com_sprintf(pos,... src/client/campaign/cp_campaign.c:745:19: Function Com_sprintf expects arg 2 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:745:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Built:\t%i\nActive:\t%i\nAttacked:\t%i\n") src/client/campaign/cp_campaign.c:753:41: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:753:17: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\n", inst->name) src/client/campaign/cp_campaign.c:760:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\t%s\n") src/client/campaign/cp_campaign.c:760:113: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:760:17: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s\t%s\n"), gettext(ccs.nations[i].name), NAT_GetHappinessString (&ccs.nations[i])) src/client/campaign/cp_campaign.c:763:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("\nFunding this month:\t%d") src/client/campaign/cp_campaign.c:763:70: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:763:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("\nFunding this month:\t%d"), totalfunds) src/client/campaign/cp_campaign.c:767:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_SCIENTIST][i].hired src/client/campaign/cp_campaign.c:773:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_SOLDIER][i].hired src/client/campaign/cp_campaign.c:779:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_WORKER][i].hired src/client/campaign/cp_campaign.c:785:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_PILOT][i].hired src/client/campaign/cp_campaign.c:791:7: Test expression for if not boolean, type qboolean: ccs.employees[EMPL_ROBOT][i].hired src/client/campaign/cp_campaign.c:801:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s\t%i\n") src/client/campaign/cp_campaign.c:801:76: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:801:17: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%s\t%i\n"), E_GetEmployeeString(i), hired[i]) src/client/campaign/cp_campaign.c:807:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Employees:\t%i c\n") src/client/campaign/cp_campaign.c:807:58: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:807:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Employees:\t%i c\n"), costs) src/client/campaign/cp_campaign.c:819:3: Fresh storage base not released before scope exit src/client/campaign/cp_campaign.c:812:55: Fresh storage base created src/client/campaign/cp_campaign.c:820:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Aircraft:\t%i c\n") src/client/campaign/cp_campaign.c:820:57: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:820:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Aircraft:\t%i c\n"), costs) src/client/campaign/cp_campaign.c:831:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base (%s):\t%i c\n") src/client/campaign/cp_campaign.c:831:71: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:831:17: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Base (%s):\t%i c\n"), base->name, costs) src/client/campaign/cp_campaign.c:833:3: Fresh storage base not released before scope exit src/client/campaign/cp_campaign.c:824:55: Fresh storage base created src/client/campaign/cp_campaign.c:836:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Administrative costs:\t%i c\n") src/client/campaign/cp_campaign.c:836:69: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:836:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Administrative costs:\t%i c\n"), costs) src/client/campaign/cp_campaign.c:840:26: Variable interest initialized to type int, expects float: ccs.credits * ccs.salaries[ccs.curCampaign->idx].debt_interest src/client/campaign/cp_campaign.c:843:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Debt:\t%i c\n") src/client/campaign/cp_campaign.c:843:54: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:843:17: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Debt:\t%i c\n"), costs) src/client/campaign/cp_campaign.c:846:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("\n\t-------\nSum:\t%i c\n") src/client/campaign/cp_campaign.c:846:63: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:846:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("\n\t-------\nSum:\t%i c\n"), sum) src/client/campaign/cp_campaign.c:851:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Max. allowed debts: %ic\n") src/client/campaign/cp_campaign.c:852:3: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:851:16: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Max. allowed debts: %ic\n"), ccs.curCampaign->negativeCreditsUnt ilLost) src/client/campaign/cp_campaign.c:855:6: Test expression for if not boolean, type qboolean: CP_IsXVIResearched() src/client/campaign/cp_campaign.c:856:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Max. allowed eXtraterrestial Viral Infection: %i%%\n" "Current eXtraterrestial Viral Infection: %i%%") src/client/campaign/cp_campaign.c:860:4: Function Q_strcat expects arg 3 to be size_t gets ptrdiff_t: (ptrdiff_t)(&statsBuffer[2048] - pos) src/client/campaign/cp_campaign.c:856:17: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Max. allowed eXtraterrestial Viral Infection: %i%%\n" "Current eXtraterrestial Viral Infection: %i%%"), ccs.curCampaign->maxAllowedXVIRateUntilLost, CP_GetAverageXVIRate()) src/client/campaign/cp_campaign.c: (in function CP_LoadXML) src/client/campaign/cp_campaign.c:878:17: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:884:17: Fresh storage name not released before return src/client/campaign/cp_campaign.c:876:8: Fresh storage name created src/client/campaign/cp_campaign.c:884:17: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:916:19: Function CL_UpdateCredits expects arg 1 to be int gets long int: mxml_GetLong(n_ccs, "credits", 0) src/client/campaign/cp_campaign.c:924:86: Right operand of && is non-boolean (mxml_node_t *): i < INTERESTCATEGORY_MAX && act_node src/client/campaign/cp_campaign.c:925:10: Fresh storage act_node (type mxml_node_t *) not released before assignment (in post loop increment): act_node = mxml_GetNextNode(act_node, n_ccs, "interest") src/client/campaign/cp_campaign.c:924:14: Fresh storage act_node created src/client/campaign/cp_campaign.c:947:3: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(act_node, "mapDef_id") src/client/campaign/cp_campaign.c:876:8: Fresh storage name created src/client/campaign/cp_campaign.c:948:7: Left operand of && is non-boolean (char *): name && name[0] != '\0' src/client/campaign/cp_campaign.c:949:4: Implicitly only storage mission.mapDef (type mapDef_t *) not released before assignment: mission.mapDef = Com_GetMapDefinitionByID(name) src/client/campaign/cp_campaign.c:952:19: Fresh storage name not released before return src/client/campaign/cp_campaign.c:947:3: Fresh storage name created src/client/campaign/cp_campaign.c:952:19: Only storage mission.data (type void *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:952:19: Only storage mission.ufo (type aircraft_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:952:19: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:952:19: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:952:19: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:956:4: Implicitly only storage mission.mapDef (type mapDef_t *) not released before assignment: mission.mapDef = NULL src/client/campaign/cp_campaign.c:958:33: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(act_node, "id") src/client/campaign/cp_campaign.c:960:36: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(act_node, "onwin") src/client/campaign/cp_campaign.c:961:37: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(act_node, "onlose") src/client/campaign/cp_campaign.c:975:13: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_campaign.c:978:6: Implicitly only storage mission.data (type void *) not released before assignment: mission.data = (void *)base src/client/campaign/cp_campaign.c:989:7: Implicitly only storage mission.data (type void *) not released before assignment: mission.data = (void *)installation src/client/campaign/cp_campaign.c:992:21: Only storage mission.mapDef (type mapDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:992:21: Only storage mission.data (type void *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:992:21: Only storage mission.ufo (type aircraft_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:992:21: Fresh storage name not released before return src/client/campaign/cp_campaign.c:947:3: Fresh storage name created src/client/campaign/cp_campaign.c:992:21: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:992:21: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:992:21: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1004:6: Implicitly only storage mission.data (type void *) not released before assignment: mission.data = (void *)alienBase src/client/campaign/cp_campaign.c:1006:71: Possibly null storage mission.mapDef derivable from parameter CP_BasemissionIsSubvertingGovernmentMission (&mission) src/client/campaign/cp_campaign.c:956:21: Storage mission.mapDef may become null src/client/campaign/cp_campaign.c:1006:27: Operand of ! is non-boolean (qboolean): !CP_BasemissionIsSubvertingGovernmentMission(&mission) src/client/campaign/cp_campaign.c:1009:20: Only storage mission.mapDef (type mapDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:1009:20: Only storage mission.data (type void *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:1009:20: Only storage mission.ufo (type aircraft_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:1009:20: Fresh storage name not released before return src/client/campaign/cp_campaign.c:947:3: Fresh storage name created src/client/campaign/cp_campaign.c:1009:20: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:1009:20: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:1009:20: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1017:39: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(act_node, "location") src/client/campaign/cp_campaign.c:1024:3: Return value (type mxml_node_t *) ignored: mxml_GetPos2(act... src/client/campaign/cp_campaign.c:1028:4: Implicitly only storage mission.ufo (type aircraft_t *) not released before assignment: mission.ufo = NULL src/client/campaign/cp_campaign.c:1030:4: Implicitly only storage mission.ufo (type aircraft_t *) not released before assignment: mission.ufo = ccs.ufos + ufoIdx src/client/campaign/cp_campaign.c:1030:4: Unqualified storage ccs.ufos + ufoIdx assigned to implicitly only: mission.ufo = ccs.ufos + ufoIdx src/client/campaign/cp_campaign.c:1039:3: Return value (type linkedList_t *) ignored: LIST_Add(&ccs.mi... src/client/campaign/cp_campaign.c:1040:3: Only storage mission.mapDef (type mapDef_t *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:1040:3: Only storage mission.data (type void *) derived from variable declared in this scope is not released (memory leak) src/client/campaign/cp_campaign.c:1048:52: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(bparam, "mission.id") src/client/campaign/cp_campaign.c:1048:3: Implicitly only storage ccs.battleParameters.mission (type mission_t *) not released before assignment: ccs.battleParameters.mission = CP_GetMissionByID(mxml_GetString(bparam, "mission.id")) src/client/campaign/cp_campaign.c:1049:3: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(bparam, "aliencategories.id") src/client/campaign/cp_campaign.c:876:8: Fresh storage name created src/client/campaign/cp_campaign.c:1053:9: Operand of ! is non-boolean (int): !strncmp(name, ccs.alienCategories[i].id, sizeof((ccs.alienCategories[i].id) )) src/client/campaign/cp_campaign.c:1058:18: Fresh storage name not released before return src/client/campaign/cp_campaign.c:1049:3: Fresh storage name created src/client/campaign/cp_campaign.c:1058:18: Fresh storage bparam not released before return src/client/campaign/cp_campaign.c:1046:7: Fresh storage bparam created src/client/campaign/cp_campaign.c:1058:18: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:1058:18: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:1058:18: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1064:18: Fresh storage name not released before return src/client/campaign/cp_campaign.c:1049:3: Fresh storage name created src/client/campaign/cp_campaign.c:1064:18: Fresh storage bparam not released before return src/client/campaign/cp_campaign.c:1046:7: Fresh storage bparam created src/client/campaign/cp_campaign.c:1064:18: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:1064:18: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:1064:18: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1066:3: Implicitly only storage ccs.battleParameters.alienTeamGroup (type alienTeamGroup_t *) not released before assignment: ccs.battleParameters.alienTeamGroup = &ccs.alienCategories[i].alienTeamGroup s[j] src/client/campaign/cp_campaign.c:1066:3: Immediate address &ccs.alienCategories[].alienTeamGroups[] assigned to implicitly only: ccs.battleParameters.alienTeamGroup = &ccs.alienCategories[ i].alienTeamGroups[j] src/client/campaign/cp_campaign.c:1067:3: Fresh storage name (type char *) not released before assignment: name = mxml_GetString(bparam, "param") src/client/campaign/cp_campaign.c:1049:3: Fresh storage name created src/client/campaign/cp_campaign.c:1068:7: Left operand of && is non-boolean (char *): name && name[0] != '\0' src/client/campaign/cp_campaign.c:1069:4: Implicitly only storage ccs.battleParameters.param (type char *) not released before assignment: ccs.battleParameters.param = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk /src/client/campaign/cp_campaign.c", 1069) src/client/campaign/cp_campaign.c:1071:4: Implicitly only storage ccs.battleParameters.param (type char *) not released before assignment: ccs.battleParameters.param = NULL src/client/campaign/cp_campaign.c:1073:58: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(bparam, "alienequipment") src/client/campaign/cp_campaign.c:1074:51: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(bparam, "civteam") src/client/campaign/cp_campaign.c:1082:6: Left operand of && is non-boolean (char *): missionId && missionId[0] != '\0' src/client/campaign/cp_campaign.c:1083:3: Implicitly only storage ccs.selectedMission (type mission_t *) not released before assignment: ccs.selectedMission = CP_GetMissionByID(missionId) src/client/campaign/cp_campaign.c:1085:3: Implicitly only storage ccs.selectedMission (type mission_t *) not released before assignment: ccs.selectedMission = NULL src/client/campaign/cp_campaign.c:1099:12: Function assert expects arg 1 to be boolean gets char *: base->aircraft[j].missionID src/client/campaign/cp_campaign.c:1105:6: Return value (type uint32_t) ignored: _Mem_Free((base-... src/client/campaign/cp_campaign.c:1107:20: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1093:43: Fresh storage base created src/client/campaign/cp_campaign.c:1107:20: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:1107:20: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:1107:20: Fresh storage bparam not released before return src/client/campaign/cp_campaign.c:1046:7: Fresh storage bparam created src/client/campaign/cp_campaign.c:1107:20: Fresh storage name not released before return src/client/campaign/cp_campaign.c:876:8: Fresh storage name created src/client/campaign/cp_campaign.c:1107:20: Fresh storage missionId not released before return src/client/campaign/cp_campaign.c:1081:2: Fresh storage missionId created src/client/campaign/cp_campaign.c:1107:20: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1107:20: Function returns with null storage derivable from global ccs.battleParameters.param src/client/campaign/cp_campaign.c:1071:33: Storage ccs.battleParameters.param becomes null src/client/campaign/cp_campaign.c:1107:20: Function returns with null storage derivable from global ccs.selectedMission src/client/campaign/cp_campaign.c:1085:25: Storage ccs.selectedMission becomes null src/client/campaign/cp_campaign.c:1109:5: Return value (type uint32_t) ignored: _Mem_Free((base-... src/client/campaign/cp_campaign.c:1113:3: Fresh storage base not released before scope exit src/client/campaign/cp_campaign.c:1093:43: Fresh storage base created src/client/campaign/cp_campaign.c:1116:15: Fresh storage campaignNode not released before return src/client/campaign/cp_campaign.c:871:2: Fresh storage campaignNode created src/client/campaign/cp_campaign.c:1116:15: Fresh storage n_ccs not released before return src/client/campaign/cp_campaign.c:895:2: Fresh storage n_ccs created src/client/campaign/cp_campaign.c:1116:15: Fresh storage bparam not released before return src/client/campaign/cp_campaign.c:1046:7: Fresh storage bparam created src/client/campaign/cp_campaign.c:1116:15: Fresh storage name not released before return src/client/campaign/cp_campaign.c:876:8: Fresh storage name created src/client/campaign/cp_campaign.c:1116:15: Fresh storage missionId not released before return src/client/campaign/cp_campaign.c:1081:2: Fresh storage missionId created src/client/campaign/cp_campaign.c:1116:15: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:881:2: Fresh storage campaign created src/client/campaign/cp_campaign.c: (in function CP_SaveXML) src/client/campaign/cp_campaign.c:1130:55: Function mxml_AddShort expects arg 3 to be short int gets int: cls.nextUniqueCharacterNumber src/client/campaign/cp_campaign.c:1142:48: Function mxml_AddShort expects arg 3 to be short int gets int: r_geoscape_overlay->integer src/client/campaign/cp_campaign.c:1147:60: Function mxml_AddShort expects arg 3 to be short int gets int: ccs.lastInterestIncreaseDelay src/client/campaign/cp_campaign.c:1148:58: Function mxml_AddShort expects arg 3 to be short int gets int: ccs.lastMissionSpawnedDelay src/client/campaign/cp_campaign.c:1150:42: Function mxml_AddShort expects arg 3 to be short int gets int: ccs.overallInterest src/client/campaign/cp_campaign.c:1154:38: Function mxml_AddShort expects arg 3 to be short int gets int: ccs.interest[i] src/client/campaign/cp_campaign.c:1155:3: Fresh storage substructure not released before scope exit src/client/campaign/cp_campaign.c:1153:72: Fresh storage substructure created src/client/campaign/cp_campaign.c:1163:42: Function mxml_AddShort expects arg 3 to be short int gets int: CP_CountMission() src/client/campaign/cp_campaign.c:1187:12: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_campaign.c:1188:42: Function mxml_AddShort expects arg 3 to be short int gets int: base->idx src/client/campaign/cp_campaign.c:1195:51: Function mxml_AddShort expects arg 3 to be short int gets int: installation->idx src/client/campaign/cp_campaign.c:1205:48: Function mxml_AddShort expects arg 3 to be short int gets int: base->idx src/client/campaign/cp_campaign.c:1212:53: Function mxml_AddShort expects arg 3 to be short int gets int: mission->initialOverallInterest src/client/campaign/cp_campaign.c:1213:56: Function mxml_AddShort expects arg 3 to be short int gets int: mission->initialIndividualInterest src/client/campaign/cp_campaign.c:1222:3: Fresh storage missions not released before scope exit src/client/campaign/cp_campaign.c:1166:62: Fresh storage missions created src/client/campaign/cp_campaign.c:1229:51: Function mxml_AddShort expects arg 3 to be short int gets int: ccs.battleParameters.alienTeamGroup->idx src/client/campaign/cp_campaign.c:1236:3: Fresh storage battleparam not released before scope exit src/client/campaign/cp_campaign.c:1226:77: Fresh storage battleparam created src/client/campaign/cp_campaign.c:1239:15: Fresh storage campaign not released before return src/client/campaign/cp_campaign.c:1126:2: Fresh storage campaign created src/client/campaign/cp_campaign.c:1239:15: Fresh storage structure_ccs not released before return src/client/campaign/cp_campaign.c:1132:2: Fresh storage structure_ccs created src/client/campaign/cp_campaign.c:1239:15: Function returns with possibly null storage derivable from global ccs.battleParameters.mission src/client/campaign/cp_campaign.c:1239:15: Function returns with possibly null storage derivable from global ccs.selectedMission src/client/campaign/cp_campaign.c: (in function STATS_SaveXML) src/client/campaign/cp_campaign.c:1264:15: Fresh storage stats not released before return src/client/campaign/cp_campaign.c:1246:2: Fresh storage stats created src/client/campaign/cp_campaign.c: (in function STATS_LoadXML) src/client/campaign/cp_campaign.c:1294:15: Fresh storage stats not released before return src/client/campaign/cp_campaign.c:1271:2: Fresh storage stats created src/client/campaign/cp_campaign.c: (in function CP_StartSelectedMission) src/client/campaign/cp_campaign.c:1316:3: Clauses exit with ccs.missionAircraft->mission referencing kept storage in true branch, implicitly only storage in continuation src/client/campaign/cp_campaign.c:1316:3: Storage ccs.missionAircraft->mission becomes kept src/client/campaign/cp_campaign.c:1316:3: Storage aircraft->mission is kept in one path, but live in another. src/client/campaign/cp_campaign.c:1316:3: Storage aircraft->mission becomes kept src/client/campaign/cp_campaign.c:1320:10: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1313:2: Fresh storage base created src/client/campaign/cp_campaign.c:1320:10: Storage ccs.missionAircraft->mission reachable from global is unqualified (should be implicitly only) src/client/campaign/cp_campaign.c:1329:7: Operand of ! is non-boolean (qboolean): !mis->active src/client/campaign/cp_campaign.c:1331:10: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1313:2: Fresh storage base created src/client/campaign/cp_campaign.c:1331:10: Storage ccs.missionAircraft->mission reachable from global is unqualified (should be implicitly only) src/client/campaign/cp_campaign.c:1335:10: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1313:2: Fresh storage base created src/client/campaign/cp_campaign.c:1335:10: Storage ccs.missionAircraft->mission reachable from global is unqualified (should be implicitly only) src/client/campaign/cp_campaign.c:1351:25: Passed storage *aircraft contains 1 undefined field: mission src/client/campaign/cp_campaign.c:1354:2: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1313:2: Fresh storage base created src/client/campaign/cp_campaign.c:1354:2: Storage ccs.missionAircraft->mission reachable from global is unqualified (should be implicitly only) src/client/campaign/cp_campaign.c: (in function CP_GetWinProbabilty) src/client/campaign/cp_campaign.c:1370:10: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_campaign.c:1376:4: Assignment of double to float: winProbability = exp((0.5 - .15 * ccs.curCampaign->difficulty) * aircraft->teamSize - ccs.battleParameters.aliens) src/client/campaign/cp_campaign.c:1381:4: Assignment of double to float: winProbability = exp((0.5 - .15 * ccs.curCampaign->difficulty) * aircraft->teamSize - ccs.battleParameters.aliens) src/client/campaign/cp_campaign.c:1385:4: Assignment of double to float: winProbability = exp((0.5 - .15 * ccs.curCampaign->difficulty) * aircraft->teamSize - ccs.battleParameters.aliens) src/client/campaign/cp_campaign.c:1393:17: Variable ugvs shadows outer declaration src/client/cl_ugv.c:33:7: Previous definition of ugvs: ugv_t [8] src/client/campaign/cp_campaign.c:1395:67: Null storage hiredSoldiers derivable from parameter E_GetHiredEmployees (..., &hiredSoldiers) src/client/campaign/cp_campaign.c:1392:33: Storage hiredSoldiers becomes null src/client/campaign/cp_campaign.c:1396:61: Null storage ugvs derivable from parameter E_GetHiredEmployees (..., &ugvs) src/client/campaign/cp_campaign.c:1393:24: Storage ugvs becomes null src/client/campaign/cp_campaign.c:1398:10: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_campaign.c:1402:7: Operands of || are non-boolean (int): numSoldiers || numUGVs src/client/campaign/cp_campaign.c:1408:10: Operand of ! is non-boolean (qboolean): !E_IsAwayFromBase(employee) src/client/campaign/cp_campaign.c:1412:10: Test expression for if not boolean, type int: score->assignedMissions src/client/campaign/cp_campaign.c:1418:7: Fresh storage rank not released before scope exit src/client/campaign/cp_campaign.c:1413:51: Fresh storage rank created src/client/campaign/cp_campaign.c:1427:10: Operand of ! is non-boolean (qboolean): !E_IsAwayFromBase(employee) src/client/campaign/cp_campaign.c:1435:6: Fresh storage rank not released before scope exit src/client/campaign/cp_campaign.c:1430:50: Fresh storage rank created src/client/campaign/cp_campaign.c:1439:4: Assignment of double to float: winProbability = exp((0.5 - .15 * ccs.curCampaign->difficulty) * numSoldiers - ccs.battleParameters.aliens) src/client/campaign/cp_campaign.c: (in function CL_AutoMissionAlienCollect) src/client/campaign/cp_campaign.c:1466:7: Operand of ! is non-boolean (int): !aliens src/client/campaign/cp_campaign.c:1469:19: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_campaign.c:1469:38: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Collected dead alien bodies") src/client/campaign/cp_campaign.c:1469:100: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1469:2: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c:1475:9: Operand of ! is non-boolean (int): !addDeadAlienAmount src/client/campaign/cp_campaign.c:1478:11: Function assert expects arg 1 to be boolean gets teamDef_t *: ccs.battleParameters.alienTeamGroup->alienTeams[i] src/client/campaign/cp_campaign.c:1479:4: Return value (type qboolean) ignored: AL_AddAlienTypeT... src/client/campaign/cp_campaign.c:1481:9: Operand of ! is non-boolean (int): !aliens src/client/campaign/cp_campaign.c: (in function CL_GameAutoGo) src/client/campaign/cp_campaign.c:1503:9: Function assert expects arg 1 to be boolean gets mission_t *: mis src/client/campaign/cp_campaign.c:1513:8: Operand of ! is non-boolean (qboolean): !mis->active src/client/campaign/cp_campaign.c:1514:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_campaign.c:1514:40: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Your dropship is not near the landing zone") src/client/campaign/cp_campaign.c:1514:117: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1514:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c:1516:14: Test expression for if not boolean, type qboolean: mis->mapDef->storyRelated src/client/campaign/cp_campaign.c:1519:4: Return value (type cvar_t *) ignored: Cvar_Set("cp_mis... src/client/campaign/cp_campaign.c:1523:45: Null storage passed as non-null param: CP_GetWinProbabilty (..., NULL, ...) src/client/campaign/cp_campaign.c:1525:66: Null storage passed as non-null param: CP_GetWinProbabilty (..., NULL) src/client/campaign/cp_campaign.c:1530:2: Assignment of boolean to qboolean: won = frand() < winProbability src/client/campaign/cp_campaign.c:1543:6: Operands of && are non-boolean (qboolean): won && ccs.missionResults.recovery src/client/campaign/cp_campaign.c:1557:24: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_campaign.c:1557:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("w... src/client/campaign/cp_campaign.c:1563:10: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_campaign.c:1565:7: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_campaign.c:1569:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Defence of base: %s successful!") src/client/campaign/cp_campaign.c:1569:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_campaign.c:1570:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_campaign.c:1570:80: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1570:4: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c:1578:7: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_campaign.c:1582:6: Test expression for if not boolean, type qboolean: won src/client/campaign/cp_campaign.c:1583:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_campaign.c:1583:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've won the battle") src/client/campaign/cp_campaign.c:1583:95: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1583:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c:1585:20: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_campaign.c:1585:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've lost the battle") src/client/campaign/cp_campaign.c:1585:96: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1585:3: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c: (in function CP_InitMissionResults) src/client/campaign/cp_campaign.c:1602:46: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Aliens killed\t%i\n") src/client/campaign/cp_campaign.c:1602:2: Return value (type qboolean) ignored: Com_sprintf(resu... src/client/campaign/cp_campaign.c:1603:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Aliens captured\t%i\n") src/client/campaign/cp_campaign.c:1603:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Aliens captured\t%i\n"), ccs.missionResults.aliensStunned) src/client/campaign/cp_campaign.c:1604:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Alien survivors\t%i\n\n") src/client/campaign/cp_campaign.c:1604:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Alien survivors\t%i\n\n"), ccs.missionResults.aliensSurvived) src/client/campaign/cp_campaign.c:1606:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("PHALANX soldiers killed by Aliens\t%i\n") src/client/campaign/cp_campaign.c:1606:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("PHALANX soldiers killed by Aliens\t%i\n"), ccs.missionResults.ow nKilled) src/client/campaign/cp_campaign.c:1607:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("PHALANX soldiers missing in action\t%i\n") src/client/campaign/cp_campaign.c:1607:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("PHALANX soldiers missing in action\t%i\n"), ccs.missionResults.ownStunned) src/client/campaign/cp_campaign.c:1608:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("PHALANX friendly fire losses\t%i\n") src/client/campaign/cp_campaign.c:1608:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("PHALANX friendly fire losses\t%i\n"), ccs.missionResults.ownKill edFriendlyFire) src/client/campaign/cp_campaign.c:1609:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("PHALANX survivors\t%i\n\n") src/client/campaign/cp_campaign.c:1609:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("PHALANX survivors\t%i\n\n"), ccs.missionResults.ownSurvived) src/client/campaign/cp_campaign.c:1611:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Civilians killed by Aliens\t%i\n") src/client/campaign/cp_campaign.c:1611:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Civilians killed by Aliens\t%i\n"), ccs.missionResults.civilians Killed) src/client/campaign/cp_campaign.c:1612:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Civilians killed by friendly fire\t%i\n") src/client/campaign/cp_campaign.c:1612:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Civilians killed by friendly fire\t%i\n"), ccs.missionResults.ci viliansKilledFriendlyFire) src/client/campaign/cp_campaign.c:1613:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Civilians saved\t%i\n\n") src/client/campaign/cp_campaign.c:1613:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Civilians saved\t%i\n\n"), ccs.missionResults.civiliansSurvived) src/client/campaign/cp_campaign.c:1614:26: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Gathered items (types/all)\t%i/%i\n") src/client/campaign/cp_campaign.c:1614:23: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("Gathered items (types/all)\t%i/%i\n"), ccs.missionResults.itemTy pes, ccs.missionResults.itemAmount) src/client/campaign/cp_campaign.c:1617:6: Operands of && are non-boolean (qboolean): won && ccs.missionResults.recovery src/client/campaign/cp_campaign.c:1618:24: New fresh storage (type char *) passed as implicitly temp (not released): UFO_MissionResultToString() src/client/campaign/cp_campaign.c: (in function CL_UpdateCharacterStats) src/client/campaign/cp_campaign.c:1661:9: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_campaign.c:1667:11: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/campaign/cp_campaign.c:1668:9: Operand of ! is non-boolean (qboolean): !ccs.employees[EMPL_SOLDIER][i].hired src/client/campaign/cp_campaign.c:1688:10: Test expression for if not boolean, type qboolean: CL_ShouldUpdateSoldierRank(rank, chr) src/client/campaign/cp_campaign.c:1691:64: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s has been promoted to %s.\n") src/client/campaign/cp_campaign.c:1691:8: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_campaign.c:1693:64: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%s has been awarded the posthumous rank of %s\nfor inspirational gallantry in the face of overwhelming odds.\n") src/client/campaign/cp_campaign.c:1693:8: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_campaign.c:1694:24: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Soldier promoted") src/client/campaign/cp_campaign.c:1694:94: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_campaign.c:1694:7: Return value (type message_t *) ignored: MS_AddNewMessage... src/client/campaign/cp_campaign.c:1697:6: Fresh storage rank not released before scope exit src/client/campaign/cp_campaign.c:1687:46: Fresh storage rank created src/client/campaign/cp_campaign.c:1654:55: Parameter won not used src/client/campaign/cp_campaign.c: (in function CL_DebugAllItems_f) src/client/campaign/cp_campaign.c:1718:11: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_campaign.c:1727:8: Operand of ! is non-boolean (qboolean): !obj->weapon src/client/campaign/cp_campaign.c:1727:24: Operand of ! is non-boolean (int): !obj->numWeapons src/client/campaign/cp_campaign.c:1729:3: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_campaign.c:1734:21: Possibly null storage tech passed as non-null param: RS_MarkCollected (tech) src/client/campaign/cp_campaign.c:1731:25: Storage tech may become null src/client/campaign/cp_campaign.c:1737:2: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1723:2: Fresh storage base created src/client/campaign/cp_campaign.c: (in function CL_DebugShowItems_f) src/client/campaign/cp_campaign.c:1753:11: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_campaign.c:1766:2: Fresh storage base not released before return src/client/campaign/cp_campaign.c:1758:2: Fresh storage base created src/client/campaign/cp_campaign.c: (in function CL_DebugNewEmployees_f) src/client/campaign/cp_campaign.c:1787:44: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_campaign.c:1787:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1791:40: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_campaign.c:1791:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1795:42: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_campaign.c:1795:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1799:41: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_campaign.c:1799:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1803:40: New fresh storage (type ugv_t *) passed as implicitly temp (not released): CL_GetUGVByID("ugv_ares_w") src/client/campaign/cp_campaign.c:1803:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1807:40: New fresh storage (type ugv_t *) passed as implicitly temp (not released): CL_GetUGVByID("ugv_phoenix") src/client/campaign/cp_campaign.c:1807:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_campaign.c:1837:37: Static game_commands[2].description initialized to null value: game_commands[2].description = NULL src/client/campaign/cp_campaign.c:1838:39: Static game_commands[3].description initialized to null value: game_commands[3].description = NULL src/client/campaign/cp_campaign.c:1839:37: Static game_commands[4].description initialized to null value: game_commands[4].description = NULL src/client/campaign/cp_campaign.c:1840:37: Static game_commands[5].description initialized to null value: game_commands[5].description = NULL src/client/campaign/cp_campaign.c:1841:37: Static game_commands[6].description initialized to null value: game_commands[6].description = NULL src/client/campaign/cp_campaign.c:1842:39: Static game_commands[7].description initialized to null value: game_commands[7].description = NULL src/client/campaign/cp_campaign.c:1844:27: Static game_commands[9].description initialized to null value: game_commands[9].description = NULL src/client/campaign/cp_campaign.c:1845:31: Static game_commands[10].description initialized to null value: game_commands[10].description = NULL src/client/campaign/cp_campaign.c:1857:3: Static game_commands[20].name initialized to null value: game_commands[20].name = NULL src/client/campaign/cp_campaign.c:1857:9: Static game_commands[20].function initialized to null value: game_commands[20].function = NULL src/client/campaign/cp_campaign.c:1857:15: Static game_commands[20].description initialized to null value: game_commands[20].description = NULL src/client/campaign/cp_campaign.c: (in function CP_CampaignInit) src/client/campaign/cp_campaign.c:1937:2: Implicitly only storage ccs.curCampaign (type campaign_t *) not released before assignment: ccs.curCampaign = campaign src/client/campaign/cp_campaign.c:1937:2: Implicitly temp storage campaign assigned to implicitly only: ccs.curCampaign = campaign src/client/campaign/cp_campaign.c:1952:6: Test expression for if not boolean, type qboolean: load src/client/campaign/cp_campaign.c:1960:2: Assignment of int to vec_t: ccs.angles[1] = -90 src/client/campaign/cp_campaign.c:1975:18: Assignment of double to vec_t: ccs.center[1] = 0.5 src/client/campaign/cp_campaign.c:1984:29: Function Cvar_SetValue expects arg 2 to be float gets qboolean: ccs.XVIShowMap src/client/campaign/cp_campaign.c:1985:25: Null storage passed as non-null param: R_InitializeXVIOverlay (NULL) src/client/campaign/cp_campaign.c:1988:15: Null storage passed as non-null param: B_SelectBase (NULL) src/client/campaign/cp_campaign.c:1996:7: Operand of ! is non-boolean (qboolean): !load src/client/campaign/cp_campaign.c: (in function CP_CampaignExit) src/client/campaign/cp_campaign.c:2002:6: Test expression for if not boolean, type qboolean: GAME_CP_IsRunning() src/client/campaign/cp_campaign.c: (in function CL_GetCampaign) src/client/campaign/cp_campaign.c:2021:8: Operand of ! is non-boolean (int): !strcmp(name, campaign->id) src/client/campaign/cp_campaign.c:2026:10: Null storage returned as non-null: NULL src/client/campaign/cp_campaign.c:2028:18: Released storage ccs.campaigns reachable from global src/client/campaign/cp_campaign.c:2028:9: Storage ccs.campaigns released src/client/campaign/cp_campaign.c: (in function CL_ResetSinglePlayerData) src/client/campaign/cp_campaign.c:2046:2: Return value (type uint32_t) ignored: _Mem_FreePool((c... src/client/campaign/cp_campaign.c:2057:7: Test expression for if not boolean, type qboolean: CHRSH_IsTeamDefAlien(&csi.teamDef[i]) src/client/campaign/cp_campaign.c:2060:2: Function returns with non-null global cp_messageStack referencing null storage src/client/campaign/cp_campaign.c:2041:20: Storage cp_messageStack becomes null src/client/campaign/cp_campaign.c: (in function CL_DebugChangeCharacterStats_f) src/client/campaign/cp_campaign.c:2078:8: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_campaign.c:2082:10: Function assert expects arg 1 to be boolean gets character_t *: chr src/client/campaign/cp_campaign.c:2089:2: Fresh storage base not released before return src/client/campaign/cp_campaign.c:2069:44: Fresh storage base created src/client/campaign/cp_campaign.c: (in function CP_CampaignStats_f) src/client/campaign/cp_campaign.c:2098:7: Operand of ! is non-boolean (qboolean): !GAME_CP_IsRunning() src/client/campaign/cp_campaign.c: (in function CP_GetMissionBase) src/client/campaign/cp_campaign.c:2141:26: Arrow access from possibly null pointer ccs.missionAircraft: ccs.missionAircraft->homebase src/client/campaign/cp_campaign.c:2143:9: Possibly null storage ccs.missionAircraft->homebase returned as non-null: ccs.missionAircraft->homebase src/client/campaign/cp_campaign.c:2143:39: Released storage ccs.missionAircraft->homebase reachable from global src/client/campaign/cp_campaign.c:2143:9: Storage ccs.missionAircraft->homebase released src/client/campaign/cp_campaign.c:2154:40: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.c: (in function CP_GetRandomPosOnGeoscape) src/client/campaign/cp_campaign.c:2158:3: Assignment of double to vec_t: pos[1] = asin((frand() - 0.5f) * 2.0f) * (180.0f / 3.14159265358979323846) src/client/campaign/cp_campaign.c:2159:11: Left operand of && is non-boolean (qboolean): noWater && (MAP_GetColor(pos, MAPTYPE_TERRAIN)[0] == 0 && MAP_GetColor(pos, MAPTYPE_TERRAIN)[1] == 0 && MAP_GetColor(pos, MAPTYPE_TERRAIN)[2] == 64) src/client/campaign/cp_campaign.c:2178:58: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_campaign.c: (in function CP_GetRandomPosOnGeoscapeWithParameters) src/client/campaign/cp_campaign.c:2187:26: Variable numPoints initialized to type double, expects float: 360.0 / 2 src/client/campaign/cp_campaign.c:2190:24: Variable offsetY initialized to type double, expects float: -1.0 + frand() * 2.0 / numPoints src/client/campaign/cp_campaign.c:2199:22: Variable posY initialized to type double, expects float: asin(2.0 * y / numPoints + offsetY) * (180.0f / 3.14159265358979323846) src/client/campaign/cp_campaign.c:2201:23: Variable posX initialized to type double, expects float: x * 2 - 180.0 + offsetX src/client/campaign/cp_campaign.c:2205:8: Test expression for if not boolean, type qboolean: MAP_PositionFitsTCPNTypes(posT, terrainTypes, cultureTypes, populationTypes, nations) src/client/campaign/cp_campaign.c:2224:22: Variable posY initialized to type double, expects float: asin(2.0 * y / numPoints + offsetY) * (180.0f / 3.14159265358979323846) src/client/campaign/cp_campaign.c:2226:23: Variable posX initialized to type double, expects float: x * 2 - 180.0 + offsetX src/client/campaign/cp_campaign.c:2230:8: Test expression for if not boolean, type qboolean: MAP_PositionFitsTCPNTypes(posT, terrainTypes, cultureTypes, populationTypes, nations) src/client/campaign/cp_event.c:31:35: Static eventMails initialized to null value: eventMails = NULL src/client/campaign/cp_event.c:31:35: Static eventMails initialized to null value: linkedList_t * eventMails = NULL = NULL src/client/campaign/cp_event.c: (in function CL_GetEventMail) src/client/campaign/cp_event.c:51:7: Operand of ! is non-boolean (qboolean): !createCopy src/client/campaign/cp_event.c:53:9: Operand of ! is non-boolean (int): !strcmp(ccs.eventMails[i].id, id) src/client/campaign/cp_event.c:54:12: Immediate address &ccs.eventMails[] returned as implicitly only: &ccs.eventMails[i] src/client/campaign/cp_event.c:59:9: Operand of ! is non-boolean (int): !strcmp(listMail->id, id) src/client/campaign/cp_event.c:60:21: Released storage eventMails->data reachable from global src/client/campaign/cp_event.c:60:12: Storage eventMails->data released src/client/campaign/cp_event.c:64:10: Null storage returned as non-null: NULL src/client/campaign/cp_event.c:71:9: Operand of ! is non-boolean (int): !strcmp(ccs.eventMails[i].id, id) src/client/campaign/cp_event.c:77:11: Null storage returned as non-null: NULL src/client/campaign/cp_event.c:81:11: Null storage returned as non-null: NULL src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].id reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].id released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].from reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].from released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].to reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].to released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].cc reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].cc released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].subject reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].subject released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].date reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].date released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].body reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].body released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].icon reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].icon released src/client/campaign/cp_event.c:87:23: Released storage ccs.eventMails[].model reachable from global src/client/campaign/cp_event.c:84:3: Storage ccs.eventMails[].model released src/client/campaign/cp_event.c: (in function CL_NewEventMail) src/client/campaign/cp_event.c:118:9: Function assert expects arg 1 to be boolean gets char *: id src/client/campaign/cp_event.c:119:9: Function assert expects arg 1 to be boolean gets char *: newID src/client/campaign/cp_event.c:123:10: Null storage returned as non-null: NULL src/client/campaign/cp_event.c:126:2: Implicitly only storage mail->id (type char *) not released before assignment: mail->id = _Mem_PoolStrDup((newID), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_event.c", 126) src/client/campaign/cp_event.c:130:3: Implicitly only storage mail->body (type char *) not released before assignment: mail->body = _Mem_PoolStrDup((body), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_event.c", 130) src/client/campaign/cp_event.c:146:3: Static eventMail_vals[8].string initialized to null value: eventMail_vals[8].string = NULL src/client/campaign/cp_event.c: (in function CL_ParseEventMails) src/client/campaign/cp_event.c:170:2: Implicitly only storage eventMail->id (type char *) not released before assignment: eventMail->id = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_event.c", 170) src/client/campaign/cp_event.c:178:10: Fresh storage token not released before return src/client/campaign/cp_event.c:173:2: Fresh storage token created src/client/campaign/cp_event.c:182:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_event.c:173:2: Fresh storage token created src/client/campaign/cp_event.c:190:9: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_event.c:192:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_event.c:182:3: Fresh storage token created src/client/campaign/cp_event.c:194:13: Fresh storage token not released before return src/client/campaign/cp_event.c:192:5: Fresh storage token created src/client/campaign/cp_event.c:199:10: Fall through case (no preceding break) src/client/campaign/cp_event.c:200:6: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_event.c:203:58: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_event.c:203:6: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_event.c:211:4: Return value (type char *) ignored: Com_EParse(text,... src/client/campaign/cp_event.c:214:2: Fresh storage token not released before return src/client/campaign/cp_event.c:182:3: Fresh storage token created src/client/campaign/cp_event.c: (in function CP_CheckCampaignEvents) src/client/campaign/cp_event.c:218:26: Variable events shadows outer declaration src/client/battlescape/events/e_main.c:83:23: Previous definition of events: eventRegister_t [] src/client/campaign/cp_event.c:221:9: Function assert expects arg 1 to be boolean gets campaign_t *: ccs.curCampaign src/client/campaign/cp_event.c:228:7: Operand of ! is non-boolean (int): !ccs.curCampaign->events->numCampaignEvents src/client/campaign/cp_event.c:235:4: Return value (type qboolean) ignored: RS_MarkStoryLine... src/client/campaign/cp_event.c: (in function CP_GetEventsByID) src/client/campaign/cp_event.c:250:27: Variable events shadows outer declaration src/client/battlescape/events/e_main.c:83:23: Previous definition of events: eventRegister_t [] src/client/campaign/cp_event.c:251:8: Operand of ! is non-boolean (int): !strcmp(events->id, name) src/client/campaign/cp_event.c:258:11: Immediate address &ccs.campaignEvents[] returned as implicitly only (events aliases &ccs.campaignEvents[]): events src/client/campaign/cp_event.c:262:9: Null storage returned as non-null: NULL src/client/campaign/cp_event.c: (in function CL_ParseCampaignEvents) src/client/campaign/cp_event.c:273:20: Variable events shadows outer declaration src/client/battlescape/events/e_main.c:83:23: Previous definition of events: eventRegister_t [] src/client/campaign/cp_event.c:282:10: Fresh storage token not released before return src/client/campaign/cp_event.c:280:2: Fresh storage token created src/client/campaign/cp_event.c:286:10: Fresh storage token not released before return src/client/campaign/cp_event.c:280:2: Fresh storage token created src/client/campaign/cp_event.c:292:2: Implicitly only storage events->id (type char *) not released before assignment: events->id = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_event.c", 292) src/client/campaign/cp_event.c:297:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_event.c:280:2: Fresh storage token created src/client/campaign/cp_event.c:305:11: Fresh storage token not released before return src/client/campaign/cp_event.c:297:3: Fresh storage token created src/client/campaign/cp_event.c:312:3: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_event.c:314:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_event.c:297:3: Fresh storage token created src/client/campaign/cp_event.c:316:11: Fresh storage token not released before return src/client/campaign/cp_event.c:314:3: Fresh storage token created src/client/campaign/cp_event.c:318:83: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: offsetof(campaignEvent_t,interest) src/client/campaign/cp_event.c:318:3: Return value (type int) ignored: Com_EParseValueD... src/client/campaign/cp_event.c:323:2: Fresh storage token not released before return src/client/campaign/cp_event.c:314:3: Fresh storage token created src/client/campaign/cp_event.c: (in function CL_EventAddMail_f) src/client/campaign/cp_event.c:348:10: Fresh storage eventMailId not released before return src/client/campaign/cp_event.c:343:2: Fresh storage eventMailId created src/client/campaign/cp_event.c:353:10: Fresh storage eventMailId not released before return src/client/campaign/cp_event.c:343:2: Fresh storage eventMailId created src/client/campaign/cp_event.c:353:10: Fresh storage eventMail not released before return src/client/campaign/cp_event.c:345:2: Fresh storage eventMail created src/client/campaign/cp_event.c:358:33: Passed storage date contains 6 undefined fields: year, month, day, hour, ... src/client/campaign/cp_event.c:360:33: Function Date_GetMonthName expects arg 1 to be int gets arbitrary unsigned integral type: date.month - 1 src/client/campaign/cp_event.c:359:41: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i %s %02i") src/client/campaign/cp_event.c:359:3: Return value (type qboolean) ignored: Com_sprintf(date... src/client/campaign/cp_event.c:365:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You've got a new mail: %s") src/client/campaign/cp_event.c:365:27: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("You've got a new mail: %s"), gettext(eventMail->subject)) src/client/campaign/cp_event.c:365:117: Null storage passed as non-null param: MS_AddNewMessage (..., NULL) src/client/campaign/cp_event.c:367:3: Implicitly only storage m->eventMail (type struct eventMail_s *) not released before assignment: m->eventMail = eventMail src/client/campaign/cp_event.c:369:3: Variable eventMail is kept in true branch, but not kept in false branch. src/client/campaign/cp_event.c:369:3: in true branch: src/client/campaign/cp_event.c:367:3: Storage eventMail becomes kept src/client/campaign/cp_event.c:369:3: in false branch: src/client/campaign/cp_event.c:345:2: Fresh storage eventMail created src/client/campaign/cp_event.c:370:2: Fresh storage eventMailId not released before return src/client/campaign/cp_event.c:343:2: Fresh storage eventMailId created src/client/campaign/cp_employee.c: (in function E_IsAwayFromBase) src/client/campaign/cp_employee.c:49:9: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_employee.c:52:7: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c:56:6: Test expression for if not boolean, type qboolean: employee->transfer src/client/campaign/cp_employee.c:65:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_employee.c:69:10: Function assert expects arg 1 to be boolean gets aircraft_t *: aircraft src/client/campaign/cp_employee.c:71:8: Operand of ! is non-boolean (qboolean): !AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_employee.c:71:42: Right operand of && is non-boolean (qboolean): !AIR_IsAircraftInBase(aircraft) && AIR_IsInAircraftTeam(aircraft, employee) src/client/campaign/cp_employee.c: (in function E_HireForBuilding) src/client/campaign/cp_employee.c:90:6: Test expression for if not boolean, type int: num src/client/campaign/cp_employee.c:110:30: Variable employeeType used before definition src/client/campaign/cp_employee.c:112:12: Test expression for for not boolean, type int: num-- src/client/campaign/cp_employee.c:113:11: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_employee.c:114:9: Operand of ! is non-boolean (qboolean): !E_HireEmployeeByType(base, employeeType) src/client/campaign/cp_employee.c: (in function E_MoveIntoNewBase) src/client/campaign/cp_employee.c:145:10: Function assert expects arg 1 to be boolean gets base_t *: oldBase src/client/campaign/cp_employee.c:146:3: Implicitly temp storage newBase assigned to implicitly only: employee->baseHired = newBase src/client/campaign/cp_employee.c:149:16: Last reference oldBase to implicitly only storage employee->baseHired not released before return src/client/campaign/cp_employee.c:146:3: Original reference lost src/client/campaign/cp_employee.c: (in function E_GetEmployeeString) src/client/campaign/cp_employee.c:176:2: Path with no return in function declared to return char * src/client/campaign/cp_employee.c: (in function E_GetEmployeeType) src/client/campaign/cp_employee.c:185:9: Function assert expects arg 1 to be boolean gets char *: type src/client/campaign/cp_employee.c:186:7: Operand of ! is non-boolean (int): !strcmp(type, "EMPL_SCIENTIST") src/client/campaign/cp_employee.c:188:12: Operand of ! is non-boolean (int): !strcmp(type, "EMPL_SOLDIER") src/client/campaign/cp_employee.c:190:12: Operand of ! is non-boolean (int): !strcmp(type, "EMPL_WORKER") src/client/campaign/cp_employee.c:192:12: Operand of ! is non-boolean (int): !strcmp(type, "EMPL_PILOT") src/client/campaign/cp_employee.c:194:12: Operand of ! is non-boolean (int): !strcmp(type, "EMPL_ROBOT") src/client/campaign/cp_employee.c:198:2: Path with no return in function declared to return employeeType_t src/client/campaign/cp_employee.c: (in function E_ResetEmployees) src/client/campaign/cp_employee.c:211:7: Test expression for if not boolean, type int: ccs.numEmployees[i] src/client/campaign/cp_employee.c: (in function E_GetEmployee) src/client/campaign/cp_employee.c:229:10: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c:232:21: Operand of ! is non-boolean (qboolean): !ccs.employees[type][i].hired src/client/campaign/cp_employee.c:233:11: Immediate address &ccs.employees[][] returned as implicitly only: &ccs.employees[type][i] src/client/campaign/cp_employee.c:236:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_GetUnhiredEmployee) src/client/campaign/cp_employee.c:255:10: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c:262:8: Test expression for if not boolean, type qboolean: employee->hired src/client/campaign/cp_employee.c:264:12: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c:266:11: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:267:26: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c:269:12: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:274:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_GetUnhiredRobot) src/client/campaign/cp_employee.c:292:11: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:294:36: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c:295:11: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:298:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_GetHiredEmployees) src/client/campaign/cp_employee.c:316:13: Function returns with null storage derivable from parameter *hiredEmployees src/client/campaign/cp_employee.c:315:21: Storage *hiredEmployees becomes null src/client/campaign/cp_employee.c:323:7: Left operand of && is non-boolean (qboolean): employee->hired && (employee->baseHired == base || !base) src/client/campaign/cp_employee.c:323:69: Operand of ! is non-boolean (qboolean): !employee->transfer src/client/campaign/cp_employee.c:329:7: Operand of ! is non-boolean (int): !j src/client/campaign/cp_employee.c:332:11: Function returns with null storage derivable from parameter *hiredEmployees src/client/campaign/cp_employee.c:330:21: Storage *hiredEmployees becomes null src/client/campaign/cp_employee.c: (in function E_GetHiredRobot) src/client/campaign/cp_employee.c:348:40: Null storage hiredEmployees derivable from parameter E_GetHiredEmployees (..., &hiredEmployees) src/client/campaign/cp_employee.c:344:33: Storage hiredEmployees becomes null src/client/campaign/cp_employee.c:348:2: Return value (type int) ignored: E_GetHiredEmploy... src/client/campaign/cp_employee.c:369:9: Possibly null storage employee returned as non-null: employee src/client/campaign/cp_employee.c:351:13: Storage employee may become null src/client/campaign/cp_employee.c: (in function E_EmployeeIsUnassigned) src/client/campaign/cp_employee.c:383:19: Arrow access from possibly null pointer employee: employee->building src/client/campaign/cp_employee.c:383:9: Return value type boolean does not match declared type qboolean: (!employee->building) src/client/campaign/cp_employee.c: (in function E_GetAssignedEmployee) src/client/campaign/cp_employee.c:400:39: Operand of ! is non-boolean (qboolean): !E_EmployeeIsUnassigned(employee) src/client/campaign/cp_employee.c:401:11: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:403:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_GetUnassignedEmployee) src/client/campaign/cp_employee.c:420:38: Right operand of && is non-boolean (qboolean): employee->baseHired == base && E_EmployeeIsUnassigned(employee) src/client/campaign/cp_employee.c:421:11: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:423:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_HireEmployee) src/client/campaign/cp_employee.c:437:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough quarters") src/client/campaign/cp_employee.c:437:44: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You don't have enough quarters for your employees.\nBuild more quarters.") src/client/campaign/cp_employee.c:444:3: Implicitly only storage employee->baseHired (type base_t *) not released before assignment: employee->baseHired = base src/client/campaign/cp_employee.c:444:3: Implicitly temp storage base assigned to implicitly only: employee->baseHired = base src/client/campaign/cp_employee.c:453:8: Fall through case (no preceding break) src/client/campaign/cp_employee.c: (in function E_HireEmployeeByType) src/client/campaign/cp_employee.c:478:60: Fresh storage employee not released before return src/client/campaign/cp_employee.c:477:56: Fresh storage employee created src/client/campaign/cp_employee.c: (in function E_HireRobot) src/client/campaign/cp_employee.c:490:60: Fresh storage employee not released before return src/client/campaign/cp_employee.c:489:52: Fresh storage employee created src/client/campaign/cp_employee.c: (in function E_ResetEmployee) src/client/campaign/cp_employee.c:502:9: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_employee.c:506:2: Return value (type qboolean) ignored: E_RemoveEmployee... src/client/campaign/cp_employee.c: (in function E_UnhireEmployee) src/client/campaign/cp_employee.c:524:6: Operands of && are non-booleans (employee_t *, qboolean): employee && employee->hired src/client/campaign/cp_employee.c:524:38: Operand of ! is non-boolean (qboolean): !employee->transfer src/client/campaign/cp_employee.c:549:16: Last reference base to implicitly only storage employee->baseHired not released before return src/client/campaign/cp_employee.c:532:3: Original reference lost src/client/campaign/cp_employee.c:549:16: Function returns with null storage derivable from parameter employee->baseHired src/client/campaign/cp_employee.c:532:25: Storage employee->baseHired becomes null src/client/campaign/cp_employee.c: (in function E_UnhireAllEmployees) src/client/campaign/cp_employee.c:572:7: Left operand of && is non-boolean (qboolean): employee->hired && employee->baseHired == base src/client/campaign/cp_employee.c:573:4: Return value (type qboolean) ignored: E_UnhireEmployee... src/client/campaign/cp_employee.c: (in function E_CreateEmployeeAtIndex) src/client/campaign/cp_employee.c:595:10: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c:605:10: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c:613:2: Implicitly only storage employee->baseHired (type base_t *) not released before assignment: employee->baseHired = NULL src/client/campaign/cp_employee.c:614:2: Implicitly only storage employee->building (type building_t *) not released before assignment: employee->building = NULL src/client/campaign/cp_employee.c:616:2: Implicitly only storage employee->nation (type struct nation_s *) not released before assignment: employee->nation = nation src/client/campaign/cp_employee.c:616:2: Implicitly temp storage nation assigned to implicitly only: employee->nation = nation src/client/campaign/cp_employee.c:623:2: Clauses exit with teamID referencing fresh storage in true branch, unqualified static storage in false branch src/client/campaign/cp_employee.c:622:3: Storage teamID becomes static src/client/campaign/cp_employee.c:619:3: Fresh storage teamID created src/client/campaign/cp_employee.c:629:20: Passed storage teamDefName not completely defined (*teamDefName is undefined): Q_strncpyzDebug (teamDefName, ...) src/client/campaign/cp_employee.c:633:15: Passed storage teamDefName not completely defined (*teamDefName is undefined): Com_sprintf (teamDefName, ...) src/client/campaign/cp_employee.c:633:3: Return value (type qboolean) ignored: Com_sprintf(team... src/client/campaign/cp_employee.c:637:15: Passed storage teamDefName not completely defined (*teamDefName is undefined): Com_sprintf (teamDefName, ...) src/client/campaign/cp_employee.c:637:3: Return value (type qboolean) ignored: Com_sprintf(team... src/client/campaign/cp_employee.c:641:15: Passed storage teamDefName not completely defined (*teamDefName is undefined): Com_sprintf (teamDefName, ...) src/client/campaign/cp_employee.c:641:3: Return value (type qboolean) ignored: Com_sprintf(team... src/client/campaign/cp_employee.c:649:72: Arrow access from possibly null pointer ugvType: ugvType->actors src/client/campaign/cp_employee.c:649:15: Passed storage teamDefName not completely defined (*teamDefName is undefined): Com_sprintf (teamDefName, ...) src/client/campaign/cp_employee.c:649:3: Return value (type qboolean) ignored: Com_sprintf(team... src/client/campaign/cp_employee.c:655:39: Passed storage teamDefName not completely defined (*teamDefName is undefined): CL_GenerateCharacter (..., teamDefName) src/client/campaign/cp_employee.c:662:3: Assignment of int to char: employee->speed = 100 src/client/campaign/cp_employee.c:667:3: Implicitly only storage employee->ugv (type ugv_t *) not released before assignment: employee->ugv = ugvType src/client/campaign/cp_employee.c:667:3: Implicitly temp storage ugvType assigned to implicitly only: employee->ugv = ugvType src/client/campaign/cp_employee.c:671:2: Variable ugvType is kept in one possible execution, but not kept in other possible execution. src/client/campaign/cp_employee.c:671:2: in one possible execution: src/client/campaign/cp_employee.c:667:3: Storage ugvType becomes kept src/client/campaign/cp_employee.c:673:43: Variable rank used before definition src/client/campaign/cp_employee.c:680:9: Immediate address &ccs.employees[][] returned as implicitly only (employee aliases &ccs.employees[][]): employee src/client/campaign/cp_employee.c:680:9: Null storage employee->baseHired derivable from return value: employee src/client/campaign/cp_employee.c:613:24: Storage employee->baseHired becomes null src/client/campaign/cp_employee.c:680:9: Null storage employee->building derivable from return value: employee src/client/campaign/cp_employee.c:614:23: Storage employee->building becomes null src/client/campaign/cp_employee.c: (in function E_DeleteEmployee) src/client/campaign/cp_employee.c:726:3: Return value (type qboolean) ignored: E_UnhireEmployee... src/client/campaign/cp_employee.c:734:7: Test expression for if not boolean, type qboolean: found src/client/campaign/cp_employee.c:743:6: Test expression for if not boolean, type qboolean: found src/client/campaign/cp_employee.c:767:4: Fresh storage base not released before scope exit src/client/campaign/cp_employee.c:748:44: Fresh storage base created src/client/campaign/cp_employee.c:769:9: Operand of ! is non-boolean (qboolean): !transfer->active src/client/campaign/cp_employee.c:789:15: Function returns with null storage derivable from global ccs.transfers->employeeArray[][] src/client/campaign/cp_employee.c:778:39: Storage ccs.transfers->employeeArray[][] becomes null src/client/campaign/cp_employee.c: (in function E_DeleteAllEmployees) src/client/campaign/cp_employee.c:816:5: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_employee.c: (in function E_DeleteEmployeesExceedingCapacity) src/client/campaign/cp_employee.c:859:4: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_employee.c: (in function E_RefreshUnhiredEmployeeGlobalList) src/client/campaign/cp_employee.c:885:51: Operand of ! is non-boolean (qboolean): !excludeUnhappyNations src/client/campaign/cp_employee.c:898:8: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c:899:34: Null storage happyNations[] passed as non-null param: E_CreateEmployeeAtIndex (..., happyNations[nationIdx], ...) src/client/campaign/cp_employee.c:881:20: Storage happyNations[] becomes null src/client/campaign/cp_employee.c:899:59: Null storage passed as non-null param: E_CreateEmployeeAtIndex (..., NULL, ...) src/client/campaign/cp_employee.c:899:4: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c: (in function E_RemoveEmployeeFromBuildingOrAircraft) src/client/campaign/cp_employee.c:918:9: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_employee.c:935:27: Possibly null storage base passed as non-null param: RS_RemoveFiredScientist (base, ...) src/client/campaign/cp_employee.c:929:9: Storage base may become null src/client/campaign/cp_employee.c:935:33: Possibly null storage employee->building derivable from parameter RS_RemoveFiredScientist (..., employee) src/client/campaign/cp_employee.c:941:32: Possibly null storage employee->building derivable from parameter AIR_IsEmployeeInAircraft (employee, ...) src/client/campaign/cp_employee.c:941:42: Null storage passed as non-null param: AIR_IsEmployeeInAircraft (..., NULL) src/client/campaign/cp_employee.c:942:33: Null storage passed as non-null param: AIR_RemoveEmployee (..., NULL) src/client/campaign/cp_employee.c:942:4: Return value (type qboolean) ignored: AIR_RemoveEmploy... src/client/campaign/cp_employee.c:946:39: Possibly null storage base passed as non-null param: AIR_RemovePilotFromAssignedAircraft (base, ...) src/client/campaign/cp_employee.c:929:9: Storage base may become null src/client/campaign/cp_employee.c:946:45: Possibly null storage employee->building derivable from parameter AIR_RemovePilotFromAssignedAircraft (..., employee) src/client/campaign/cp_employee.c:951:26: Possibly null storage base passed as non-null param: PR_UpdateProductionCap (base) src/client/campaign/cp_employee.c:929:9: Storage base may become null src/client/campaign/cp_employee.c: (in function E_CountHired) src/client/campaign/cp_employee.c:974:7: Left operand of && is non-boolean (qboolean): employee->hired && (!base || employee->baseHired == base) src/client/campaign/cp_employee.c: (in function E_CountHiredRobotByType) src/client/campaign/cp_employee.c:992:7: Left operand of && is non-boolean (qboolean): employee->hired && employee->baseHired == base src/client/campaign/cp_employee.c: (in function E_CountUnhired) src/client/campaign/cp_employee.c:1032:8: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c: (in function E_CountUnhiredRobotsByType) src/client/campaign/cp_employee.c:1048:8: Operand of ! is non-boolean (qboolean): !employee->hired src/client/campaign/cp_employee.c: (in function E_RandomNation) src/client/campaign/cp_employee.c:1081:9: Immediate address &ccs.nations[] returned as implicitly only: &ccs.nations[nationIndex] src/client/campaign/cp_employee.c: (in function E_InitialEmployees) src/client/campaign/cp_employee.c:1092:34: New fresh storage (type nation_t *) passed as implicitly temp (not released): E_RandomNation() src/client/campaign/cp_employee.c:1092:52: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_employee.c:1092:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c:1094:36: New fresh storage (type nation_t *) passed as implicitly temp (not released): E_RandomNation() src/client/campaign/cp_employee.c:1094:54: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_employee.c:1094:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c:1097:33: New fresh storage (type nation_t *) passed as implicitly temp (not released): E_RandomNation() src/client/campaign/cp_employee.c:1097:51: New fresh storage (type ugv_t *) passed as implicitly temp (not released): CL_GetUGVByID("ugv_ares_w") src/client/campaign/cp_employee.c:1097:4: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c:1099:33: New fresh storage (type nation_t *) passed as implicitly temp (not released): E_RandomNation() src/client/campaign/cp_employee.c:1099:51: New fresh storage (type ugv_t *) passed as implicitly temp (not released): CL_GetUGVByID("ugv_phoenix") src/client/campaign/cp_employee.c:1099:4: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c:1102:33: New fresh storage (type nation_t *) passed as implicitly temp (not released): E_RandomNation() src/client/campaign/cp_employee.c:1102:51: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_employee.c:1102:3: Return value (type employee_t *) ignored: E_CreateEmployee... src/client/campaign/cp_employee.c:1107:45: Null storage passed as non-null param: E_CreateEmployee (..., NULL) src/client/campaign/cp_employee.c: (in function E_ListHired_f) src/client/campaign/cp_employee.c:1123:65: Only storage ccs.employees[][].baseHired assigned to implicitly dependent: employee_t employee = ccs.employees[emplType][emplIdx] = ccs.employees[emplType][emplIdx] (field employee.baseHired) src/client/campaign/cp_employee.c:1123:65: Only storage ccs.employees[][].building assigned to implicitly dependent: employee_t employee = ccs.employees[emplType][emplIdx] = ccs.employees[emplType][emplIdx] (field employee.building) src/client/campaign/cp_employee.c:1123:65: Only storage ccs.employees[][].nation assigned to implicitly dependent: employee_t employee = ccs.employees[emplType][emplIdx] = ccs.employees[emplType][emplIdx] (field employee.nation) src/client/campaign/cp_employee.c:1123:65: Only storage ccs.employees[][].ugv assigned to implicitly dependent: employee_t employee = ccs.employees[emplType][emplIdx] = ccs.employees[emplType][emplIdx] (field employee.ugv) src/client/campaign/cp_employee.c:1125:9: Operand of ! is non-boolean (qboolean): !employee.hired src/client/campaign/cp_employee.c: (in function E_GetEmployeeFromChrUCN) src/client/campaign/cp_employee.c:1164:12: Immediate address &ccs.employees[][] returned as implicitly only: &(ccs.employees[j][i]) src/client/campaign/cp_employee.c:1166:9: Null storage returned as non-null: NULL src/client/campaign/cp_employee.c: (in function E_SaveXML) src/client/campaign/cp_employee.c:1197:11: Function assert expects arg 1 to be boolean gets struct nation_s *: e->nation src/client/campaign/cp_employee.c:1203:4: Return value (type qboolean) ignored: CL_SaveCharacter... src/client/campaign/cp_employee.c:1204:4: Fresh storage ssnode not released before scope exit src/client/campaign/cp_employee.c:1187:58: Fresh storage ssnode created src/client/campaign/cp_employee.c:1205:3: Fresh storage snode not released before scope exit src/client/campaign/cp_employee.c:1183:53: Fresh storage snode created src/client/campaign/cp_employee.c: (in function E_LoadXML) src/client/campaign/cp_employee.c:1216:68: Right operand of && is non-boolean (mxml_node_t *): j < MAX_EMPL && snode src/client/campaign/cp_employee.c:1222:84: Right operand of && is non-boolean (mxml_node_t *): i < ccs.numEmployees[j] && ssnode src/client/campaign/cp_employee.c:1237:4: Implicitly only storage e->baseHired (type base_t *) not released before assignment: e->baseHired = (base >= 0) ? B_GetBaseByIDX(base) : NULL src/client/campaign/cp_employee.c:1241:19: Left operand of && is non-boolean (base_t *): e->baseHired && building >= 0 src/client/campaign/cp_employee.c:1241:4: Implicitly only storage e->building (type building_t *) not released before assignment: e->building = (e->baseHired && building >= 0) ? &ccs.buildings[e->baseHired->idx][building] : NULL src/client/campaign/cp_employee.c:1241:4: Immediate address &ccs.buildings[][] assigned to implicitly only: e->building = (e->baseHired && building >= 0) ? &ccs.buildings[e->baseHired- >idx][building] : NULL src/client/campaign/cp_employee.c:1248:29: Right operand of && is non-boolean (int): string[0] == '\0' && strcmp(string, "NULL") src/client/campaign/cp_employee.c:1249:19: Fresh storage snode not released before return src/client/campaign/cp_employee.c:1216:7: Fresh storage snode created src/client/campaign/cp_employee.c:1249:19: Fresh storage ssnode not released before return src/client/campaign/cp_employee.c:1222:8: Fresh storage ssnode created src/client/campaign/cp_employee.c:1249:19: Fresh storage string not released before return src/client/campaign/cp_employee.c:1247:4: Fresh storage string created src/client/campaign/cp_employee.c:1250:4: Implicitly only storage e->nation (type struct nation_s *) not released before assignment: e->nation = NAT_GetNationByID(string) src/client/campaign/cp_employee.c:1252:19: Fresh storage snode not released before return src/client/campaign/cp_employee.c:1216:7: Fresh storage snode created src/client/campaign/cp_employee.c:1252:19: Fresh storage ssnode not released before return src/client/campaign/cp_employee.c:1222:8: Fresh storage ssnode created src/client/campaign/cp_employee.c:1252:19: Fresh storage string not released before return src/client/campaign/cp_employee.c:1247:4: Fresh storage string created src/client/campaign/cp_employee.c:1255:4: Fresh storage string (type char *) not released before assignment: string = mxml_GetString(ssnode, "ugv") src/client/campaign/cp_employee.c:1247:4: Fresh storage string created src/client/campaign/cp_employee.c:1256:29: Right operand of && is non-boolean (int): string[0] != '\0' && strcmp(string, "NULL") src/client/campaign/cp_employee.c:1257:5: Implicitly only storage e->ugv (type ugv_t *) not released before assignment: e->ugv = CL_GetUGVByID(string) src/client/campaign/cp_employee.c:1258:4: Return value (type qboolean) ignored: CL_LoadCharacter... src/client/campaign/cp_employee.c:1223:5: Fresh storage ssnode (type mxml_node_t *) not released before assignment (in post loop increment): ssnode = mxml_GetNextNode(ssnode, snode, "employee") src/client/campaign/cp_employee.c:1222:8: Fresh storage ssnode created src/client/campaign/cp_employee.c:1260:3: Fresh storage string not released before scope exit src/client/campaign/cp_employee.c:1255:4: Fresh storage string created src/client/campaign/cp_employee.c:1217:4: Fresh storage snode (type mxml_node_t *) not released before assignment (in post loop increment): snode = mxml_GetNextNode(snode, p, "employees") src/client/campaign/cp_employee.c:1216:7: Fresh storage snode created src/client/campaign/cp_employee.c: (in function E_HireAllowed) src/client/campaign/cp_employee.c:1270:47: Right operand of && is non-boolean (qboolean): base->baseStatus != BASE_UNDER_ATTACK && B_GetBuildingStatus(base, B_QUARTERS) src/client/campaign/cp_employee.c: (in function E_RemoveInventoryFromStorage) src/client/campaign/cp_employee.c:1285:9: Function assert expects arg 1 to be boolean gets employee_t *: employee src/client/campaign/cp_employee.c:1286:9: Function assert expects arg 1 to be boolean gets base_t *: employee->baseHired src/client/campaign/cp_employee.c:1288:22: Operands of < have incompatible types (containerIndex_t, int): container < csi.numIDs src/client/campaign/cp_employee.c:1291:7: Test expression for if not boolean, type qboolean: (&csi.ids[(container)])->temp src/client/campaign/cp_employee.c:1296:8: Left operand of && is non-boolean (objDef_t *): invList->item.m && invList->item.m != invList->item.t src/client/campaign/cp_employee.c:1297:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_employee.c:1300:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_employee_callbacks.c:39:39: Static selectedEmployee initialized to null value: selectedEmployee = NULL src/client/campaign/cp_employee_callbacks.c:39:39: Static selectedEmployee initialized to null value: employee_t * selectedEmployee = NULL = NULL src/client/campaign/cp_employee_callbacks.c:48:15: Variable employeeList redefined src/client/campaign/cp_team_callbacks.c:38:15: Previous definition of employeeList src/client/campaign/cp_employee_callbacks.c:51:5: Variable employeesInCurrentList redefined src/client/campaign/cp_team_callbacks.c:39:5: Previous definition of employeesInCurrentList src/client/campaign/cp_employee_callbacks.c: (in function E_UpdateGUICount_f) src/client/campaign/cp_employee_callbacks.c:65:35: Function Cvar_SetValue expects arg 2 to be float gets int: E_CountHired(base, EMPL_SOLDIER) src/client/campaign/cp_employee_callbacks.c:66:34: Function Cvar_SetValue expects arg 2 to be float gets int: E_CountHired(base, EMPL_WORKER) src/client/campaign/cp_employee_callbacks.c:67:37: Function Cvar_SetValue expects arg 2 to be float gets int: E_CountHired(base, EMPL_SCIENTIST) src/client/campaign/cp_employee_callbacks.c:68:33: Function Cvar_SetValue expects arg 2 to be float gets int: E_CountHired(base, EMPL_PILOT) src/client/campaign/cp_employee_callbacks.c:69:28: New fresh storage (type char *) passed as implicitly temp (not released): va("%d/%d", E_CountAllHired(base), max) src/client/campaign/cp_employee_callbacks.c:69:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_hir... src/client/campaign/cp_employee_callbacks.c:70:2: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:59:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeSelect) src/client/campaign/cp_employee_callbacks.c:81:38: Test expression for conditional not boolean, type qboolean: selectedEmployee->hired src/client/campaign/cp_employee_callbacks.c:81:38: Function Cvar_SetValue expects arg 2 to be float gets int: selectedEmployee->hired ? 1 : 0 src/client/campaign/cp_employee_callbacks.c:82:27: Function Cvar_SetValue expects arg 2 to be float gets int: selectedEmployee->chr.ucn src/client/campaign/cp_employee_callbacks.c:87:2: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:74:50: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:87:2: Function returns with non-null global selectedEmployee referencing null storage src/client/campaign/cp_employee_callbacks.c:78:21: Storage selectedEmployee may become null src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeListScroll_f) src/client/campaign/cp_employee_callbacks.c:103:10: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:97:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:105:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_employee_callbacks.c:110:38: Right operand of && is non-boolean (qboolean): employee->baseHired != base && employee->hired src/client/campaign/cp_employee_callbacks.c:114:7: Test expression for if not boolean, type int: j src/client/campaign/cp_employee_callbacks.c:119:7: Test expression for if not boolean, type qboolean: employee->hired src/client/campaign/cp_employee_callbacks.c:135:17: New fresh storage (type char *) passed as implicitly temp (not released): va("mn_name%i", cnt) src/client/campaign/cp_employee_callbacks.c:135:3: Return value (type cvar_t *) ignored: Cvar_ForceSet(va... src/client/campaign/cp_employee_callbacks.c:140:2: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:97:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeList_f) src/client/campaign/cp_employee_callbacks.c:159:10: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:152:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:162:26: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_employee_callbacks.c:167:27: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_employee_callbacks.c:182:38: Right operand of && is non-boolean (qboolean): employee->baseHired != base && employee->hired src/client/campaign/cp_employee_callbacks.c:184:19: Null storage employeeListName derivable from parameter LIST_AddPointer (&employeeListName, ...) src/client/campaign/cp_employee_callbacks.c:177:21: Storage employeeListName becomes null src/client/campaign/cp_employee_callbacks.c:188:39: Null storage employeeListName passed as non-null param: MN_RegisterLinkedListText (..., employeeListName) src/client/campaign/cp_employee_callbacks.c:177:21: Storage employeeListName becomes null src/client/campaign/cp_employee_callbacks.c:198:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/campaign/cp_employee_callbacks.c:201:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/campaign/cp_employee_callbacks.c:203:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_sho... src/client/campaign/cp_employee_callbacks.c:217:2: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:152:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:217:2: Function returns with non-null global selectedEmployee referencing null storage src/client/campaign/cp_employee_callbacks.c:78:21: Storage selectedEmployee may become null src/client/campaign/cp_employee_callbacks.c: (in function E_ChangeName_f) src/client/campaign/cp_employee_callbacks.c:229:41: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_name") src/client/campaign/cp_employee_callbacks.c:230:2: Fresh storage employee not released before return src/client/campaign/cp_employee_callbacks.c:226:76: Fresh storage employee created src/client/campaign/cp_employee_callbacks.c: (in function E_GenerateHiredEmployeesList) src/client/campaign/cp_employee_callbacks.c:240:3: Test expression for conditional not boolean, type qboolean: ccs.displayHeavyEquipmentList src/client/campaign/cp_employee_callbacks.c:244:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeDelete_f) src/client/campaign/cp_employee_callbacks.c:276:33: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_employee_callbacks.c:283:6: Test expression for if not boolean, type qboolean: employee->hired src/client/campaign/cp_employee_callbacks.c:284:8: Operand of ! is non-boolean (qboolean): !E_UnhireEmployee(employee) src/client/campaign/cp_employee_callbacks.c:285:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Could not fire employee") src/client/campaign/cp_employee_callbacks.c:287:11: Fresh storage employee not released before return src/client/campaign/cp_employee_callbacks.c:278:2: Fresh storage employee created src/client/campaign/cp_employee_callbacks.c:290:2: Return value (type qboolean) ignored: E_DeleteEmployee... src/client/campaign/cp_employee_callbacks.c:291:15: New fresh storage (type char *) passed as implicitly temp (not released): va("employee_init %i\n", employeeCategory) src/client/campaign/cp_employee_callbacks.c:292:2: Fresh storage employee not released before return src/client/campaign/cp_employee_callbacks.c:278:2: Fresh storage employee created src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeHire_f) src/client/campaign/cp_employee_callbacks.c:313:10: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:305:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:327:17: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_employee_callbacks.c:334:10: Fresh storage arg not released before return src/client/campaign/cp_employee_callbacks.c:316:2: Fresh storage arg created src/client/campaign/cp_employee_callbacks.c:334:10: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:305:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c:336:6: Test expression for if not boolean, type qboolean: employee->hired src/client/campaign/cp_employee_callbacks.c:337:8: Operand of ! is non-boolean (qboolean): !E_UnhireEmployee(employee) src/client/campaign/cp_employee_callbacks.c:339:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Could not fire employee") src/client/campaign/cp_employee_callbacks.c:343:8: Operand of ! is non-boolean (qboolean): !E_HireEmployee(base, employee) src/client/campaign/cp_employee_callbacks.c:345:21: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Could not hire employee") src/client/campaign/cp_employee_callbacks.c:353:2: Fresh storage arg not released before return src/client/campaign/cp_employee_callbacks.c:316:2: Fresh storage arg created src/client/campaign/cp_employee_callbacks.c:353:2: Fresh storage employee not released before return src/client/campaign/cp_employee_callbacks.c:331:2: Fresh storage employee created src/client/campaign/cp_employee_callbacks.c:353:2: Fresh storage base not released before return src/client/campaign/cp_employee_callbacks.c:305:44: Fresh storage base created src/client/campaign/cp_employee_callbacks.c: (in function E_EmployeeSelect_f) src/client/campaign/cp_employee_callbacks.c:368:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_employee_callbacks.c:372:19: New fresh storage (type employee_t *) passed as implicitly temp (not released): E_GetEmployeeByMenuIndex(num) src/client/campaign/cp_employee_callbacks.c: (in function E_InitCallbacks) src/client/campaign/cp_employee_callbacks.c:382:52: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_employee_callbacks.c:383:56: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_installation.c: (in function INS_GetInstallationByIDX) src/client/campaign/cp_installation.c:64:10: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c:66:9: Immediate address &ccs.installations[] returned as implicitly only: &ccs.installations[instIdx] src/client/campaign/cp_installation.c: (in function INS_GetFoundedInstallationByIDX) src/client/campaign/cp_installation.c:78:6: Operands of && are non-booleans (installation_t *, qboolean): installation && installation->founded src/client/campaign/cp_installation.c:81:9: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c: (in function INS_GetInstallationTemplateFromInstallationID) src/client/campaign/cp_installation.c:94:8: Operand of ! is non-boolean (int): !strcmp(ccs.installationTemplates[idx].id, id) src/client/campaign/cp_installation.c:95:11: Immediate address &ccs.installationTemplates[] returned as implicitly only: &ccs.installationTemplates[idx] src/client/campaign/cp_installation.c:97:9: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c:107:112: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_installation.c: (in function INS_SetUpInstallation) src/client/campaign/cp_installation.c:109:43: Variable newInstallationAlienInterest initialized to type float, expects int: 1.0f src/client/campaign/cp_installation.c:113:2: Assignment of ptrdiff_t to int: installation->idx = ((ptrdiff_t)((installation) - ccs.installations)) src/client/campaign/cp_installation.c:116:2: Implicitly only storage installation->installationTemplate (type installationTemplate_t *) not released before assignment: installation->installationTemplate = installationTemplate src/client/campaign/cp_installation.c:116:2: Implicitly temp storage installationTemplate assigned to implicitly only: installation->installationTemplate = installationTemplate src/client/campaign/cp_installation.c:120:2: Assignment of int to float: installation->alienInterest = newInstallationAlienInterest src/client/campaign/cp_installation.c: (in function INS_GetFirstUnfoundedInstallation) src/client/campaign/cp_installation.c:146:10: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c: (in function INS_DestroyInstallation) src/client/campaign/cp_installation.c:161:7: Operand of ! is non-boolean (qboolean): !installation->founded src/client/campaign/cp_installation.c:167:6: Test expression for if not boolean, type int: installation->ufoCapacity.max src/client/campaign/cp_installation.c:174:58: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installation %s was destroyed.") src/client/campaign/cp_installation.c:174:2: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_installation.c:175:50: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installation destroyed") src/client/campaign/cp_installation.c:175:129: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_installation.c:175:2: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_installation.c:177:66: Variable idx__ initialized to type int, expects size_t: (installation->idx) src/client/campaign/cp_installation.c:177:296: Variable idx__ shadows outer declaration src/client/campaign/cp_installation.c:177:58: Previous definition of idx__: size_t src/client/campaign/cp_installation.c:177:304: Variable idx__ initialized to type int, expects size_t: (installation->idx) src/client/campaign/cp_installation.c:177:392: Variable n__ shadows outer declaration src/client/campaign/cp_installation.c:177:118: Previous definition of n__: size_t src/client/campaign/cp_installation.c:177:400: Variable n__ initialized to type int, expects size_t: --(ccs.numInstallations) src/client/campaign/cp_installation.c:177:823: Assignment of int to size_t: n__ = (ccs.numInstallations) src/client/campaign/cp_installation.c:186:3: Fresh storage ufo not released before scope exit src/client/campaign/cp_installation.c:180:46: Fresh storage ufo created src/client/campaign/cp_installation.c:187:36: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", ccs.numInstallations) src/client/campaign/cp_installation.c:187:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c: (in function INS_GetCurrentSelectedInstallation) src/client/campaign/cp_installation.c:199:7: Test expression for if not boolean, type qboolean: ins->selected src/client/campaign/cp_installation.c:201:3: Fresh storage ins not released before scope exit src/client/campaign/cp_installation.c:198:53: Fresh storage ins created src/client/campaign/cp_installation.c:203:9: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c: (in function INS_SetCurrentSelectedInstallation) src/client/campaign/cp_installation.c:219:9: Operand of ! is non-boolean (qboolean): !ins->founded src/client/campaign/cp_installation.c:223:3: Fresh storage ins not released before scope exit src/client/campaign/cp_installation.c:216:53: Fresh storage ins created src/client/campaign/cp_installation.c:226:28: Null storage passed as non-null param: B_SetCurrentSelectedBase (NULL) src/client/campaign/cp_installation.c:227:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c:228:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c:230:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c:231:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c: (in function INS_FinishInstallation) src/client/campaign/cp_installation.c:245:19: Arrow access from possibly null pointer installation: installation->installationTemplate src/client/campaign/cp_installation.c:247:7: Operand of ! is non-boolean (qboolean): !installation->founded src/client/campaign/cp_installation.c:256:88: Arrow access from possibly null pointer installation->installationTemplate: installation->installationTemplate->radarRange src/client/campaign/cp_installation.c:256:54: Function RADAR_UpdateInstallationRadarCoverage expects arg 2 to be float gets int: installation->installationTemplate->radarRange src/client/campaign/cp_installation.c:256:102: Function RADAR_UpdateInstallationRadarCoverage expects arg 3 to be float gets int: installation->installationTemplate->trackingRange src/client/campaign/cp_installation.c: (in function INS_InstallationList_f) src/client/campaign/cp_installation.c:279:8: Operand of ! is non-boolean (qboolean): !installation->founded src/client/campaign/cp_installation.c:301:3: Fresh storage installation not released before scope exit src/client/campaign/cp_installation.c:277:68: Fresh storage installation created src/client/campaign/cp_installation.c: (in function INS_ConstructionFinished_f) src/client/campaign/cp_installation.c:313:14: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation.c:328:7: Operands of && are non-booleans (installation_t *, qboolean): ins && ins->founded src/client/campaign/cp_installation.c:330:3: Fresh storage ins not released before scope exit src/client/campaign/cp_installation.c:326:3: Fresh storage ins created src/client/campaign/cp_installation.c: (in function INS_GetFirstUFOYard) src/client/campaign/cp_installation.c:352:7: Left operand of && is non-boolean (qboolean): free && installation->ufoCapacity.cur >= installation->ufoCapacity.max src/client/campaign/cp_installation.c:358:9: Null storage returned as non-null: NULL src/client/campaign/cp_installation.c: (in function INS_InitStartup) src/client/campaign/cp_installation.c:375:3: Assignment of float to int: ccs.installationTemplates[idx].radarRange = 0.0f src/client/campaign/cp_installation.c:376:3: Assignment of float to int: ccs.installationTemplates[idx].trackingRange = 0.0f src/client/campaign/cp_installation.c: (in function INS_UpdateInstallationData) src/client/campaign/cp_installation.c:402:7: Right operand of && is non-boolean (int): (installation->installationStatus == INSTALLATION_UNDER_CONSTRUCTION) && installation->buildStart src/client/campaign/cp_installation.c:407:92: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Construction of installation %s finished.") src/client/campaign/cp_installation.c:407:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_installation.c:408:56: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installation finished") src/client/campaign/cp_installation.c:408:134: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_installation.c:408:4: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_installation.c:410:3: Fresh storage installation not released before scope exit src/client/campaign/cp_installation.c:397:75: Fresh storage installation created src/client/campaign/cp_installation.c:424:3: Static installation_vals[9].string initialized to null value: installation_vals[9].string = NULL src/client/campaign/cp_installation.c: (in function INS_ParseInstallations) src/client/campaign/cp_installation.c:446:10: Fresh storage token not released before return src/client/campaign/cp_installation.c:443:2: Fresh storage token created src/client/campaign/cp_installation.c:451:10: Fresh storage token not released before return src/client/campaign/cp_installation.c:443:2: Fresh storage token created src/client/campaign/cp_installation.c:457:10: Fresh storage token not released before return src/client/campaign/cp_installation.c:443:2: Fresh storage token created src/client/campaign/cp_installation.c:461:8: Operand of ! is non-boolean (int): !strcmp(ccs.installationTemplates[i].name, name) src/client/campaign/cp_installation.c:463:11: Fresh storage token not released before return src/client/campaign/cp_installation.c:443:2: Fresh storage token created src/client/campaign/cp_installation.c:470:2: Implicitly only storage installation->id (type char *) not released before assignment: installation->id = _Mem_PoolStrDup((name), (cp_campaignPool), (0), "/home/mattn/dev/ufoai/trunk/src/client/campaign/cp_installation.c", 470) src/client/campaign/cp_installation.c:477:3: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_installation.c:443:2: Fresh storage token created src/client/campaign/cp_installation.c:485:9: Operand of ! is non-boolean (int): !strcmp(token, vp->string) src/client/campaign/cp_installation.c:487:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_installation.c:477:3: Fresh storage token created src/client/campaign/cp_installation.c:489:13: Fresh storage token not released before return src/client/campaign/cp_installation.c:487:5: Fresh storage token created src/client/campaign/cp_installation.c:495:10: Fall through case (no preceding break) src/client/campaign/cp_installation.c:496:6: Return value (type char *) ignored: _Mem_PoolStrDupT... src/client/campaign/cp_installation.c:499:65: Function Com_EParseValueDebug expects arg 4 to be int gets size_t: vp->ofs src/client/campaign/cp_installation.c:508:9: Operand of ! is non-boolean (int): !strcmp(token, "cost") src/client/campaign/cp_installation.c:514:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_installation.c:477:3: Fresh storage token created src/client/campaign/cp_installation.c:516:13: Fresh storage token not released before return src/client/campaign/cp_installation.c:514:5: Fresh storage token created src/client/campaign/cp_installation.c:519:27: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%d c") src/client/campaign/cp_installation.c:519:24: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%d c"), atoi(token)) src/client/campaign/cp_installation.c:519:5: Return value (type cvar_t *) ignored: Cvar_Set(cvarnam... src/client/campaign/cp_installation.c:520:16: Operand of ! is non-boolean (int): !strcmp(token, "buildtime") src/client/campaign/cp_installation.c:524:5: Fresh storage token (type char *) not released before assignment: token = Com_EParse(text, errhead, name) src/client/campaign/cp_installation.c:477:3: Fresh storage token created src/client/campaign/cp_installation.c:526:13: Fresh storage token not released before return src/client/campaign/cp_installation.c:524:5: Fresh storage token created src/client/campaign/cp_installation.c:529:17: Passed storage cvarname not completely defined (*cvarname is undefined): Com_sprintf (cvarname, ...) src/client/campaign/cp_installation.c:529:5: Return value (type qboolean) ignored: Com_sprintf(cvar... src/client/campaign/cp_installation.c:530:57: Function ngettext expects arg 3 to be unsigned long int gets int: atoi(token) src/client/campaign/cp_installation.c:530:27: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("%d day", "%d days", atoi(token)) src/client/campaign/cp_installation.c:530:24: New fresh storage (type char *) passed as implicitly temp (not released): va(ngettext("%d day", "%d days", atoi(token)), atoi(token)) src/client/campaign/cp_installation.c:530:5: Return value (type cvar_t *) ignored: Cvar_Set(cvarnam... src/client/campaign/cp_installation.c:534:2: Fresh storage token not released before return src/client/campaign/cp_installation.c:477:3: Fresh storage token created src/client/campaign/cp_installation.c: (in function INS_SaveXML) src/client/campaign/cp_installation.c:550:8: Operand of ! is non-boolean (qboolean): !inst->founded src/client/campaign/cp_installation.c:565:3: Fresh storage inst not released before scope exit src/client/campaign/cp_installation.c:547:60: Fresh storage inst created src/client/campaign/cp_installation.c:565:3: Fresh storage s not released before scope exit src/client/campaign/cp_installation.c:553:3: Fresh storage s created src/client/campaign/cp_installation.c:565:3: Fresh storage ss not released before scope exit src/client/campaign/cp_installation.c:562:3: Fresh storage ss created src/client/campaign/cp_installation.c:566:15: Fresh storage n not released before return src/client/campaign/cp_installation.c:545:2: Fresh storage n created src/client/campaign/cp_installation.c: (in function INS_LoadXML) src/client/campaign/cp_installation.c:584:51: Left operand of && is non-boolean (mxml_node_t *): s && i < 16 src/client/campaign/cp_installation.c:587:3: Assignment of ptrdiff_t to int: inst->idx = ((ptrdiff_t)((inst) - ccs.installations)) src/client/campaign/cp_installation.c:590:78: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(s, "templateid") src/client/campaign/cp_installation.c:590:3: Implicitly only storage inst->installationTemplate (type installationTemplate_t *) not released before assignment: inst->installationTemplate = INS_GetInstallationTemplateFromInstallationID(m xml_GetString(s, "templateid")) src/client/campaign/cp_installation.c:593:18: Fresh storage inst not released before return src/client/campaign/cp_installation.c:586:54: Fresh storage inst created src/client/campaign/cp_installation.c:593:18: Fresh storage s not released before return src/client/campaign/cp_installation.c:584:14: Fresh storage s created src/client/campaign/cp_installation.c:593:18: Fresh storage n not released before return src/client/campaign/cp_installation.c:578:52: Fresh storage n created src/client/campaign/cp_installation.c:596:33: New fresh storage (type char *) passed as implicitly temp (not released): mxml_GetString(s, "name") src/client/campaign/cp_installation.c:597:3: Return value (type mxml_node_t *) ignored: mxml_GetPos3(s, ... src/client/campaign/cp_installation.c:608:48: Function RADAR_UpdateInstallationRadarCoverage expects arg 2 to be float gets int: inst->installationTemplate->radarRange src/client/campaign/cp_installation.c:608:88: Function RADAR_UpdateInstallationRadarCoverage expects arg 3 to be float gets int: inst->installationTemplate->trackingRange src/client/campaign/cp_installation.c:621:18: Fresh storage inst not released before return src/client/campaign/cp_installation.c:586:54: Fresh storage inst created src/client/campaign/cp_installation.c:621:18: Fresh storage s not released before return src/client/campaign/cp_installation.c:584:14: Fresh storage s created src/client/campaign/cp_installation.c:621:18: Fresh storage n not released before return src/client/campaign/cp_installation.c:578:52: Fresh storage n created src/client/campaign/cp_installation.c:628:3: Return value (type int) ignored: B_LoadBaseSlotsX... src/client/campaign/cp_installation.c:631:3: Fresh storage ss not released before scope exit src/client/campaign/cp_installation.c:618:3: Fresh storage ss created src/client/campaign/cp_installation.c:631:3: Fresh storage inst not released before scope exit src/client/campaign/cp_installation.c:586:54: Fresh storage inst created src/client/campaign/cp_installation.c:584:64: Fresh storage s (type mxml_node_t *) not released before assignment (in post loop increment): s = mxml_GetNextNode(s, n, "installation") src/client/campaign/cp_installation.c:584:14: Fresh storage s created src/client/campaign/cp_installation.c:633:36: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", ccs.numInstallations) src/client/campaign/cp_installation.c:633:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation.c:635:15: Fresh storage n not released before return src/client/campaign/cp_installation.c:578:52: Fresh storage n created src/client/campaign/cp_installation_callbacks.c: (in function INS_SetInstallationTitle) src/client/campaign/cp_installation_callbacks.c:42:88: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_installation_type") src/client/campaign/cp_installation_callbacks.c:49:15: Passed storage insName not completely defined (*insName is undefined): Com_sprintf (insName, ...) src/client/campaign/cp_installation_callbacks.c:49:3: Return value (type qboolean) ignored: Com_sprintf(insN... src/client/campaign/cp_installation_callbacks.c:50:39: Right operand of && is non-boolean (int): j <= ccs.numInstallations && strcmp(insName, ccs.installations[j++].name) src/client/campaign/cp_installation_callbacks.c:53:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation_callbacks.c:54:44: Operand of ! is non-boolean (size_t): !strlen(insTemp->description) src/client/campaign/cp_installation_callbacks.c:57:39: New fresh storage (type char *) passed as implicitly temp (not released): gettext(insTemp->description) src/client/campaign/cp_installation_callbacks.c:58:2: Fresh storage insTemp not released before return src/client/campaign/cp_installation_callbacks.c:42:128: Fresh storage insTemp created src/client/campaign/cp_installation_callbacks.c: (in function INS_SelectInstallation) src/client/campaign/cp_installation_callbacks.c:79:9: Operand of ! is non-boolean (int): !(r_geoscape_overlay->integer & (1 << 2)) src/client/campaign/cp_installation_callbacks.c:90:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation_callbacks.c:92:77: Function ngettext expects arg 3 to be unsigned long int gets int: timetobuild src/client/campaign/cp_installation_callbacks.c:92:47: New fresh storage (type char *) passed as implicitly temp (not released): ngettext("%d day", "%d days", timetobuild) src/client/campaign/cp_installation_callbacks.c:92:44: New fresh storage (type char *) passed as implicitly temp (not released): va(ngettext("%d day", "%d days", timetobuild), timetobuild) src/client/campaign/cp_installation_callbacks.c:92:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation_callbacks.c:95:45: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_installation_callbacks.c:95:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_installation_callbacks.c: (in function INS_BuildInstallation_f) src/client/campaign/cp_installation_callbacks.c:118:71: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation_callbacks.c:126:10: Fresh storage installationTemplate not released before return src/client/campaign/cp_installation_callbacks.c:118:2: Fresh storage installationTemplate created src/client/campaign/cp_installation_callbacks.c:128:10: Operand of ! is non-boolean (qboolean): !installation->founded src/client/campaign/cp_installation_callbacks.c:141:42: Function Cvar_SetValue expects arg 2 to be float gets int: ccs.numInstallations src/client/campaign/cp_installation_callbacks.c:142:41: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_installation_title") src/client/campaign/cp_installation_callbacks.c:145:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A new installation has been built: %s (nation: %s)") src/client/campaign/cp_installation_callbacks.c:145:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_installation_callbacks.c:147:60: New fresh storage (type char *) passed as implicitly temp (not released): gettext("A new installation has been built: %s") src/client/campaign/cp_installation_callbacks.c:147:4: Return value (type qboolean) ignored: Com_sprintf(cp_m... src/client/campaign/cp_installation_callbacks.c:148:54: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installation building") src/client/campaign/cp_installation_callbacks.c:148:132: Null storage passed as non-null param: MSO_CheckAddNewMessage (..., NULL) src/client/campaign/cp_installation_callbacks.c:148:3: Return value (type message_t *) ignored: MSO_CheckAddNewM... src/client/campaign/cp_installation_callbacks.c:150:7: Test expression for if not boolean, type int: r_geoscape_overlay->integer & (1 << 2) src/client/campaign/cp_installation_callbacks.c:155:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough credits to set up a new installation.") src/client/campaign/cp_installation_callbacks.c:156:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_installation_callbacks.c:158:2: Fresh storage nation not released before return src/client/campaign/cp_installation_callbacks.c:143:3: Fresh storage nation created src/client/campaign/cp_installation_callbacks.c:158:2: Fresh storage installationTemplate not released before return src/client/campaign/cp_installation_callbacks.c:118:2: Fresh storage installationTemplate created src/client/campaign/cp_installation_callbacks.c:158:2: Fresh storage installation not released before return src/client/campaign/cp_installation_callbacks.c:124:2: Fresh storage installation created src/client/campaign/cp_installation_callbacks.c: (in function INS_SelectInstallation_f) src/client/campaign/cp_installation_callbacks.c:173:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation_callbacks.c:180:25: Null storage installation passed as non-null param: INS_SelectInstallation (installation) src/client/campaign/cp_installation_callbacks.c:179:18: Storage installation becomes null src/client/campaign/cp_installation_callbacks.c:181:2: Fresh storage installation not released before return src/client/campaign/cp_installation_callbacks.c:176:3: Fresh storage installation created src/client/campaign/cp_installation_callbacks.c: (in function INS_ChangeInstallationName_f) src/client/campaign/cp_installation_callbacks.c:196:40: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_installation_title") src/client/campaign/cp_installation_callbacks.c:197:2: Fresh storage installation not released before return src/client/campaign/cp_installation_callbacks.c:190:70: Fresh storage installation created src/client/campaign/cp_installation_callbacks.c: (in function INS_DestroyInstallation_f) src/client/campaign/cp_installation_callbacks.c:207:29: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation_callbacks.c:210:55: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation_callbacks.c:212:66: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_installation_callbacks.c:221:15: Passed storage command not completely defined (*command is undefined): Com_sprintf (command, ...) src/client/campaign/cp_installation_callbacks.c:221:3: Return value (type qboolean) ignored: Com_sprintf(comm... src/client/campaign/cp_installation_callbacks.c:222:18: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy Installation") src/client/campaign/cp_installation_callbacks.c:222:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Do you really want to destroy this installation?") src/client/campaign/cp_installation_callbacks.c:223:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy") src/client/campaign/cp_installation_callbacks.c:223:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Destroy installation") src/client/campaign/cp_installation_callbacks.c:224:15: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Cancel") src/client/campaign/cp_installation_callbacks.c:224:34: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Forget it") src/client/campaign/cp_installation_callbacks.c:225:4: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_installation_callbacks.c:225:10: Null storage passed as non-null param: MN_PopupButton (..., NULL, ...) src/client/campaign/cp_installation_callbacks.c:225:16: Null storage passed as non-null param: MN_PopupButton (..., NULL) src/client/campaign/cp_installation_callbacks.c:226:10: Fresh storage installation not released before return src/client/campaign/cp_installation_callbacks.c:210:3: Fresh storage installation created src/client/campaign/cp_installation_callbacks.c:229:2: Fresh storage installation not released before return src/client/campaign/cp_installation_callbacks.c:210:3: Fresh storage installation created src/client/campaign/cp_installation_callbacks.c: (in function INS_UpdateInsatallationLimit_f) src/client/campaign/cp_installation_callbacks.c:236:39: Function Cvar_SetValue expects arg 2 to be float gets int: B_GetInstallationLimit() src/client/campaign/cp_installation_callbacks.c: (in function INS_InitCallbacks) src/client/campaign/cp_installation_callbacks.c:242:67: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_installation_callbacks.c:248:41: Function Cvar_SetValue expects arg 2 to be float gets int: ccs.numInstallations src/client/campaign/cp_installation_callbacks.c:249:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation_callbacks.c:250:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ins... src/client/campaign/cp_installation_callbacks.c: (in function INS_ShutdownCallbacks) src/client/campaign/cp_installation_callbacks.c:260:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_installation_callbacks.c:261:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_installation_callbacks.c:262:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_installation_callbacks.c:263:2: Return value (type qboolean) ignored: Cvar_Delete("mn_... src/client/campaign/cp_market.c: (in function BS_CheckAndDoBuyItem) src/client/campaign/cp_market.c:134:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_market.c:141:6: Test expression for if not boolean, type int: price src/client/campaign/cp_market.c:148:6: Test expression for if not boolean, type int: item->size src/client/campaign/cp_market.c:153:12: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough storage space") src/client/campaign/cp_market.c:153:49: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot buy this item.\nNot enough space in storage.\nBuild more storage facilities.") src/client/campaign/cp_market.c:157:2: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_market.c: (in function BS_ProcessCraftItemSale) src/client/campaign/cp_market.c:168:45: Parameter base not used src/client/campaign/cp_market.c: (in function BS_SaveXML) src/client/campaign/cp_market.c:196:4: Fresh storage snode not released before scope exit src/client/campaign/cp_market.c:189:56: Fresh storage snode created src/client/campaign/cp_market.c:199:7: Test expression for if not boolean, type int: ccs.eMarket.numAircraft[i] src/client/campaign/cp_market.c:201:42: New fresh storage (type char *) passed as implicitly temp (not released): Com_DropShipTypeToShortName(i) src/client/campaign/cp_market.c:206:4: Fresh storage snode not released before scope exit src/client/campaign/cp_market.c:200:64: Fresh storage snode created src/client/campaign/cp_market.c:208:15: Fresh storage node not released before return src/client/campaign/cp_market.c:186:2: Fresh storage node created src/client/campaign/cp_market.c: (in function BS_LoadXML) src/client/campaign/cp_market.c:236:4: Fresh storage s not released before scope exit src/client/campaign/cp_market.c:225:48: Fresh storage s created src/client/campaign/cp_market.c:236:4: Fresh storage od not released before scope exit src/client/campaign/cp_market.c:226:46: Fresh storage od created src/client/campaign/cp_market.c:223:92: Possibly null storage snode passed as non-null param (in post loop increment): mxml_GetNextNode (snode, ...) src/client/campaign/cp_market.c:223:75: Storage snode may become null src/client/campaign/cp_market.c:223:67: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNextNode(snode, node, "element") src/client/campaign/cp_market.c:223:14: Fresh storage snode created src/client/campaign/cp_market.c:238:14: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNode(node, "elementaircraft") src/client/campaign/cp_market.c:223:14: Fresh storage snode created src/client/campaign/cp_market.c:246:4: Fresh storage s not released before scope exit src/client/campaign/cp_market.c:240:58: Fresh storage s created src/client/campaign/cp_market.c:238:113: Possibly null storage snode passed as non-null param (in post loop increment): mxml_GetNextNode (snode, ...) src/client/campaign/cp_market.c:238:96: Storage snode may become null src/client/campaign/cp_market.c:238:88: Fresh storage snode (type mxml_node_t *) not released before assignment: snode = mxml_GetNextNode(snode, node, "elementaircraft") src/client/campaign/cp_market.c:238:14: Fresh storage snode created src/client/campaign/cp_market.c:249:15: Fresh storage node not released before return src/client/campaign/cp_market.c:220:2: Fresh storage node created src/client/campaign/cp_market.c:249:15: Fresh storage snode not released before return src/client/campaign/cp_market.c:238:14: Fresh storage snode created src/client/campaign/cp_market.c: (in function BS_InitMarket) src/client/campaign/cp_market.c:265:2: Implicitly only storage campaign->marketDef (type equipDef_t *) not released before assignment: campaign->marketDef = INV_GetEquipmentDefinition ByID(campaign->market) src/client/campaign/cp_market.c:269:2: Implicitly only storage campaign->asymptoticMarketDef (type equipDef_t *) not released before assignment: campaign->asymptoticMarketDef = INV_GetEquipmentDefinitionByID(campaign->asymptoticMarket) src/client/campaign/cp_market.c:277:4: Assignment of double to int: ccs.eMarket.bidItems[i] = floor(ccs.eMarket.askItems[i] * 0.9) src/client/campaign/cp_market.c:280:8: Operand of ! is non-boolean (int): !ccs.curCampaign->marketDef->numItems[i] src/client/campaign/cp_market.c:283:8: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(csi.ods[i].tech) src/client/campaign/cp_market.c:283:67: Arrow access from possibly null pointer campaign->marketDef: campaign->marketDef->numItems src/client/campaign/cp_market.c:265:24: Storage campaign->marketDef may become null src/client/campaign/cp_market.c:287:49: Arrow access from possibly null pointer campaign->marketDef: campaign->marketDef->numItems src/client/campaign/cp_market.c:265:24: Storage campaign->marketDef may become null src/client/campaign/cp_market.c:295:4: Assignment of double to int: ccs.eMarket.bidAircraft[i] = floor(ccs.eMarket.askAircraft[i] * 0.9) src/client/campaign/cp_market.c:298:8: Operand of ! is non-boolean (int): !ccs.curCampaign->marketDef->numAircraft[i] src/client/campaign/cp_market.c:301:8: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(aircraft->tech) src/client/campaign/cp_market.c:301:66: Arrow access from possibly null pointer campaign->marketDef: campaign->marketDef->numAircraft src/client/campaign/cp_market.c:265:24: Storage campaign->marketDef may become null src/client/campaign/cp_market.c:305:52: Arrow access from possibly null pointer campaign->marketDef: campaign->marketDef->numAircraft src/client/campaign/cp_market.c:265:24: Storage campaign->marketDef may become null src/client/campaign/cp_market.c:306:3: Fresh storage name not released before scope exit src/client/campaign/cp_market.c:291:53: Fresh storage name created src/client/campaign/cp_market.c:306:3: Fresh storage aircraft not released before scope exit src/client/campaign/cp_market.c:292:54: Fresh storage aircraft created src/client/campaign/cp_market.c:307:2: Function returns with possibly null storage derivable from global ccs.curCampaign->asymptoticMarketDef src/client/campaign/cp_market.c:269:34: Storage ccs.curCampaign->asymptoticMarketDef may become null src/client/campaign/cp_market.c:259:30: Parameter load not used src/client/campaign/cp_market.c: (in function CL_CampaignRunMarket) src/client/campaign/cp_market.c:324:9: Function assert expects arg 1 to be boolean gets equipDef_t *: campaign->marketDef src/client/campaign/cp_market.c:325:9: Function assert expects arg 1 to be boolean gets equipDef_t *: campaign->asymptoticMarketDef src/client/campaign/cp_market.c:334:27: Possibly null storage tech passed as non-null param: RS_IsResearched_ptr (tech) src/client/campaign/cp_market.c:328:30: Storage tech may become null src/client/campaign/cp_market.c:334:7: Left operand of && is non-boolean (qboolean): RS_IsResearched_ptr(tech) && (campaign->marketDef->numItems[i] != 0 || ccs.date.day > tech->researchedDate.day + RESEARCH_LIMIT_DELAY) src/client/campaign/cp_market.c:338:23: Test expression for conditional not boolean, type int: campaign->asymptoticMarketDef->numItems[i] src/client/campaign/cp_market.c:368:27: Possibly null storage tech passed as non-null param: RS_IsResearched_ptr (tech) src/client/campaign/cp_market.c:362:30: Storage tech may become null src/client/campaign/cp_market.c:368:7: Left operand of && is non-boolean (qboolean): RS_IsResearched_ptr(tech) && (campaign->marketDef->numAircraft[i] != 0 || ccs.date.day > tech->researchedDate.day + RESEARCH_LIMIT_DELAY) src/client/campaign/cp_market.c:372:23: Test expression for conditional not boolean, type int: campaign->asymptoticMarketDef->numAircraft[i] src/client/campaign/cp_market.c:389:3: Fresh storage aircraftID not released before scope exit src/client/campaign/cp_market.c:360:62: Fresh storage aircraftID created src/client/campaign/cp_market.c:389:3: Fresh storage aircraft not released before scope exit src/client/campaign/cp_market.c:361:60: Fresh storage aircraft created src/client/campaign/cp_market.c: (in function BS_IsOnMarket) src/client/campaign/cp_market.c:399:9: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_market.c:400:11: Operands of || are non-boolean (qboolean): item->virtual || item->notOnMarket src/client/campaign/cp_market.c:400:9: Return value type boolean does not match declared type qboolean: !(item->virtual || item->notOnMarket) src/client/campaign/cp_market.c: (in function BS_BuySellAllowed) src/client/campaign/cp_market.c:411:6: Right operand of && is non-boolean (qboolean): base->baseStatus != BASE_UNDER_ATTACK && B_GetBuildingStatus(base, B_STORAGE) src/client/campaign/cp_market_callbacks.c: (in function BS_AircraftIsOnMarket) src/client/campaign/cp_market_callbacks.c:71:9: Return value type boolean does not match declared type qboolean: aircraft->type != AIRCRAFT_UFO && aircraft->price != -1 src/client/campaign/cp_market_callbacks.c: (in function BS_GetObjectDefition) src/client/campaign/cp_market_callbacks.c:84:9: Function assert expects arg 1 to be boolean gets buyListEntry_t *: entry src/client/campaign/cp_market_callbacks.c:86:22: Released storage entry->item reachable from parameter at return point src/client/campaign/cp_market_callbacks.c:86:10: Storage entry->item released src/client/campaign/cp_market_callbacks.c:88:10: Null storage returned as non-null: NULL src/client/campaign/cp_market_callbacks.c:88:15: Released storage entry->item reachable from parameter at return point src/client/campaign/cp_market_callbacks.c:86:10: Storage entry->item released src/client/campaign/cp_market_callbacks.c:90:10: Null storage returned as non-null: NULL src/client/campaign/cp_market_callbacks.c:90:15: Released storage entry->item reachable from parameter at return point src/client/campaign/cp_market_callbacks.c:86:10: Storage entry->item released src/client/campaign/cp_market_callbacks.c:93:2: Path with no return in function declared to return objDef_t * src/client/campaign/cp_market_callbacks.c: (in function BS_MarketAircraftDescription) src/client/campaign/cp_market_callbacks.c:111:9: Function assert expects arg 1 to be boolean gets technology_t *: tech src/client/campaign/cp_market_callbacks.c:113:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext(aircraftTemplate->name) src/client/campaign/cp_market_callbacks.c:113:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_market_callbacks.c:114:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/campaign/cp_market_callbacks.c: (in function BS_GetStorageAmountInBase) src/client/campaign/cp_market_callbacks.c:130:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_market_callbacks.c:134:8: Operand of ! is non-boolean (int): !strcmp(aircraft->id, aircraftID) src/client/campaign/cp_market_callbacks.c: (in function BS_GetMinMaxValueByItemID) src/client/campaign/cp_market_callbacks.c:142:9: Function assert expects arg 1 to be boolean gets base_t *: base src/client/campaign/cp_market_callbacks.c:147:34: Right operand of && is non-boolean (ugv_t *): buyCat == FILTER_UGVITEM && buyList.l[itemNum + buyList.scroll].ugv src/client/campaign/cp_market_callbacks.c:152:42: Right operand of && is non-boolean (aircraft_t *): buyCat == FILTER_AIRCRAFT && buyList.l[itemNum + buyList.scroll].aircraft src/client/campaign/cp_market_callbacks.c:166:3: Fresh storage item not released before scope exit src/client/campaign/cp_market_callbacks.c:160:76: Fresh storage item created src/client/campaign/cp_market_callbacks.c:168:15: Function returns with possibly null storage derivable from global buyList.l[].ugv src/client/campaign/cp_market_callbacks.c: (in function BS_UpdateItem) src/client/campaign/cp_market_callbacks.c:179:47: Passed storage &min not completely defined: BS_GetMinMaxValueByItemID (..., &min, ...) src/client/campaign/cp_market_callbacks.c:179:53: Passed storage &max not completely defined: BS_GetMinMaxValueByItemID (..., &max, ...) src/client/campaign/cp_market_callbacks.c:179:59: Passed storage &value not completely defined: BS_GetMinMaxValueByItemID (..., &value) src/client/campaign/cp_market_callbacks.c:179:6: Test expression for if not boolean, type qboolean: BS_GetMinMaxValueByItemID(base, itemNum, &min, &max, &value) src/client/campaign/cp_market_callbacks.c: (in function BS_MarketScroll_f) src/client/campaign/cp_market_callbacks.c:198:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:191:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:201:24: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:217:15: Operands of || are non-boolean (int): base->storage.numItems[od->idx] || ccs.eMarket.numItems[od->idx] src/client/campaign/cp_market_callbacks.c:217:8: Left operand of && is non-boolean (objDef_t *): od && (base->storage.numItems[od->idx] || ccs.eMarket.numItems[od->idx]) src/client/campaign/cp_market_callbacks.c:217:84: Right operand of && is non-boolean (qboolean): od && (base->storage.numItems[od->idx] || ccs.eMarket.numItems[od->idx]) && INV_ItemMatchesFilter(od, buyCat) src/client/campaign/cp_market_callbacks.c:220:9: Test expression for if not boolean, type qboolean: ccs.autosell[od->idx] src/client/campaign/cp_market_callbacks.c:225:4: Fresh storage od not released before scope exit src/client/campaign/cp_market_callbacks.c:215:61: Fresh storage od created src/client/campaign/cp_market_callbacks.c:227:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:191:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c: (in function BS_MarketClick_f) src/client/campaign/cp_market_callbacks.c:243:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:247:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/campaign/cp_market_callbacks.c:251:10: Function assert expects arg 1 to be boolean gets aircraft_t *: buyList.l[num].aircraft src/client/campaign/cp_market_callbacks.c:256:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_market_callbacks.c:264:4: Only storage buyList.l[].item assigned to unqualified static: currentSelectedMenuEntry = buyList.l[num].item src/client/campaign/cp_market_callbacks.c:271:3: Only storage buyList.l[].item assigned to unqualified static: currentSelectedMenuEntry = buyList.l[num].item src/client/campaign/cp_market_callbacks.c:277:2: Function returns with non-null global currentSelectedMenuEntry referencing null storage src/client/campaign/cp_market_callbacks.c:261:31: Storage currentSelectedMenuEntry becomes null src/client/campaign/cp_market_callbacks.c: (in function BS_MarketInfoClick_f) src/client/campaign/cp_market_callbacks.c:285:50: New fresh storage (type char *) passed as implicitly temp (not released): Cvar_GetString("mn_item") src/client/campaign/cp_market_callbacks.c:289:2: Fresh storage tech not released before return src/client/campaign/cp_market_callbacks.c:285:77: Fresh storage tech created src/client/campaign/cp_market_callbacks.c: (in function BS_AddToList) src/client/campaign/cp_market_callbacks.c:304:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext(name) src/client/campaign/cp_market_callbacks.c:305:35: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", storage) src/client/campaign/cp_market_callbacks.c:306:34: New fresh storage (type char *) passed as implicitly temp (not released): va("%i", market) src/client/campaign/cp_market_callbacks.c:307:37: New fresh storage (type char *) passed as implicitly temp (not released): gettext("%i c") src/client/campaign/cp_market_callbacks.c:307:34: New fresh storage (type char *) passed as implicitly temp (not released): va(gettext("%i c"), price) src/client/campaign/cp_market_callbacks.c: (in function BS_BuyType) src/client/campaign/cp_market_callbacks.c:338:9: Operand of ! is non-boolean (qboolean): !BS_AircraftIsOnMarket(aircraftTemplate) src/client/campaign/cp_market_callbacks.c:341:11: Function assert expects arg 1 to be boolean gets technology_t *: tech src/client/campaign/cp_market_callbacks.c:357:4: Storage ccs.aircraftTemplates is kept in one path, but live in another. src/client/campaign/cp_market_callbacks.c:353:5: Storage ccs.aircraftTemplates becomes kept src/client/campaign/cp_market_callbacks.c:337:99: Variable aircraftTemplate used in inconsistent state (in post loop increment) src/client/campaign/cp_market_callbacks.c:357:4: Storage aircraftTemplate becomes inconsistent (released on one branch) src/client/campaign/cp_market_callbacks.c:364:9: Operand of ! is non-boolean (qboolean): !BS_IsOnMarket(od) src/client/campaign/cp_market_callbacks.c:367:21: Operands of || are non-boolean (int): base->storage.numItems[i] || ccs.eMarket.numItems[i] src/client/campaign/cp_market_callbacks.c:367:8: Left operand of && is non-boolean (struct technology_s *): od->tech && (base->storage.numItems[i] || ccs.eMarket.numItems[i]) src/client/campaign/cp_market_callbacks.c:368:8: Right operand of && is non-boolean (qboolean): od->tech && (base->storage.numItems[i] || ccs.eMarket.numItems[i]) && INV_ItemMatchesFilter(od, FILTER_CRAFTITEM) src/client/campaign/cp_market_callbacks.c:371:10: Test expression for if not boolean, type qboolean: ccs.autosell[i] src/client/campaign/cp_market_callbacks.c:385:4: Storage csi.ods is kept in one path, but live in another. src/client/campaign/cp_market_callbacks.c:379:5: Storage csi.ods becomes kept src/client/campaign/cp_market_callbacks.c:363:57: Variable od used in inconsistent state (in post loop increment) src/client/campaign/cp_market_callbacks.c:385:4: Storage od becomes inconsistent (released on one branch) src/client/campaign/cp_market_callbacks.c:396:11: Function assert expects arg 1 to be boolean gets technology_t *: tech src/client/campaign/cp_market_callbacks.c:397:8: Test expression for if not boolean, type qboolean: RS_IsResearched_ptr(tech) src/client/campaign/cp_market_callbacks.c:417:5: Immediate address &ugvs[] assigned to implicitly only (ugv aliases &ugvs[]): buyList.l[j].ugv = ugv src/client/campaign/cp_market_callbacks.c:423:4: Fresh storage tech not released before scope exit src/client/campaign/cp_market_callbacks.c:395:57: Fresh storage tech created src/client/campaign/cp_market_callbacks.c:426:9: Operand of ! is non-boolean (qboolean): !BS_IsOnMarket(od) src/client/campaign/cp_market_callbacks.c:430:8: Operands of && are non-booleans (struct technology_s *, qboolean): od->tech && INV_ItemMatchesFilter(od, FILTER_UGVITEM) src/client/campaign/cp_market_callbacks.c:430:66: Operands of || are non-boolean (int): base->storage.numItems[i] || ccs.eMarket.numItems[i] src/client/campaign/cp_market_callbacks.c:435:10: Test expression for if not boolean, type qboolean: ccs.autosell[i] src/client/campaign/cp_market_callbacks.c:443:5: Implicitly only storage buyList.l[].item (type objDef_t *) not released before assignment (od aliases csi.ods): buyList.l[j].item = od src/client/campaign/cp_market_callbacks.c:444:5: Implicitly only storage buyList.l[].ugv (type ugv_t *) not released before assignment: buyList.l[j].ugv = NULL src/client/campaign/cp_market_callbacks.c:445:5: Implicitly only storage buyList.l[].aircraft (type aircraft_t *) not released before assignment: buyList.l[j].aircraft = NULL src/client/campaign/cp_market_callbacks.c:449:4: Storage csi.ods is kept in one path, but live in another. src/client/campaign/cp_market_callbacks.c:443:5: Storage csi.ods becomes kept src/client/campaign/cp_market_callbacks.c:425:50: Variable od used in inconsistent state (in post loop increment) src/client/campaign/cp_market_callbacks.c:449:4: Storage od becomes inconsistent (released on one branch) src/client/campaign/cp_market_callbacks.c:457:10: Operand of ! is non-boolean (qboolean): !BS_IsOnMarket(od) src/client/campaign/cp_market_callbacks.c:460:22: Operands of || are non-boolean (int): base->storage.numItems[i] || ccs.eMarket.numItems[i] src/client/campaign/cp_market_callbacks.c:460:9: Left operand of && is non-boolean (struct technology_s *): od->tech && (base->storage.numItems[i] || ccs.eMarket.numItems[i]) src/client/campaign/cp_market_callbacks.c:460:79: Right operand of && is non-boolean (qboolean): od->tech && (base->storage.numItems[i] || ccs.eMarket.numItems[i]) && INV_ItemMatchesFilter(od, buyCat) src/client/campaign/cp_market_callbacks.c:465:11: Test expression for if not boolean, type qboolean: ccs.autosell[i] src/client/campaign/cp_market_callbacks.c:479:5: Storage csi.ods is kept in one path, but live in another. src/client/campaign/cp_market_callbacks.c:473:6: Storage csi.ods becomes kept src/client/campaign/cp_market_callbacks.c:456:58: Variable od used in inconsistent state (in post loop increment) src/client/campaign/cp_market_callbacks.c:479:5: Storage od becomes inconsistent (released on one branch) src/client/campaign/cp_market_callbacks.c:493:14: Passed storage tmpbuf not completely defined (*tmpbuf is undefined): Com_sprintf (tmpbuf, ...) src/client/campaign/cp_market_callbacks.c:493:2: Return value (type qboolean) ignored: Com_sprintf(tmpb... src/client/campaign/cp_market_callbacks.c:495:2: Return value (type cvar_t *) ignored: Cvar_Set("mn_bs_... src/client/campaign/cp_market_callbacks.c:498:6: Test expression for if not boolean, type int: buyList.length src/client/campaign/cp_market_callbacks.c:504:4: Return value (type cvar_t *) ignored: Cvar_Set("mn_air... src/client/campaign/cp_market_callbacks.c:531:23: Null storage passed as non-null param: INV_ItemDescription (NULL) src/client/campaign/cp_market_callbacks.c:534:47: Null storage bsMarketNames passed as non-null param: MN_RegisterLinkedListText (..., bsMarketNames) src/client/campaign/cp_market_callbacks.c:325:18: Storage bsMarketNames becomes null src/client/campaign/cp_market_callbacks.c:535:49: Null storage bsMarketStorage passed as non-null param: MN_RegisterLinkedListText (..., bsMarketStorage) src/client/campaign/cp_market_callbacks.c:326:20: Storage bsMarketStorage becomes null src/client/campaign/cp_market_callbacks.c:536:48: Null storage bsMarketMarket passed as non-null param: MN_RegisterLinkedListText (..., bsMarketMarket) src/client/campaign/cp_market_callbacks.c:327:19: Storage bsMarketMarket becomes null src/client/campaign/cp_market_callbacks.c:537:48: Null storage bsMarketPrices passed as non-null param: MN_RegisterLinkedListText (..., bsMarketPrices) src/client/campaign/cp_market_callbacks.c:328:19: Storage bsMarketPrices becomes null src/client/campaign/cp_market_callbacks.c:538:2: Function returns with possibly null storage derivable from global buyList.l[].ugv src/client/campaign/cp_market_callbacks.c:444:24: Storage buyList.l[].ugv may become null src/client/campaign/cp_market_callbacks.c:538:2: Function returns with null storage derivable from global buyList.l[].aircraft src/client/campaign/cp_market_callbacks.c:445:29: Storage buyList.l[].aircraft becomes null src/client/campaign/cp_market_callbacks.c:538:2: Function returns with non-null global currentSelectedMenuEntry referencing null storage src/client/campaign/cp_market_callbacks.c:261:31: Storage currentSelectedMenuEntry may become null src/client/campaign/cp_market_callbacks.c: (in function BS_BuyType_f) src/client/campaign/cp_market_callbacks.c:548:32: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:560:27: New fresh storage (type char *) passed as implicitly temp (not released): INV_GetFilterType(buyCat) src/client/campaign/cp_market_callbacks.c:560:3: Return value (type cvar_t *) ignored: Cvar_Set("mn_ite... src/client/campaign/cp_market_callbacks.c:569:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:545:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:569:2: Function returns with non-null global currentSelectedMenuEntry referencing null storage src/client/campaign/cp_market_callbacks.c:561:30: Storage currentSelectedMenuEntry becomes null src/client/campaign/cp_market_callbacks.c: (in function BS_BuyAircraft_f) src/client/campaign/cp_market_callbacks.c:583:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:589:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:591:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:595:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_POWER) src/client/campaign/cp_market_callbacks.c:596:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_market_callbacks.c:596:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext("No power supplies in this base.\nHangars are not functional.") src/client/campaign/cp_market_callbacks.c:597:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:600:8: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_HANGAR) src/client/campaign/cp_market_callbacks.c:600:48: Operand of ! is non-boolean (qboolean): !B_GetBuildingStatus(base, B_SMALL_HANGAR) src/client/campaign/cp_market_callbacks.c:601:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_market_callbacks.c:601:30: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Build a hangar first.") src/client/campaign/cp_market_callbacks.c:602:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:610:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:614:13: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_market_callbacks.c:614:32: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot buy this aircraft.\nNot enough space in hangars.\n") src/client/campaign/cp_market_callbacks.c:615:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:619:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Notice") src/client/campaign/cp_market_callbacks.c:619:33: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot buy this aircraft.\nNot enough credits.\n") src/client/campaign/cp_market_callbacks.c:620:12: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:625:5: Return value (type aircraft_t *) ignored: AIR_NewAircraft(... src/client/campaign/cp_market_callbacks.c:626:23: New fresh storage (type char *) passed as implicitly temp (not released): va("buy_type %s", INV_GetFilterType(FILTER_AIRCRAFT)) src/client/campaign/cp_market_callbacks.c:630:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:579:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c: (in function BS_SellAircraft_f) src/client/campaign/cp_market_callbacks.c:646:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:642:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:652:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:654:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:642:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:660:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:642:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:663:9: Operand of ! is non-boolean (int): !strcmp(aircraft->id, aircraftTemplate->id) src/client/campaign/cp_market_callbacks.c:664:9: Test expression for if not boolean, type int: aircraft->teamSize src/client/campaign/cp_market_callbacks.c:668:10: Operand of ! is non-boolean (qboolean): !AIR_IsAircraftInBase(aircraft) src/client/campaign/cp_market_callbacks.c:679:7: Test expression for if not boolean, type qboolean: found src/client/campaign/cp_market_callbacks.c:706:8: Test expression for if not boolean, type qboolean: teamNote src/client/campaign/cp_market_callbacks.c:707:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_market_callbacks.c:707:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You can't sell an aircraft if it still has a team assigned") src/client/campaign/cp_market_callbacks.c:708:13: Test expression for if not boolean, type qboolean: aircraftOutNote src/client/campaign/cp_market_callbacks.c:709:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Note") src/client/campaign/cp_market_callbacks.c:709:31: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You can't sell an aircraft that is not in base") src/client/campaign/cp_market_callbacks.c:714:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:642:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c: (in function BS_BuyItem_f) src/client/campaign/cp_market_callbacks.c:729:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:725:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:738:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:725:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:741:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:743:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:725:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:747:34: Right operand of && is non-boolean (ugv_t *): buyCat == FILTER_UGVITEM && buyList.l[num + buyList.scroll].ugv src/client/campaign/cp_market_callbacks.c:761:39: Arrow access from possibly null pointer ugvWeapon: ugvWeapon->idx src/client/campaign/cp_market_callbacks.c:756:32: Storage ugvWeapon may become null src/client/campaign/cp_market_callbacks.c:761:9: Operand of ! is non-boolean (int): !ccs.eMarket.numItems[ugvWeapon->idx] src/client/campaign/cp_market_callbacks.c:766:14: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Not enough storage space") src/client/campaign/cp_market_callbacks.c:766:51: New fresh storage (type char *) passed as implicitly temp (not released): gettext("You cannot buy this item.\nNot enough space in storage.\nBuild more storage facilities.") src/client/campaign/cp_market_callbacks.c:770:8: Operands of && are non-boolean (qboolean): ugvWeaponBuyable && E_HireRobot(base, ugv) src/client/campaign/cp_market_callbacks.c:772:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_market_callbacks.c:781:4: Fresh storage ugvWeapon not released before scope exit src/client/campaign/cp_market_callbacks.c:756:55: Fresh storage ugvWeapon created src/client/campaign/cp_market_callbacks.c:785:10: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_market_callbacks.c:789:3: Return value (type qboolean) ignored: BS_CheckAndDoBuy... src/client/campaign/cp_market_callbacks.c:793:2: Clauses exit with currentSelectedMenuEntry referencing fresh storage in true branch, unqualified static storage in false branch src/client/campaign/cp_market_callbacks.c:793:3: Fresh storage currentSelectedMenuEntry becomes fresh (through alias ) src/client/campaign/cp_market_callbacks.c:794:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:725:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:794:2: Function returns with possibly null storage derivable from global buyList.l[].ugv src/client/campaign/cp_market_callbacks.c: (in function BS_SellItem_f) src/client/campaign/cp_market_callbacks.c:809:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:805:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:818:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:805:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:821:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:823:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:805:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:826:34: Right operand of && is non-boolean (ugv_t *): buyCat == FILTER_UGVITEM && buyList.l[num + buyList.scroll].ugv src/client/campaign/cp_market_callbacks.c:840:8: Operand of ! is non-boolean (qboolean): !E_UnhireEmployee(employee) src/client/campaign/cp_market_callbacks.c:844:40: Arrow access from possibly null pointer ugvWeapon: ugvWeapon->idx src/client/campaign/cp_market_callbacks.c:835:15: Storage ugvWeapon may become null src/client/campaign/cp_market_callbacks.c:844:8: Test expression for if not boolean, type int: base->storage.numItems[ugvWeapon->idx] src/client/campaign/cp_market_callbacks.c:846:5: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_market_callbacks.c:852:3: Fresh storage employee not released before scope exit src/client/campaign/cp_market_callbacks.c:839:3: Fresh storage employee created src/client/campaign/cp_market_callbacks.c:852:3: Fresh storage ugvWeapon not released before scope exit src/client/campaign/cp_market_callbacks.c:835:3: Fresh storage ugvWeapon created src/client/campaign/cp_market_callbacks.c:857:10: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_market_callbacks.c:862:7: Test expression for if not boolean, type int: numItems src/client/campaign/cp_market_callbacks.c:864:4: Return value (type qboolean) ignored: B_UpdateStorageA... src/client/campaign/cp_market_callbacks.c:870:2: Clauses exit with currentSelectedMenuEntry referencing fresh storage in true branch, unqualified static storage in false branch src/client/campaign/cp_market_callbacks.c:870:3: Fresh storage currentSelectedMenuEntry becomes fresh (through alias ) src/client/campaign/cp_market_callbacks.c:871:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:805:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:871:2: Function returns with possibly null storage derivable from global buyList.l[].ugv src/client/campaign/cp_market_callbacks.c: (in function BS_BuySellItem_f) src/client/campaign/cp_market_callbacks.c:883:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:884:15: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(2) src/client/campaign/cp_market_callbacks.c:884:2: Assignment of double to float: value = atof(Cmd_Argv(2)) src/client/campaign/cp_market_callbacks.c:885:6: Dangerous equality comparison involving float types: value == 0 src/client/campaign/cp_market_callbacks.c: (in function BS_Autosell_f) src/client/campaign/cp_market_callbacks.c:910:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:902:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:913:13: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_market_callbacks.c:916:10: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:902:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:919:9: Function assert expects arg 1 to be boolean gets objDef_t *: item src/client/campaign/cp_market_callbacks.c:921:6: Test expression for if not boolean, type qboolean: ccs.autosell[item->idx] src/client/campaign/cp_market_callbacks.c:926:8: Operand of ! is non-boolean (qboolean): !RS_IsResearched_ptr(item->tech) src/client/campaign/cp_market_callbacks.c:927:11: Fresh storage item not released before return src/client/campaign/cp_market_callbacks.c:918:2: Fresh storage item created src/client/campaign/cp_market_callbacks.c:927:11: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:902:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c:934:2: Fresh storage item not released before return src/client/campaign/cp_market_callbacks.c:918:2: Fresh storage item created src/client/campaign/cp_market_callbacks.c:934:2: Fresh storage base not released before return src/client/campaign/cp_market_callbacks.c:902:44: Fresh storage base created src/client/campaign/cp_market_callbacks.c: (in function BS_InitCallbacks) src/client/campaign/cp_market_callbacks.c:940:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_market_callbacks.c:943:49: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_market_callbacks.c:944:41: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_market_callbacks.c:945:43: Null storage passed as non-null param: Cmd_AddCommand (..., NULL) src/client/campaign/cp_market_callbacks.c:62:18: File static variable MAX_BS_FACTORS declared but not used src/client/campaign/cp_map.c:71:27: Incompatible types for * (boolean, int): (((sizeof((geoscapeImageNames)) / sizeof((*(geoscapeImageNames)))) == GEOSCAPE_IMAGE_MAX) != 0) * 2 src/client/campaign/cp_map.c:116:80: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c:117:76: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c:118:74: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c:130:40: Initial value of smoothFinalGlobeAngle[0] is type int, expects vec_t: 0 src/client/campaign/cp_map.c:130:44: Initial value of smoothFinalGlobeAngle[1] is type int, expects vec_t: -90 src/client/campaign/cp_map.c:130:49: Initial value of smoothFinalGlobeAngle[2] is type int, expects vec_t: 0 src/client/campaign/cp_map.c:131:46: Initial value of smoothFinal2DGeoscapeCente r[0] is type double, expects vec_t: 0.5 src/client/campaign/cp_map.c:131:51: Initial value of smoothFinal2DGeoscapeCente r[1] is type double, expects vec_t: 0.5 src/client/campaign/cp_map.c: (in function MAP_MultiSelectListAddItem) src/client/campaign/cp_map.c:167:34: New fresh storage (type char *) passed as implicitly temp (not released): va("%s\t%s\n", itemDescription, itemName) src/client/campaign/cp_map.c: (in function MAP_MultiSelectExecuteAction_f) src/client/campaign/cp_map.c:189:19: New fresh storage (type char *) passed as implicitly temp (not released): Cmd_Argv(1) src/client/campaign/cp_map.c:203:16: New fresh storage (type base_t *) passed as implicitly temp (not released): B_GetFoundedBaseByIDX(id) src/client/campaign/cp_map.c:209:26: New fresh storage (type installation_t *) passed as implicitly temp (not released): INS_GetFoundedInstallationByIDX(id) src/client/campaign/cp_map.c:212:40: Right operand of && is non-boolean (mission_t *): ccs.mapAction == MA_INTERCEPT && ccs.selectedMission src/client/campaign/cp_map.c:216:21: New fresh storage (type mission_t *) passed as implicitly temp (not released): MAP_GetMissionByIDX(id) src/client/campaign/cp_map.c:217:7: Test expression for if not boolean, type qboolean: multiSelection src/client/campaign/cp_map.c:219:36: Null storage ccs.selectedMission passed as non-null param: CL_DisplayPopupInterceptMission (ccs.selectedMission) src/client/campaign/cp_map.c:236:8: Test expression for if not boolean, type qboolean: multiSelection src/client/campaign/cp_map.c:253:8: Test expression for if not boolean, type qboolean: multiSelection src/client/campaign/cp_map.c:264:2: Fresh storage aircraft not released before return src/client/campaign/cp_map.c:224:3: Fresh storage aircraft created src/client/campaign/cp_map.c: (in function MAP_MapClick) src/client/campaign/cp_map.c:277:6: Test expression for if not boolean, type int: cl_3dmap->integer src/client/campaign/cp_map.c:278:33: Passed storage pos not completely defined (*pos is undefined): MAP3D_ScreenToMap (..., pos) src/client/campaign/cp_map.c:280:31: Passed storage pos not completely defined (*pos is undefined): MAP_ScreenToMap (..., pos) src/client/campaign/cp_map.c:293:36: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_map.c:293:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_map.c:305:44: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_map.c:305:5: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_map.c:311:40: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_map.c:311:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_map.c:326:50: Operand of ! is non-boolean (qboolean): !tempMission->onGeoscape src/client/campaign/cp_map.c:328:7: Operands of && are non-booleans (vec2_t, qboolean): tempMission->pos && MAP_IsMapPositionSelected(node, tempMission->pos, x, y) src/client/campaign/cp_map.c:330:5: New fresh storage (type char *) passed as implicitly temp (not released): CP_MissionToTypeString(tempMission) src/client/campaign/cp_map.c:330:42: New fresh storage (type char *) passed as implicitly temp (not released): gettext(tempMission->location) src/client/campaign/cp_map.c:338:7: Test expression for if not boolean, type qboolean: MAP_IsMapPositionSelected(node, ccs.bases[i].pos, x, y) src/client/campaign/cp_map.c:339:57: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Base") src/client/campaign/cp_map.c:344:8: Left operand of && is non-boolean (qboolean): AIR_IsAircraftOnGeoscape(aircraft) && aircraft->fuel > 0 src/client/campaign/cp_map.c:344:68: Right operand of && is non-boolean (qboolean): AIR_IsAircraftOnGeoscape(aircraft) && aircraft->fuel > 0 && MAP_IsMapPositionSelected(node, aircraft->pos, x, y) src/client/campaign/cp_map.c:345:74: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Aircraft") src/client/campaign/cp_map.c:346:3: Fresh storage base not released before scope exit src/client/campaign/cp_map.c:335:49: Fresh storage base created src/client/campaign/cp_map.c:353:7: Test expression for if not boolean, type qboolean: MAP_IsMapPositionSelected(node, ccs.installations[i].pos, x, y) src/client/campaign/cp_map.c:354:65: New fresh storage (type char *) passed as implicitly temp (not released): gettext("Installation") src/client/campaign/cp_map.c:355:3: Fresh storage installation not released before scope exit src/client/campaign/cp_map.c:350:75: Fresh storage installation created src/client/campaign/cp_map.c:359:7: Operands of || are non-booleans (qboolean, int): UFO_IsUFOSeenOnGeoscape(aircraft) || Cvar_GetInteger("debug_showufos") src/client/campaign/cp_map.c:364:8: Operands of && are non-boolean (qboolean): AIR_IsAircraftOnGeoscape(aircraft) && MAP_IsMapPositionSelected(node, aircraft->pos, x, y) src/client/campaign/cp_map.c:365:75: New fresh storage (type char *) passed as implicitly temp (not released): gettext("UFO Sighting") src/client/campaign/cp_map.c:365:100: New fresh storage (type char *) passed as implicitly temp (not released): UFO_AircraftToIDOnGeoscape(aircraft) src/client/campaign/cp_map.c:374:42: Null storage passed as non-null param: MN_PushWindow (..., NULL) src/client/campaign/cp_map.c:374:3: Return value (type struct menuNode_s *) ignored: MN_PushWindow("p... src/client/campaign/cp_map.c:379:12: Operands of && are non-boolean (qboolean): AIR_IsAircraftOnGeoscape(ccs.selectedAircraft) && AIR_AircraftHasEnoughFuel( ccs.selectedAircraft, pos) src/client/campaign/cp_map.c:386:2: Function returns with null storage derivable from global ccs.selectedAircraft src/client/campaign/cp_map.c:402:81: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c: (in function MAP_IsMapPositionSelected) src/client/campaign/cp_map.c:406:36: Passed storage &msx not completely defined: MAP_AllMapToScreen (..., &msx, ...) src/client/campaign/cp_map.c:406:42: Passed storage &msy not completely defined: MAP_AllMapToScreen (..., &msy, ...) src/client/campaign/cp_map.c:406:48: Null storage passed as non-null param: MAP_AllMapToScreen (..., NULL) src/client/campaign/cp_map.c:406:6: Test expression for if not boolean, type qboolean: MAP_AllMapToScreen(node, pos, &msx, &msy, NULL) src/client/campaign/cp_map.c:435:73: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c: (in function MAP_3DMapToScreen) src/client/campaign/cp_map.c:441:18: Passed storage v not completely defined (*v is undefined): PolarToVec (..., v) src/client/campaign/cp_map.c:445:3: Assignment of int to vec_t: rotationAxis[0] = (0) src/client/campaign/cp_map.c:445:25: Assignment of int to vec_t: rotationAxis[1] = (0) src/client/campaign/cp_map.c:445:47: Assignment of int to vec_t: rotationAxis[2] = (1) src/client/campaign/cp_map.c:446:26: Passed storage v1 not completely defined (*v1 is undefined): RotatePointAroundVector (v1, ...) src/client/campaign/cp_map.c:448:3: Assignment of int to vec_t: rotationAxis[0] = (0) src/client/campaign/cp_map.c:448:25: Assignment of int to vec_t: rotationAxis[1] = (1) src/client/campaign/cp_map.c:448:47: Assignment of int to vec_t: rotationAxis[2] = (0) src/client/campaign/cp_map.c:467:6: Operands of < have incompatible types (int, vec_t): *x < ccs.mapPos[0] src/client/campaign/cp_map.c:467:28: Operands of < have incompatible types (int, vec_t): *y < ccs.mapPos[1] src/client/campaign/cp_map.c:467:50: Operands of > have incompatible types (int, float): *x > ccs.mapPos[0] + ccs.mapSize[0] src/client/campaign/cp_map.c:467:89: Operands of > have incompatible types (int, float): *y > ccs.mapPos[1] + ccs.mapSize[1] src/client/campaign/cp_map.c:435:54: Parameter node not used src/client/campaign/cp_map.c:483:64: Function parameter pos declared as manifest array (size constant is meaningless) src/client/campaign/cp_map.c: (in function MAP_MapToScreen) src/client/campaign/cp_map.c:488:2: Assignment of double to float: sx = pos[0] / 360 + ccs.center[0] - 0.5 src/client/campaign/cp_map.c:496:2: Assignment of double to int: *x = ccs.mapPos[0] + 0.5 * ccs.mapSize[0] - sx * ccs.mapSize[0] * ccs.zoom src/client/campaign/cp_map.c:497:2: Assignment of double to int: *y = ccs.mapPos[1] + 0.5 * ccs.mapSize[1] - (pos[1] / 180 + ccs.center[1] - 0.5) * ccs.mapSize[1] * ccs.zoom src/client/campaign/cp_map.c:500:6: Operands of < have incompatible types (int, vec_t): *x < ccs.mapPos[0] src/client/campaign/cp_map.c:500:28: Operands of < have incompatible types (int, vec_t): *y < ccs.mapPos[1] src/client/campaign/cp_map.c:501:3: Operands of > have incompatible types (int, float): *x > ccs.mapPos[0] + ccs.mapSize[0] src/client/campaign/cp_map.c:501:42: Operands of > have incompatible types (int, float): *y > ccs.mapPos[1] + ccs.mapSize[1]