Overview
Artifact ID: | 03dea3bd30921c3f8f62c51ed42d788dff324d84 |
---|---|
Ticket: | 04e26c02c04596869907b5240ffa0c97457df352
Warning |
User & Date: | gahr 2017-04-27 10:35:36 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Warning in tclExecute.c. A branch is never taken - TclCompareTwoNumbers states as prerequisite that the arguments are known to be of numeric and not NaN - but the compiler doesn't know it. generic/tclExecute.c:9244:12: warning: variable 'type1' is used uninitialized whenever '?:' condition is true [-Wsometimes-uninitialized] (void) GetNumberFromObj(NULL, valuePtr, &ptr1, &type1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generic/tclExecute.c:513:5: note: expanded from macro 'GetNumberFromObj' ((((objPtr)->typePtr == NULL) && ((objPtr)->bytes == NULL)) || \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generic/tclExecute.c:9247:13: note: uninitialized use occurs here switch (type1) { ^~~~~ generic/tclExecute.c:9244:12: note: remove the '?:' if its condition is always false (void) GetNumberFromObj(NULL, valuePtr, &ptr1, &type1); ^ generic/tclExecute.c:513:5: note: expanded from macro 'GetNumberFromObj' ((((objPtr)->typePtr == NULL) && ((objPtr)->bytes == NULL)) || \ ^
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "gahr"
- priority changed to: "5 Medium"
- private_contact changed to: "438e59f1f1c891b29d2528ed82d1e629cecc6336"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "gahr"
- subsystem changed to: "None"
- title changed to: "Warning"
- type changed to: "Patch"