[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeutils/okteta/kasten/controllers/view/libbytearrayfilter/filter/template
From: Friedrich W. H. Kossebau <kossebau () kde ! org>
Date: 2009-09-30 21:32:42
Message-ID: 1254346362.932172.17322.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029840 by kossebau:
changed: add local success variable to return on end of filter() method
M +3 -1 template_bytearrayfilter.cpp
--- trunk/KDE/kdeutils/okteta/kasten/controllers/view/libbytearrayfilter/filter/template/template_bytearrayfilter.cpp \
#1029839:1029840 @@ -32,6 +32,8 @@
bool Template_ByteArrayFilter::filter( Okteta::Byte* result,
Okteta::AbstractByteArrayModel* model, const \
Okteta::AddressRange& range ) const {
+ bool success = true;
+
//// ADAPT(start)
//// modify the following code to write the filtered bytes into the array pointed to \
by result //// The array is as large as range and not initialized to a value.
@@ -56,7 +58,7 @@
}
//// ADAPT(end)
- return true;
+ return success;
}
Template_ByteArrayFilter::~Template_ByteArrayFilter() {}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic