* solist.h (struct target_so_ops): New member clear_so.
[deliverable/binutils-gdb.git] / gdb / opencl-lang.c
index 819a83202aa83aef1596a795162c4d13cd9f02f3..d7e66c465856f167c14f2591d9ad5c2887dd5160 100644 (file)
@@ -1035,15 +1035,10 @@ Cannot perform conditional operation on vectors with different sizes"));
          }
        else
          {
-           if (noside == EVAL_AVOID_SIDE_EFFECTS)
-             return
-                 value_zero (lookup_struct_elt_type
-                             (value_type (arg1),&exp->elts[pc + 2].string, 0),
-                             lval_memory);
-           else
-             return value_struct_elt (&arg1, NULL,
-                                      &exp->elts[pc + 2].string, NULL,
-                                      "structure");
+           /* Also handle EVAL_AVOID_SIDE_EFFECTS.  */
+           return value_struct_elt (&arg1, NULL,
+                                    &exp->elts[pc + 2].string, NULL,
+                                    "structure");
          }
       }
     default:
This page took 0.025518 seconds and 4 git commands to generate.