Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
c28e1657
Commit
c28e1657
authored
9 years ago
by
Anthony Mallet
Browse files
Options
Downloads
Patches
Plain Diff
[wip/genom3-ros] Remove an unused variable in the generated code
Bump PKGREVISION
parent
e7fba872
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
genom3-ros/Makefile
+1
-1
1 addition, 1 deletion
genom3-ros/Makefile
genom3-ros/distinfo
+1
-0
1 addition, 0 deletions
genom3-ros/distinfo
genom3-ros/patches/patch-ab
+21
-0
21 additions, 0 deletions
genom3-ros/patches/patch-ab
with
23 additions
and
1 deletion
genom3-ros/Makefile
+
1
−
1
View file @
c28e1657
...
...
@@ -2,7 +2,7 @@
# Created: Anthony Mallet on Fri, 19 Oct 2012
#
PKGREVISION
=
1
PKGREVISION
=
2
DISTNAME
=
genom3-ros-1.10
CATEGORIES
=
architecture
MASTER_SITES
=
${
MASTER_SITE_OPENROBOTS:
=
genom3-ros/
}
...
...
This diff is collapsed.
Click to expand it.
genom3-ros/distinfo
+
1
−
0
View file @
c28e1657
...
...
@@ -2,3 +2,4 @@ SHA1 (genom3-ros-1.10.tar.gz) = 413014351c46f50d57b4c859d4ff0c3300d1c404
RMD160 (genom3-ros-1.10.tar.gz) = 0cc9eaf2bfb449d9be9e7657a202af65160c857d
Size (genom3-ros-1.10.tar.gz) = 390003 bytes
SHA1 (patch-aa) = 85cae81cae4dcda2f42c971561498522a3dba456
SHA1 (patch-ab) = 5caa9bc9ae50408905289c3317fe99c1a7e1cd84
This diff is collapsed.
Click to expand it.
genom3-ros/patches/patch-ab
0 → 100644
+
21
−
0
View file @
c28e1657
diff --git common/serialize.h common/serialize.h
index 3fb95f7..8ab3a6a 100644
--- common/serialize.h
+++ common/serialize.h
@@ -143,7 +143,7 @@
namespace ros {
<' }'>
<' }'>
<' sequence {'>
- uint32_t i, l;
+ uint32_t l;
stream.next(l);
<' if {[catch {$type length} l]} {'>
if (genom_sequence_reserve(&a, l)) assert(!"out of memory");
@@ -156,6 +156,7 @@
namespace ros {
memcpy(a._buffer, stream.advance(a._length * sizeof(*a._buffer)),
a._length * sizeof(*a._buffer));
<' } else {'>
+ uint32_t i;
<"[[$type type] declarator x]">;
for(i = 0; i < a._length; i++) stream.next(a._buffer[i]);
for(; i < l; i++) stream.next(x);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment