Cleanup: Silence some compiler warnings
This commit is contained in:
parent
e12650bdd1
commit
fb9315ce2a
|
@ -175,10 +175,10 @@ EnumPropertyItem prop_driver_create_mapping_types[] = {
|
|||
|
||||
/* Helper for ANIM_add_driver_with_target - Adds the actual driver */
|
||||
static int add_driver_with_target(
|
||||
ReportList *reports,
|
||||
ReportList *UNUSED(reports),
|
||||
ID *dst_id, const char dst_path[], int dst_index,
|
||||
ID *src_id, const char src_path[], int src_index,
|
||||
PointerRNA *dst_ptr, PropertyRNA *dst_prop,
|
||||
PointerRNA *UNUSED(dst_ptr), PropertyRNA *dst_prop,
|
||||
PointerRNA *src_ptr, PropertyRNA *src_prop,
|
||||
short flag, int driver_type)
|
||||
{
|
||||
|
|
|
@ -1160,8 +1160,6 @@ static void driverdropper_cancel(bContext *C, wmOperator *op)
|
|||
/* main modal status check */
|
||||
static int driverdropper_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
{
|
||||
DriverDropper *ddr = (DriverDropper *)op->customdata;
|
||||
|
||||
/* handle modal keymap */
|
||||
if (event->type == EVT_MODAL_MAP) {
|
||||
switch (event->val) {
|
||||
|
|
|
@ -258,7 +258,7 @@ bool GPU_legacy_support(void)
|
|||
glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &profile);
|
||||
|
||||
if (G.debug & G_DEBUG_GPU) {
|
||||
printf("GL_CONTEXT_PROFILE_MASK = %#x (%s profile)\n", profile,
|
||||
printf("GL_CONTEXT_PROFILE_MASK = %#x (%s profile)\n", (unsigned int)profile,
|
||||
profile & GL_CONTEXT_COMPATIBILITY_PROFILE_BIT ? "compatibility" :
|
||||
profile & GL_CONTEXT_CORE_PROFILE_BIT ? "core" : "unknown");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue