Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
e0670403
Commit
e0670403
authored
Jul 21, 2016
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed unused parameter warning.
Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd
parent
370e101a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test.cpp
tests/test.cpp
+2
-2
No files found.
tests/test.cpp
View file @
e0670403
...
...
@@ -311,7 +311,7 @@ void MutateFlatBuffersTest(uint8_t *flatbuf, std::size_t length) {
}
// Unpack a FlatBuffer into objects.
void
ObjectFlatBuffersTest
(
uint8_t
*
flatbuf
,
std
::
size_t
length
)
{
void
ObjectFlatBuffersTest
(
uint8_t
*
flatbuf
)
{
// Turn a buffer into C++ objects.
auto
monster1
=
GetMonster
(
flatbuf
)
->
UnPack
();
...
...
@@ -1069,7 +1069,7 @@ int main(int /*argc*/, const char * /*argv*/[]) {
MutateFlatBuffersTest
(
flatbuf
.
get
(),
rawbuf
.
length
());
ObjectFlatBuffersTest
(
flatbuf
.
get
()
,
rawbuf
.
length
()
);
ObjectFlatBuffersTest
(
flatbuf
.
get
());
#ifndef FLATBUFFERS_NO_FILE_TESTS
ParseAndGenerateTextTest
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment