summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/fieldvalidator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/fieldvalidator.cpp')
-rw-r--r--kexi/kexidb/fieldvalidator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/fieldvalidator.cpp b/kexi/kexidb/fieldvalidator.cpp
index 57f8bd8d..3b08301c 100644
--- a/kexi/kexidb/fieldvalidator.cpp
+++ b/kexi/kexidb/fieldvalidator.cpp
@@ -36,7 +36,7 @@ FieldValidator::FieldValidator( const Field &field, TQWidget * parent, const cha
if (field.isIntegerType()) {
TQValidator *validator = 0;
const bool u = field.isUnsigned();
- int bottom, top;
+ int bottom = 0, top = 0;
if (t==Field::Byte) {
bottom = u ? 0 : -0x80;
top = u ? 0xff : 0x7f;