Skip to content

Commit c649bad

Browse files
committed
Another round of attempting to fix VC++ errors...
1 parent a9eb1ec commit c649bad

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/lib_json/json_value.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ Value::asInt() const
726726
break;
727727
}
728728
JSON_FAIL_MESSAGE("Value is not convertible to Int.");
729-
return 0;
730729
}
731730

732731

@@ -752,7 +751,6 @@ Value::asUInt() const
752751
break;
753752
}
754753
JSON_FAIL_MESSAGE("Value is not convertible to UInt.");
755-
return 0;
756754
}
757755

758756

@@ -779,7 +777,6 @@ Value::asInt64() const
779777
break;
780778
}
781779
JSON_FAIL_MESSAGE("Value is not convertible to Int64.");
782-
return 0;
783780
}
784781

785782

@@ -804,7 +801,6 @@ Value::asUInt64() const
804801
break;
805802
}
806803
JSON_FAIL_MESSAGE("Value is not convertible to UInt64.");
807-
return 0;
808804
}
809805
# endif // if defined(JSON_HAS_INT64)
810806

@@ -854,7 +850,6 @@ Value::asDouble() const
854850
break;
855851
}
856852
JSON_FAIL_MESSAGE("Value is not convertible to double.");
857-
return 0;
858853
}
859854

860855
float
@@ -880,7 +875,6 @@ Value::asFloat() const
880875
break;
881876
}
882877
JSON_FAIL_MESSAGE("Value is not convertible to float.");
883-
return 0.0f;
884878
}
885879

886880
bool
@@ -902,7 +896,6 @@ Value::asBool() const
902896
break;
903897
}
904898
JSON_FAIL_MESSAGE("Value is not convertible to bool.");
905-
return false;
906899
}
907900

908901

0 commit comments

Comments
 (0)